From d0e8f8c1c71abc05910bf15ae42651fb90fd75a3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 04:19:38 +0000 Subject: automatic import of python-wizwalker --- .gitignore | 1 + python-wizwalker.spec | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 182 insertions(+) create mode 100644 python-wizwalker.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..a9b4c3b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/wizwalker-1.8.2.tar.gz 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 - 1.8.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..e811d13 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +4472f52c8ac03138e2dd7642c57d417b wizwalker-1.8.2.tar.gz -- cgit v1.2.3