diff --git a/comps/comps-pulpcore-el9.xml b/comps/comps-pulpcore-el9.xml index 473bf4737..8db29f931 100644 --- a/comps/comps-pulpcore-el9.xml +++ b/comps/comps-pulpcore-el9.xml @@ -209,6 +209,7 @@ python3.11-productmd python3.11-prometheus-client python3.11-protobuf + python3.11-proto-plus python3.11-psycopg python3.11-psycopg2 python3.11-ptyprocess diff --git a/package_manifest.yaml b/package_manifest.yaml index 11ae43e34..074061510 100644 --- a/package_manifest.yaml +++ b/package_manifest.yaml @@ -143,6 +143,7 @@ tier3_packages: python-hatch_fancy_pypi_readme: {} python-hatch: {} python-protobuf: {} + python-proto-plus: {} tier4_packages: hosts: diff --git a/packages/python-proto-plus/proto-plus-1.24.0.tar.gz b/packages/python-proto-plus/proto-plus-1.24.0.tar.gz new file mode 120000 index 000000000..89355435e --- /dev/null +++ b/packages/python-proto-plus/proto-plus-1.24.0.tar.gz @@ -0,0 +1 @@ +../../.git/annex/objects/6K/MX/SHA256E-s55942--30b72a5ecafe4406b0d339db35b56c4059064e69227b8c3bda7462397f966445.tar.gz/SHA256E-s55942--30b72a5ecafe4406b0d339db35b56c4059064e69227b8c3bda7462397f966445.tar.gz \ No newline at end of file diff --git a/packages/python-proto-plus/python-proto-plus.spec b/packages/python-proto-plus/python-proto-plus.spec new file mode 100644 index 000000000..4c7c2af49 --- /dev/null +++ b/packages/python-proto-plus/python-proto-plus.spec @@ -0,0 +1,60 @@ +%global python3_pkgversion 3.11 +%global __python3 /usr/bin/python3.11 + +# Created by pyp2rpm-3.3.3 +%global pypi_name proto-plus + +Name: python-%{pypi_name} +Version: 1.24.0 +Release: 1%{?dist} +Summary: Beautiful, Pythonic protocol buffers. + +License: Apache 2.0 +URL: https://github.com/googleapis/proto-plus-python +Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools + + +%description +%{summary} + + +%package -n python%{python3_pkgversion}-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} +Requires: python%{python3_pkgversion}-protobuf >= 3.19.0 +Requires: python%{python3_pkgversion}-protobuf < 6 + + +%description -n python%{python3_pkgversion}-%{pypi_name} +%{summary} + + +%prep +set -ex +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + + +%build +set -ex +%py3_build + + +%install +set -ex +%py3_install + + +%files -n python%{python3_pkgversion}-%{pypi_name} +%{python3_sitelib}/proto +%{python3_sitelib}/proto_plus-%{version}-py%{python3_version}.egg-info + + +%changelog +* Mon Sep 23 2024 Odilon Sousa - 1.24.0-1 +- Initial package.