diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:40:13 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:40:13 +0000 |
commit | 015349f9ad5c08d726d9d455390a5746a97020e5 (patch) | |
tree | c9c9ec52e2b5b7879a45d27810e0436a48b2c47a | |
parent | c6a623f85184b4e9ed6f0483b95ce530c6397cdb (diff) |
automatic import of python-cao-langopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-cao-lang.spec | 161 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 163 insertions, 0 deletions
@@ -0,0 +1 @@ +/cao-lang-0.1.93.tar.gz diff --git a/python-cao-lang.spec b/python-cao-lang.spec new file mode 100644 index 0000000..682b800 --- /dev/null +++ b/python-cao-lang.spec @@ -0,0 +1,161 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cao-lang +Version: 0.1.93 +Release: 1 +Summary: The node based 'language' that governs the actors of the game Cao-Lo +License: MIT License +URL: https://github.com/caolo-game/cao-lang +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/58/40f22ba6269aa692e724e2b3f9bdbdc18b196b65446fd7d611767aea75a2/cao-lang-0.1.93.tar.gz + + +%description +# Cao-Lang + + + + + + + +The node based "language" that governs the actors in the game CaoLo + +[Core documentation](https://docs.rs/cao_lang/) + +## Project layout + +``` + |+ cao-lang/ # core library + |+ c/ # C interface + |+ py/ # Python interface + |+ wasm/ # WASM interface + |+ xtask/ # Additional scripts via Cargo + | CHANGELOG.md # Changelog + | CMakeLists.txt # Root cmake file + | MANIFEST.in # Python build dependency + | pyproject.toml # Python build dependency + | README.md + | setup.py # Python build dependency + | tox.ini # Python testing dependency + | cliff.toml # git-cliff config +``` + + +%package -n python3-cao-lang +Summary: The node based 'language' that governs the actors of the game Cao-Lo +Provides: python-cao-lang +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-cao-lang +# Cao-Lang + + + + + + + +The node based "language" that governs the actors in the game CaoLo + +[Core documentation](https://docs.rs/cao_lang/) + +## Project layout + +``` + |+ cao-lang/ # core library + |+ c/ # C interface + |+ py/ # Python interface + |+ wasm/ # WASM interface + |+ xtask/ # Additional scripts via Cargo + | CHANGELOG.md # Changelog + | CMakeLists.txt # Root cmake file + | MANIFEST.in # Python build dependency + | pyproject.toml # Python build dependency + | README.md + | setup.py # Python build dependency + | tox.ini # Python testing dependency + | cliff.toml # git-cliff config +``` + + +%package help +Summary: Development documents and examples for cao-lang +Provides: python3-cao-lang-doc +%description help +# Cao-Lang + + + + + + + +The node based "language" that governs the actors in the game CaoLo + +[Core documentation](https://docs.rs/cao_lang/) + +## Project layout + +``` + |+ cao-lang/ # core library + |+ c/ # C interface + |+ py/ # Python interface + |+ wasm/ # WASM interface + |+ xtask/ # Additional scripts via Cargo + | CHANGELOG.md # Changelog + | CMakeLists.txt # Root cmake file + | MANIFEST.in # Python build dependency + | pyproject.toml # Python build dependency + | README.md + | setup.py # Python build dependency + | tox.ini # Python testing dependency + | cliff.toml # git-cliff config +``` + + +%prep +%autosetup -n cao-lang-0.1.93 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-cao-lang -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.93-1 +- Package Spec generated @@ -0,0 +1 @@ +647df59e62f27aeaa6dd9d3ee5048d5c cao-lang-0.1.93.tar.gz |