diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 11:17:23 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 11:17:23 +0000 |
| commit | 951726280abd8e66e3de0c532d3ff543f1cabf21 (patch) | |
| tree | 932f7ce8c1e44518c62c08bd096af2267b52e998 | |
| parent | d5281d9cb016723b3088a870fb4e61cbb8d612db (diff) | |
automatic import of python-allianceauth-app-utilsopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-allianceauth-app-utils.spec | 140 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 142 insertions, 0 deletions
@@ -0,0 +1 @@ +/allianceauth-app-utils-1.18.0.tar.gz diff --git a/python-allianceauth-app-utils.spec b/python-allianceauth-app-utils.spec new file mode 100644 index 0000000..b70061b --- /dev/null +++ b/python-allianceauth-app-utils.spec @@ -0,0 +1,140 @@ +%global _empty_manifest_terminate_build 0 +Name: python-allianceauth-app-utils +Version: 1.18.0 +Release: 1 +Summary: Commonly used utility functions and classes for rapid development of Alliance Auth apps. +License: MIT +URL: https://gitlab.com/ErikKalkoken/allianceauth-app-utils +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b0/60/6389bb3339a8d5c44f6257f1d99096f7c580ba11c9aa38387eb54dd88e42/allianceauth-app-utils-1.18.0.tar.gz +BuildArch: noarch + +Requires: python3-allianceauth +Requires: python3-requests + +%description +# allianceauth-app-utils + +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/pipelines) +[](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils) +[](https://allianceauth-app-utils.readthedocs.io/en/latest/?badge=latest) +[](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/blob/master/LICENSE) +[](https://github.com/pre-commit/pre-commit) +[](https://github.com/psf/black) +[](https://discord.gg/zmh52wnfvM) + +Commonly used utility functions and classes for rapid development of Alliance Auth apps. + +## Description + +This package contains a variety of commonly used utility functions and classes that help speed up development of Alliance Auth apps and reduce code duplication across apps. + +## Documentation + +For a full description of the API please see the [documentation](https://allianceauth-app-utils.readthedocs.io/en/latest/index.html). + + +%package -n python3-allianceauth-app-utils +Summary: Commonly used utility functions and classes for rapid development of Alliance Auth apps. +Provides: python-allianceauth-app-utils +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-allianceauth-app-utils +# allianceauth-app-utils + +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/pipelines) +[](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils) +[](https://allianceauth-app-utils.readthedocs.io/en/latest/?badge=latest) +[](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/blob/master/LICENSE) +[](https://github.com/pre-commit/pre-commit) +[](https://github.com/psf/black) +[](https://discord.gg/zmh52wnfvM) + +Commonly used utility functions and classes for rapid development of Alliance Auth apps. + +## Description + +This package contains a variety of commonly used utility functions and classes that help speed up development of Alliance Auth apps and reduce code duplication across apps. + +## Documentation + +For a full description of the API please see the [documentation](https://allianceauth-app-utils.readthedocs.io/en/latest/index.html). + + +%package help +Summary: Development documents and examples for allianceauth-app-utils +Provides: python3-allianceauth-app-utils-doc +%description help +# allianceauth-app-utils + +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://pypi.org/project/allianceauth-app-utils/) +[](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/pipelines) +[](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils) +[](https://allianceauth-app-utils.readthedocs.io/en/latest/?badge=latest) +[](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/blob/master/LICENSE) +[](https://github.com/pre-commit/pre-commit) +[](https://github.com/psf/black) +[](https://discord.gg/zmh52wnfvM) + +Commonly used utility functions and classes for rapid development of Alliance Auth apps. + +## Description + +This package contains a variety of commonly used utility functions and classes that help speed up development of Alliance Auth apps and reduce code duplication across apps. + +## Documentation + +For a full description of the API please see the [documentation](https://allianceauth-app-utils.readthedocs.io/en/latest/index.html). + + +%prep +%autosetup -n allianceauth-app-utils-1.18.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-allianceauth-app-utils -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.18.0-1 +- Package Spec generated @@ -0,0 +1 @@ +fe7ae6a1617d2054df39444306785b13 allianceauth-app-utils-1.18.0.tar.gz |
