From 3f11e75ff0a15b7b38ffc0e8c9a4a0b4d86cb6c5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Apr 2023 04:48:26 +0000 Subject: automatic import of python-thoth-storages --- .gitignore | 1 + python-thoth-storages.spec | 98 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 100 insertions(+) create mode 100644 python-thoth-storages.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..3339059 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/thoth-storages-0.74.1.tar.gz diff --git a/python-thoth-storages.spec b/python-thoth-storages.spec new file mode 100644 index 0000000..ebfb2d9 --- /dev/null +++ b/python-thoth-storages.spec @@ -0,0 +1,98 @@ +%global _empty_manifest_terminate_build 0 +Name: python-thoth-storages +Version: 0.74.1 +Release: 1 +Summary: Storage and database adapters available in project Thoth +License: GPLv3+ +URL: https://github.com/thoth-station/storages +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bd/97/f9c430849c106e78b7fca86d55fcab353ca0720ba3971366746cb3f60b63/thoth-storages-0.74.1.tar.gz +BuildArch: noarch + +Requires: python3-alembic +Requires: python3-boto3 +Requires: python3-click +Requires: python3-packaging +Requires: python3-psycopg2-binary +Requires: python3-dateutil +Requires: python3-pyyaml +Requires: python3-sqlalchemy-utils +Requires: python3-sqlalchemy +Requires: python3-thoth-common +Requires: python3-thoth-license-solver +Requires: python3-thoth-python +Requires: python3-thoth-ssdeep +Requires: python3-voluptuous + +%description +This library provides a library called `thoth-storages +`__ used in project `Thoth +`__. The library exposes core queries and methods +for `PostgreSQL database `__ as well as adapters +for manipulating with `Ceph `__ via its S3 compatible API. + +%package -n python3-thoth-storages +Summary: Storage and database adapters available in project Thoth +Provides: python-thoth-storages +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-thoth-storages +This library provides a library called `thoth-storages +`__ used in project `Thoth +`__. The library exposes core queries and methods +for `PostgreSQL database `__ as well as adapters +for manipulating with `Ceph `__ via its S3 compatible API. + +%package help +Summary: Development documents and examples for thoth-storages +Provides: python3-thoth-storages-doc +%description help +This library provides a library called `thoth-storages +`__ used in project `Thoth +`__. The library exposes core queries and methods +for `PostgreSQL database `__ as well as adapters +for manipulating with `Ceph `__ via its S3 compatible API. + +%prep +%autosetup -n thoth-storages-0.74.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-thoth-storages -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot - 0.74.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..a713433 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ab4b9864fbea839de851b8786aaf54cb thoth-storages-0.74.1.tar.gz -- cgit v1.2.3