diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:50:02 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:50:02 +0000 |
commit | 93634116242944d98f23a7bbe2482c85bd7d38b6 (patch) | |
tree | 9b6b6a2eb5825eb3ca74296be774097fb6e9472e | |
parent | e6e0ba700dc347dbaea943ff2fdeb4bff130455d (diff) |
automatic import of python-donphan
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-donphan.spec | 76 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 78 insertions, 0 deletions
@@ -0,0 +1 @@ +/Donphan-4.10.3.tar.gz diff --git a/python-donphan.spec b/python-donphan.spec new file mode 100644 index 0000000..78649f5 --- /dev/null +++ b/python-donphan.spec @@ -0,0 +1,76 @@ +%global _empty_manifest_terminate_build 0 +Name: python-donphan +Version: 4.10.3 +Release: 1 +Summary: Asynchronous Database ORM for Postgres +License: MIT +URL: https://pypi.org/project/donphan/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/15/5d10ca8e0244db33781e28c6820e5a5bc8c79a2a0d929477057974b4a2d9/Donphan-4.10.3.tar.gz +BuildArch: noarch + +Requires: python3-asyncpg +Requires: python3-sphinx +Requires: python3-sphinxcontrib_trio +Requires: python3-sphinxcontrib-websupport + +%description +Asynchronous database ORM for use with Postgres. + +%package -n python3-donphan +Summary: Asynchronous Database ORM for Postgres +Provides: python-donphan +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-donphan +Asynchronous database ORM for use with Postgres. + +%package help +Summary: Development documents and examples for donphan +Provides: python3-donphan-doc +%description help +Asynchronous database ORM for use with Postgres. + +%prep +%autosetup -n donphan-4.10.3 + +%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-donphan -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 4.10.3-1 +- Package Spec generated @@ -0,0 +1 @@ +2d2968162152135233e1cf3d2676e797 Donphan-4.10.3.tar.gz |