From a4d562504cc70fab004045b1ec49dea6ae2e9c2a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 05:19:08 +0000 Subject: automatic import of python-fondat-postgresql --- .gitignore | 1 + python-fondat-postgresql.spec | 143 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 145 insertions(+) create mode 100644 python-fondat-postgresql.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c55c446 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/fondat-postgresql-4.0.7.tar.gz diff --git a/python-fondat-postgresql.spec b/python-fondat-postgresql.spec new file mode 100644 index 0000000..f7e2c4e --- /dev/null +++ b/python-fondat-postgresql.spec @@ -0,0 +1,143 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fondat-postgresql +Version: 4.0.7 +Release: 1 +Summary: Fondat module for PostgreSQL. +License: MIT +URL: https://github.com/fondat/fondat-postgresql/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/20/92/6f3f67febcc6d338fbb0485fb4b590dd18b3043568932c792de983a767af/fondat-postgresql-4.0.7.tar.gz +BuildArch: noarch + +Requires: python3-fondat +Requires: python3-asyncpg + +%description +# fondat-postgresql + +[![PyPI](https://badge.fury.io/py/fondat-postgresql.svg)](https://badge.fury.io/py/fondat-postgresql) +[![Python](https://img.shields.io/pypi/pyversions/fondat-postgresql)](https://python.org/) +[![GitHub](https://img.shields.io/badge/github-main-blue.svg)](https://github.com/fondat/fondat-postgresql/) +[![Test](https://github.com/fondat/fondat-postgresql/workflows/test/badge.svg)](https://github.com/fondat/fondat-postgresql/actions?query=workflow/test) +[![License](https://img.shields.io/github/license/fondat/fondat-postgresql.svg)](https://github.com/fondat/fondat-postgresql/blob/main/LICENSE) +[![Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/psf/black) + +Fondat module for PostgreSQL. + +## Develop + +``` +poetry install +poetry run pre-commit install +``` + +## Test + +``` +poetry run pytest +``` + + +%package -n python3-fondat-postgresql +Summary: Fondat module for PostgreSQL. +Provides: python-fondat-postgresql +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-fondat-postgresql +# fondat-postgresql + +[![PyPI](https://badge.fury.io/py/fondat-postgresql.svg)](https://badge.fury.io/py/fondat-postgresql) +[![Python](https://img.shields.io/pypi/pyversions/fondat-postgresql)](https://python.org/) +[![GitHub](https://img.shields.io/badge/github-main-blue.svg)](https://github.com/fondat/fondat-postgresql/) +[![Test](https://github.com/fondat/fondat-postgresql/workflows/test/badge.svg)](https://github.com/fondat/fondat-postgresql/actions?query=workflow/test) +[![License](https://img.shields.io/github/license/fondat/fondat-postgresql.svg)](https://github.com/fondat/fondat-postgresql/blob/main/LICENSE) +[![Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/psf/black) + +Fondat module for PostgreSQL. + +## Develop + +``` +poetry install +poetry run pre-commit install +``` + +## Test + +``` +poetry run pytest +``` + + +%package help +Summary: Development documents and examples for fondat-postgresql +Provides: python3-fondat-postgresql-doc +%description help +# fondat-postgresql + +[![PyPI](https://badge.fury.io/py/fondat-postgresql.svg)](https://badge.fury.io/py/fondat-postgresql) +[![Python](https://img.shields.io/pypi/pyversions/fondat-postgresql)](https://python.org/) +[![GitHub](https://img.shields.io/badge/github-main-blue.svg)](https://github.com/fondat/fondat-postgresql/) +[![Test](https://github.com/fondat/fondat-postgresql/workflows/test/badge.svg)](https://github.com/fondat/fondat-postgresql/actions?query=workflow/test) +[![License](https://img.shields.io/github/license/fondat/fondat-postgresql.svg)](https://github.com/fondat/fondat-postgresql/blob/main/LICENSE) +[![Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/psf/black) + +Fondat module for PostgreSQL. + +## Develop + +``` +poetry install +poetry run pre-commit install +``` + +## Test + +``` +poetry run pytest +``` + + +%prep +%autosetup -n fondat-postgresql-4.0.7 + +%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-fondat-postgresql -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 4.0.7-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..4d4766d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +489b0bf744d616e987446bcd15978e36 fondat-postgresql-4.0.7.tar.gz -- cgit v1.2.3