From ee87baf99c661b3ac118a172461e651454475254 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 08:34:27 +0000 Subject: automatic import of python-sqlathanor --- .gitignore | 1 + python-sqlathanor.spec | 104 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 106 insertions(+) create mode 100644 python-sqlathanor.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5aff184 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/sqlathanor-0.7.0.tar.gz diff --git a/python-sqlathanor.spec b/python-sqlathanor.spec new file mode 100644 index 0000000..e73d4f4 --- /dev/null +++ b/python-sqlathanor.spec @@ -0,0 +1,104 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sqlathanor +Version: 0.7.0 +Release: 1 +Summary: Serialization/De-serialization Support for the SQLAlchemy Declarative ORM +License: MIT +URL: https://sqlathanor.readthedocs.io/en/latest +Source0: https://mirrors.aliyun.com/pypi/web/packages/ef/7e/dd5d85f262748a85a8be238f8b523a28969ec6c46e88b68b5c800090dc95/sqlathanor-0.7.0.tar.gz +BuildArch: noarch + +Requires: python3-validator-collection +Requires: python3-simplejson +Requires: python3-sqlalchemy +Requires: python3-PyYAML +Requires: python3-sqlalchemy +Requires: python3-PyYAML +Requires: python3-check-manifest +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinx-tabs +Requires: python3-readme-renderer +Requires: python3-restview +Requires: python3-Flask-SQLAlchemy +Requires: python3-coverage +Requires: python3-pytest +Requires: python3-pytest-benchmark +Requires: python3-pytest-cov +Requires: python3-tox +Requires: python3-codecov +Requires: python3-Flask-SQLAlchemy + +%description +*************** +Installation +*************** +To install **SQLAthanor**, just execute: + $ pip install sqlathanor + +%package -n python3-sqlathanor +Summary: Serialization/De-serialization Support for the SQLAlchemy Declarative ORM +Provides: python-sqlathanor +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sqlathanor +*************** +Installation +*************** +To install **SQLAthanor**, just execute: + $ pip install sqlathanor + +%package help +Summary: Development documents and examples for sqlathanor +Provides: python3-sqlathanor-doc +%description help +*************** +Installation +*************** +To install **SQLAthanor**, just execute: + $ pip install sqlathanor + +%prep +%autosetup -n sqlathanor-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-sqlathanor -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.7.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..56898a0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7269d9d799de9c2a3076c74000e17b9c sqlathanor-0.7.0.tar.gz -- cgit v1.2.3