diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-12 04:48:26 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 04:48:26 +0000 |
| commit | 3f11e75ff0a15b7b38ffc0e8c9a4a0b4d86cb6c5 (patch) | |
| tree | bb27b8e6cb10bedb3ddd84ccc49aabb78bcc7cd6 | |
| parent | 9ad2c0f0e62cac81cc93ad4eefe61e97082d24f4 (diff) | |
automatic import of python-thoth-storages
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-thoth-storages.spec | 98 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 100 insertions, 0 deletions
@@ -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 +<https://pypi.org/project/thoth-storages>`__ used in project `Thoth +<https://thoth-station.ninja>`__. The library exposes core queries and methods +for `PostgreSQL database <https://www.postgresql.org/>`__ as well as adapters +for manipulating with `Ceph <https://ceph.io/>`__ 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 +<https://pypi.org/project/thoth-storages>`__ used in project `Thoth +<https://thoth-station.ninja>`__. The library exposes core queries and methods +for `PostgreSQL database <https://www.postgresql.org/>`__ as well as adapters +for manipulating with `Ceph <https://ceph.io/>`__ 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 +<https://pypi.org/project/thoth-storages>`__ used in project `Thoth +<https://thoth-station.ninja>`__. The library exposes core queries and methods +for `PostgreSQL database <https://www.postgresql.org/>`__ as well as adapters +for manipulating with `Ceph <https://ceph.io/>`__ 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 <Python_Bot@openeuler.org> - 0.74.1-1 +- Package Spec generated @@ -0,0 +1 @@ +ab4b9864fbea839de851b8786aaf54cb thoth-storages-0.74.1.tar.gz |
