%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