diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-17 04:19:26 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 04:19:26 +0000 |
| commit | b8ceaf9ddcf01497919f523b69e2694b131463d5 (patch) | |
| tree | 9c05f3b0096292129fb272a09b647c11bc485a2e | |
| parent | a3a42834d703f219455da726b99aaecb251f3251 (diff) | |
automatic import of python-appchance
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-appchance.spec | 227 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 229 insertions, 0 deletions
@@ -0,0 +1 @@ +/appchance-0.3.2.0.tar.gz diff --git a/python-appchance.spec b/python-appchance.spec new file mode 100644 index 0000000..db96a14 --- /dev/null +++ b/python-appchance.spec @@ -0,0 +1,227 @@ +%global _empty_manifest_terminate_build 0 +Name: python-appchance +Version: 0.3.2.0 +Release: 1 +Summary: Appchance's spellbook for wizards and ninjas. Useful in dungeons. +License: Apache Software License +URL: https://bitbucket.org/appchance/pychance/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/5c/6ba9a6a2dedd36a5d536c611e7ca5b398661966ae607a7c770cde3270378/appchance-0.3.2.0.tar.gz +BuildArch: noarch + +Requires: python3-cookiecutter +Requires: python3-django +Requires: python3-doit +Requires: python3-ipython +Requires: python3-swapper + +%description +# Appchance :: Backend Spellbook + +Hacks and project automation. Toolbelt for wizards and ninjas. + +# +## Installation +Install package with pip + + pip install appchance + +# +### Usage +1. Initialize and start new django application boosted by docker containers. +``` +$ pip install appchance +$ dodo init +``` + +2. Add `doit.cfg` file in your project root directory with contents: +``` +[GLOBAL] +backend=sqlite3 +dep_file=.ddb.sql3 +compose_cmd=docker-compose +dj_service=django +``` + + +# +## Subpackages +Tools includes + +- `dodos` = project automation +- `pickup` = pickup points for deliveries (DHL, Paczkomaty) +- `shop` = common models, serializers etc for django mcommerce + +# +## Roadmap +Roadmap for future releases + +* `0.1.0` = Project initialization +* `0.2.0` = Cookiecutter django-appchance +* `0.2.3` = Shop submodule improvements +* `0.2.5` = Dodo minor improvements +* `0.3.0` = Sections subpackage +* `0.4.0` = Dodo SSH +* `0.5.0` = Sentry integrations +* `0.6.0` = ELK integrations + + + + +%package -n python3-appchance +Summary: Appchance's spellbook for wizards and ninjas. Useful in dungeons. +Provides: python-appchance +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-appchance +# Appchance :: Backend Spellbook + +Hacks and project automation. Toolbelt for wizards and ninjas. + +# +## Installation +Install package with pip + + pip install appchance + +# +### Usage +1. Initialize and start new django application boosted by docker containers. +``` +$ pip install appchance +$ dodo init +``` + +2. Add `doit.cfg` file in your project root directory with contents: +``` +[GLOBAL] +backend=sqlite3 +dep_file=.ddb.sql3 +compose_cmd=docker-compose +dj_service=django +``` + + +# +## Subpackages +Tools includes + +- `dodos` = project automation +- `pickup` = pickup points for deliveries (DHL, Paczkomaty) +- `shop` = common models, serializers etc for django mcommerce + +# +## Roadmap +Roadmap for future releases + +* `0.1.0` = Project initialization +* `0.2.0` = Cookiecutter django-appchance +* `0.2.3` = Shop submodule improvements +* `0.2.5` = Dodo minor improvements +* `0.3.0` = Sections subpackage +* `0.4.0` = Dodo SSH +* `0.5.0` = Sentry integrations +* `0.6.0` = ELK integrations + + + + +%package help +Summary: Development documents and examples for appchance +Provides: python3-appchance-doc +%description help +# Appchance :: Backend Spellbook + +Hacks and project automation. Toolbelt for wizards and ninjas. + +# +## Installation +Install package with pip + + pip install appchance + +# +### Usage +1. Initialize and start new django application boosted by docker containers. +``` +$ pip install appchance +$ dodo init +``` + +2. Add `doit.cfg` file in your project root directory with contents: +``` +[GLOBAL] +backend=sqlite3 +dep_file=.ddb.sql3 +compose_cmd=docker-compose +dj_service=django +``` + + +# +## Subpackages +Tools includes + +- `dodos` = project automation +- `pickup` = pickup points for deliveries (DHL, Paczkomaty) +- `shop` = common models, serializers etc for django mcommerce + +# +## Roadmap +Roadmap for future releases + +* `0.1.0` = Project initialization +* `0.2.0` = Cookiecutter django-appchance +* `0.2.3` = Shop submodule improvements +* `0.2.5` = Dodo minor improvements +* `0.3.0` = Sections subpackage +* `0.4.0` = Dodo SSH +* `0.5.0` = Sentry integrations +* `0.6.0` = ELK integrations + + + + +%prep +%autosetup -n appchance-0.3.2.0 + +%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-appchance -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.2.0-1 +- Package Spec generated @@ -0,0 +1 @@ +e3098f55e5e28a920d0358c5f7073598 appchance-0.3.2.0.tar.gz |
