diff --git a/pg8000-1.24.0.tar.gz b/pg8000-1.24.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..512f0525f308f6677a7fa8c2df046f832e5afb62 Binary files /dev/null and b/pg8000-1.24.0.tar.gz differ diff --git a/python-pg8000.spec b/python-pg8000.spec new file mode 100644 index 0000000000000000000000000000000000000000..fdf1c997dfcdb9b949ac9c9c093c960acef16e05 --- /dev/null +++ b/python-pg8000.spec @@ -0,0 +1,53 @@ +# Created by pyp2rpm-3.3.7 +%global pypi_name pg8000 +%global pypi_version 1.24.0 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: PostgreSQL interface library + +License: BSD +URL: https://github.com/tlocke/pg8000 +Source0: https://files.pythonhosted.org/packages/source/%/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-scramp +BuildRequires: python3-setuptools + +%description +pg8000 is a Pure-Python interface to the PostgreSQL database engine. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-scramp +%description -n python3-%{pypi_name} +pg8000 is a Pure-Python interface to the PostgreSQL database engine. + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.adoc +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Tue Feb 22 2022 ut001695 - 1.24.0-1 +- Initial package. \ No newline at end of file