From 951726280abd8e66e3de0c532d3ff543f1cabf21 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 11:17:23 +0000 Subject: automatic import of python-allianceauth-app-utils --- .gitignore | 1 + python-allianceauth-app-utils.spec | 140 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 142 insertions(+) create mode 100644 python-allianceauth-app-utils.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..48d2b1e 100644 --- a/.gitignore +++ b/.gitignore @@ -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 + +[![release](https://img.shields.io/pypi/v/allianceauth-app-utils?label=release)](https://pypi.org/project/allianceauth-app-utils/) +[![python](https://img.shields.io/pypi/pyversions/allianceauth-app-utils)](https://pypi.org/project/allianceauth-app-utils/) +[![django](https://img.shields.io/pypi/djversions/allianceauth-app-utils?label=django)](https://pypi.org/project/allianceauth-app-utils/) +[![pipeline](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/badges/master/pipeline.svg)](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/pipelines) +[![codecov](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils/branch/master/graph/badge.svg?token=S6AUWTRHC4)](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils) +[![Documentation Status](https://readthedocs.org/projects/allianceauth-app-utils/badge/?version=latest)](https://allianceauth-app-utils.readthedocs.io/en/latest/?badge=latest) +[![license](https://img.shields.io/badge/license-MIT-green)](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/blob/master/LICENSE) +[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![chat](https://img.shields.io/discord/790364535294132234)](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 + +[![release](https://img.shields.io/pypi/v/allianceauth-app-utils?label=release)](https://pypi.org/project/allianceauth-app-utils/) +[![python](https://img.shields.io/pypi/pyversions/allianceauth-app-utils)](https://pypi.org/project/allianceauth-app-utils/) +[![django](https://img.shields.io/pypi/djversions/allianceauth-app-utils?label=django)](https://pypi.org/project/allianceauth-app-utils/) +[![pipeline](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/badges/master/pipeline.svg)](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/pipelines) +[![codecov](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils/branch/master/graph/badge.svg?token=S6AUWTRHC4)](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils) +[![Documentation Status](https://readthedocs.org/projects/allianceauth-app-utils/badge/?version=latest)](https://allianceauth-app-utils.readthedocs.io/en/latest/?badge=latest) +[![license](https://img.shields.io/badge/license-MIT-green)](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/blob/master/LICENSE) +[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![chat](https://img.shields.io/discord/790364535294132234)](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 + +[![release](https://img.shields.io/pypi/v/allianceauth-app-utils?label=release)](https://pypi.org/project/allianceauth-app-utils/) +[![python](https://img.shields.io/pypi/pyversions/allianceauth-app-utils)](https://pypi.org/project/allianceauth-app-utils/) +[![django](https://img.shields.io/pypi/djversions/allianceauth-app-utils?label=django)](https://pypi.org/project/allianceauth-app-utils/) +[![pipeline](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/badges/master/pipeline.svg)](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/pipelines) +[![codecov](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils/branch/master/graph/badge.svg?token=S6AUWTRHC4)](https://codecov.io/gl/ErikKalkoken/allianceauth-app-utils) +[![Documentation Status](https://readthedocs.org/projects/allianceauth-app-utils/badge/?version=latest)](https://allianceauth-app-utils.readthedocs.io/en/latest/?badge=latest) +[![license](https://img.shields.io/badge/license-MIT-green)](https://gitlab.com/ErikKalkoken/allianceauth-app-utils/-/blob/master/LICENSE) +[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![chat](https://img.shields.io/discord/790364535294132234)](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 - 1.18.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..0e1c556 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +fe7ae6a1617d2054df39444306785b13 allianceauth-app-utils-1.18.0.tar.gz -- cgit v1.2.3