Skip to content

Commit

Permalink
Add python-propcache
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Dec 16, 2024
1 parent 36d0332 commit e5e07ce
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions comps/comps-pulpcore-el9.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
<packagereq type="default">python3.11-poetry_plugin_export</packagereq>
<packagereq type="default">python3.11-productmd</packagereq>
<packagereq type="default">python3.11-prometheus-client</packagereq>
<packagereq type="default">python3.11--propcache</packagereq>
<packagereq type="default">python3.11-protobuf</packagereq>
<packagereq type="default">python3.11-proto-plus</packagereq>
<packagereq type="default">python3.11-psycopg</packagereq>
Expand Down
1 change: 1 addition & 0 deletions package_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ tier4_packages:
python-expandvars: {}
python-mailbits: {}
python-aiohappyeyeballs: {}
python-propcache: {}

pulpcore_packages:
hosts:
Expand Down
1 change: 1 addition & 0 deletions packages/python-propcache/propcache-0.2.1.tar.gz
59 changes: 59 additions & 0 deletions packages/python-propcache/python-propcache.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
%global python3_pkgversion 3.11
%global __python3 /usr/bin/python3.11

# Created by pyp2rpm-3.3.3
%global pypi_name propcache

Name: python-%{pypi_name}
Version: 0.2.1
Release: 1%{?dist}
Summary: Fast property caching.

License: Apache-2.0
URL: https://github.com/aio-libs/propcache
Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-wheel
BuildRequires: python%{python3_pkgversion}-expandvars
BuildRequires: python%{python3_pkgversion}-Cython
BuildRequires: pyproject-rpm-macros


%description
%{summary}


%package -n python%{python3_pkgversion}-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}


%description -n python%{python3_pkgversion}-%{pypi_name}
%{summary}


%prep
set -ex
%autosetup -n %{pypi_name}-%{version}


%build
set -ex
%pyproject_wheel


%install
set -ex
%pyproject_install

%files -n python%{python3_pkgversion}-%{pypi_name}
%{python3_sitearch}/%{pypi_name}
%{python3_sitearch}/%{pypi_name}-%{version}.dist-info/


%changelog
* Mon Dec 16 2024 Odilon Sousa - 0.2.1-1
- Initial package.

0 comments on commit e5e07ce

Please sign in to comment.