summaryrefslogtreecommitdiff
path: root/python-wizwalker.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:19:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:19:38 +0000
commitd0e8f8c1c71abc05910bf15ae42651fb90fd75a3 (patch)
tree877814fb4429976f4e1894fc21023128f9ff8336 /python-wizwalker.spec
parent1d7942b665ec6e36476686655fba3846cc09d0c5 (diff)
automatic import of python-wizwalker
Diffstat (limited to 'python-wizwalker.spec')
-rw-r--r--python-wizwalker.spec180
1 files changed, 180 insertions, 0 deletions
diff --git a/python-wizwalker.spec b/python-wizwalker.spec
new file mode 100644
index 0000000..3956c5d
--- /dev/null
+++ b/python-wizwalker.spec
@@ -0,0 +1,180 @@
+%global _empty_manifest_terminate_build 0
+Name: python-wizwalker
+Version: 1.8.2
+Release: 1
+Summary: Wizard101 scripting library
+License: GPL-3.0-or-later
+URL: https://github.com/StarrFox/wizwalker
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/09/73/2d84aacfb3ea8f80bebca584ca9eeeda2e3845b95ae9ed5f0f96b935a29c/wizwalker-1.8.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-loguru
+Requires: python3-aioconsole
+Requires: python3-aiofiles
+Requires: python3-pymem
+Requires: python3-appdirs
+Requires: python3-click
+Requires: python3-click_default_group
+Requires: python3-aiomonitor
+Requires: python3-terminaltables
+Requires: python3-janus
+Requires: python3-pefile
+Requires: python3-regex
+
+%description
+moved to https://github.com/wizwalker/wizwalker
+
+# WizWalker
+
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+Wizard101 scripting library
+
+## Installation
+`pip install wizwalker`
+
+## Documentation
+you can find the documentation [here](https://starrfox.github.io/wizwalker/)
+
+## Discord
+you can join the offical discord [here](https://discord.gg/JHrdCNK)
+
+## Just
+this package uses [just](https://github.com/casey/just) for command running
+```shell
+just cli # start wiz instance and then start debug cli
+just docs # build docs
+just install # install enviroment
+just publish TYPE # publish a major, minor, or patch version
+```
+
+## Console commands
+```shell
+wizwalker # Runs the wizwalker cli
+wizwalker start-wiz # start wizard101 instances
+wizwalker wad # edit and extract wizard101 wad files
+```
+
+
+%package -n python3-wizwalker
+Summary: Wizard101 scripting library
+Provides: python-wizwalker
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-wizwalker
+moved to https://github.com/wizwalker/wizwalker
+
+# WizWalker
+
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+Wizard101 scripting library
+
+## Installation
+`pip install wizwalker`
+
+## Documentation
+you can find the documentation [here](https://starrfox.github.io/wizwalker/)
+
+## Discord
+you can join the offical discord [here](https://discord.gg/JHrdCNK)
+
+## Just
+this package uses [just](https://github.com/casey/just) for command running
+```shell
+just cli # start wiz instance and then start debug cli
+just docs # build docs
+just install # install enviroment
+just publish TYPE # publish a major, minor, or patch version
+```
+
+## Console commands
+```shell
+wizwalker # Runs the wizwalker cli
+wizwalker start-wiz # start wizard101 instances
+wizwalker wad # edit and extract wizard101 wad files
+```
+
+
+%package help
+Summary: Development documents and examples for wizwalker
+Provides: python3-wizwalker-doc
+%description help
+moved to https://github.com/wizwalker/wizwalker
+
+# WizWalker
+
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
+
+Wizard101 scripting library
+
+## Installation
+`pip install wizwalker`
+
+## Documentation
+you can find the documentation [here](https://starrfox.github.io/wizwalker/)
+
+## Discord
+you can join the offical discord [here](https://discord.gg/JHrdCNK)
+
+## Just
+this package uses [just](https://github.com/casey/just) for command running
+```shell
+just cli # start wiz instance and then start debug cli
+just docs # build docs
+just install # install enviroment
+just publish TYPE # publish a major, minor, or patch version
+```
+
+## Console commands
+```shell
+wizwalker # Runs the wizwalker cli
+wizwalker start-wiz # start wizard101 instances
+wizwalker wad # edit and extract wizard101 wad files
+```
+
+
+%prep
+%autosetup -n wizwalker-1.8.2
+
+%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-wizwalker -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.2-1
+- Package Spec generated