diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 05:36:25 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 05:36:25 +0000 |
| commit | 6c9939532d8a208789233a76ca09a22589c8da04 (patch) | |
| tree | cda2f03c10046aedc153fcbeab33c7b4e537b049 /python-arango-orm.spec | |
| parent | 51a0206a9f67888b88e31d9f5ab28ed8e57c3aed (diff) | |
automatic import of python-arango-orm
Diffstat (limited to 'python-arango-orm.spec')
| -rw-r--r-- | python-arango-orm.spec | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/python-arango-orm.spec b/python-arango-orm.spec new file mode 100644 index 0000000..ef34069 --- /dev/null +++ b/python-arango-orm.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-arango-orm +Version: 0.7.0 +Release: 1 +Summary: A SQLAlchemy like ORM implementation for arangodb +License: GNU General Public License v3 (GPLv3) +URL: https://github.com/threatify/arango-orm +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/73/5d/4619e2a37b6140bab4d1e8cf6d93d9b60f9c8f7d1cfaade67698c8fb3b72/arango-orm-0.7.0.tar.gz +BuildArch: noarch + +Requires: python3-six +Requires: python3-arango +Requires: python3-marshmallow + +%description +A SQLAlchemy like ORM implementation using python-arangoas the backend library + + + + +%package -n python3-arango-orm +Summary: A SQLAlchemy like ORM implementation for arangodb +Provides: python-arango-orm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-arango-orm +A SQLAlchemy like ORM implementation using python-arangoas the backend library + + + + +%package help +Summary: Development documents and examples for arango-orm +Provides: python3-arango-orm-doc +%description help +A SQLAlchemy like ORM implementation using python-arangoas the backend library + + + + +%prep +%autosetup -n arango-orm-0.7.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-arango-orm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1 +- Package Spec generated |
