diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 17:45:11 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 17:45:11 +0000 |
| commit | 6d4f29407d33405337b8698d3253dbef70fea01d (patch) | |
| tree | 343c7389d45a3d78e2094afadc939a9e58c7b1f3 | |
| parent | 371284e04558ac21697fe05f6ae11f8c8b4d5484 (diff) | |
automatic import of python-invenio-accounts
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-invenio-accounts.spec | 93 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 95 insertions, 0 deletions
@@ -0,0 +1 @@ +/invenio-accounts-2.1.0.tar.gz diff --git a/python-invenio-accounts.spec b/python-invenio-accounts.spec new file mode 100644 index 0000000..2b6395a --- /dev/null +++ b/python-invenio-accounts.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-invenio-accounts +Version: 2.1.0 +Release: 1 +Summary: Invenio user management and authentication. +License: MIT +URL: https://github.com/inveniosoftware/invenio-accounts +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8f/07/b0879063f4cbc5902479d40a9bc797d102ba91fb087487880ec931698257/invenio-accounts-2.1.0.tar.gz +BuildArch: noarch + +Requires: python3-cryptography +Requires: python3-Flask-KVSession-Invenio +Requires: python3-Flask-Security-Invenio +Requires: python3-invenio-celery +Requires: python3-invenio-i18n +Requires: python3-invenio-mail +Requires: python3-invenio-rest +Requires: python3-invenio-theme +Requires: python3-maxminddb-geolite2 +Requires: python3-pyjwt +Requires: python3-simplekv +Requires: python3-ua-parser +Requires: python3-invenio-admin +Requires: python3-invenio-db[mysql] +Requires: python3-invenio-db[postgresql] +Requires: python3-invenio-db +Requires: python3-mock +Requires: python3-invenio-app +Requires: python3-pytest-black +Requires: python3-pytest-invenio +Requires: python3-sphinx + +%description + + +%package -n python3-invenio-accounts +Summary: Invenio user management and authentication. +Provides: python-invenio-accounts +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-invenio-accounts + + +%package help +Summary: Development documents and examples for invenio-accounts +Provides: python3-invenio-accounts-doc +%description help + + +%prep +%autosetup -n invenio-accounts-2.1.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-invenio-accounts -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1 +- Package Spec generated @@ -0,0 +1 @@ +77c41d340e1a4c2f4f57055caf2a9d54 invenio-accounts-2.1.0.tar.gz |
