summaryrefslogtreecommitdiff
path: root/python-py-database-url.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 08:23:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 08:23:42 +0000
commit71bd7db4b667fdb744832a4dca7cdcf11e65f9c7 (patch)
treed5687493cc6f0c7cd5a93da8880ac5704dfcd3d1 /python-py-database-url.spec
parent48a14d5a246fa021c90b5fec586f1dc611a1cf20 (diff)
automatic import of python-py-database-url
Diffstat (limited to 'python-py-database-url.spec')
-rw-r--r--python-py-database-url.spec106
1 files changed, 106 insertions, 0 deletions
diff --git a/python-py-database-url.spec b/python-py-database-url.spec
new file mode 100644
index 0000000..eee86da
--- /dev/null
+++ b/python-py-database-url.spec
@@ -0,0 +1,106 @@
+%global _empty_manifest_terminate_build 0
+Name: python-py-database-url
+Version: 0.0.4
+Release: 1
+Summary: A universal database URLs for Python applications.
+License: MIT
+URL: https://github.com/jairojair/py-database-url
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/65/e7ce33ea9464460d7f7533eff037f45de6844e0b819d1a64a45f2c78b86c/py-database-url-0.0.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytest-cov
+Requires: python3-pycodestyle
+Requires: python3-black
+Requires: python3-twine
+
+%description
+# Py-Database-URL
+
+[![Build Status](https://travis-ci.org/jairojair/py-database-url.svg?branch=master)](https://travis-ci.org/jairojair/py-database-url)
+[![Coverage Status](https://coveralls.io/repos/github/jairojair/py-database-url/badge.svg?branch=master)](https://coveralls.io/github/jairojair/py-database-url?branch=master)
+
+## Installation
+
+ pip install py-database-url
+
+
+
+
+%package -n python3-py-database-url
+Summary: A universal database URLs for Python applications.
+Provides: python-py-database-url
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-py-database-url
+# Py-Database-URL
+
+[![Build Status](https://travis-ci.org/jairojair/py-database-url.svg?branch=master)](https://travis-ci.org/jairojair/py-database-url)
+[![Coverage Status](https://coveralls.io/repos/github/jairojair/py-database-url/badge.svg?branch=master)](https://coveralls.io/github/jairojair/py-database-url?branch=master)
+
+## Installation
+
+ pip install py-database-url
+
+
+
+
+%package help
+Summary: Development documents and examples for py-database-url
+Provides: python3-py-database-url-doc
+%description help
+# Py-Database-URL
+
+[![Build Status](https://travis-ci.org/jairojair/py-database-url.svg?branch=master)](https://travis-ci.org/jairojair/py-database-url)
+[![Coverage Status](https://coveralls.io/repos/github/jairojair/py-database-url/badge.svg?branch=master)](https://coveralls.io/github/jairojair/py-database-url?branch=master)
+
+## Installation
+
+ pip install py-database-url
+
+
+
+
+%prep
+%autosetup -n py-database-url-0.0.4
+
+%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-py-database-url -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.4-1
+- Package Spec generated