diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-sqlservice.spec | 106 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 108 insertions, 0 deletions
@@ -0,0 +1 @@ +/sqlservice-2.0.1.tar.gz diff --git a/python-sqlservice.spec b/python-sqlservice.spec new file mode 100644 index 0000000..a42e8a8 --- /dev/null +++ b/python-sqlservice.spec @@ -0,0 +1,106 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sqlservice +Version: 2.0.1 +Release: 1 +Summary: The missing SQLAlchemy ORM interface +License: MIT License +URL: https://github.com/dgilland/sqlservice +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/f8/f36edb74eb5f01d7cd22c0d65290e71d494451dbe55729b7ff0c5c1ba5e5/sqlservice-2.0.1.tar.gz +BuildArch: noarch + +Requires: python3-SQLAlchemy +Requires: python3-aiosqlite +Requires: python3-black +Requires: python3-build +Requires: python3-coverage +Requires: python3-docformatter +Requires: python3-flake8 +Requires: python3-flake8-black +Requires: python3-flake8-bugbear +Requires: python3-flake8-isort +Requires: python3-invoke +Requires: python3-isort +Requires: python3-mock +Requires: python3-mypy +Requires: python3-pylint +Requires: python3-pytest +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-Sphinx +Requires: python3-sphinx-autodoc-typehints +Requires: python3-sphinx-rtd-theme +Requires: python3-tox +Requires: python3-types-mock +Requires: python3-twine +Requires: python3-wheel + +%description +- Project: https://github.com/dgilland/sqlservice +- Documentation: http://sqlservice.readthedocs.io +- PyPI: https://pypi.python.org/pypi/sqlservice/ +- Github Actions: https://github.com/dgilland/sqlservice/actions + +%package -n python3-sqlservice +Summary: The missing SQLAlchemy ORM interface +Provides: python-sqlservice +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sqlservice +- Project: https://github.com/dgilland/sqlservice +- Documentation: http://sqlservice.readthedocs.io +- PyPI: https://pypi.python.org/pypi/sqlservice/ +- Github Actions: https://github.com/dgilland/sqlservice/actions + +%package help +Summary: Development documents and examples for sqlservice +Provides: python3-sqlservice-doc +%description help +- Project: https://github.com/dgilland/sqlservice +- Documentation: http://sqlservice.readthedocs.io +- PyPI: https://pypi.python.org/pypi/sqlservice/ +- Github Actions: https://github.com/dgilland/sqlservice/actions + +%prep +%autosetup -n sqlservice-2.0.1 + +%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-sqlservice -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +af8557756a3f29f032a57729a7eb41ea sqlservice-2.0.1.tar.gz |
