-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.git/annex/objects/ZF/pQ/SHA256E-s33670--5be990583e99f3b08af5a709460e20b25cb169270227957a20b47a6ec8635e66.tar.gz/SHA256E-s33670--5be990583e99f3b08af5a709460e20b25cb169270227957a20b47a6ec8635e66.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
%global python3_pkgversion 3.11 | ||
%global __python3 /usr/bin/python3.11 | ||
|
||
# Created by pyp2rpm-3.3.3 | ||
%global pypi_name cloudevents | ||
|
||
Name: python-%{pypi_name} | ||
Version: 1.11.0 | ||
Release: 1%{?dist} | ||
Summary: Python SDK for CloudEvents | ||
|
||
License: Apache Software License 2.0 | ||
URL: https://github.com/cloudevents/sdk-python/ | ||
Source0: https://files.pythonhosted.org/packages/source/c/%{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}-deprecation >= 2.0 | ||
Requires: python%{python3_pkgversion}-deprecation < 3.0 | ||
|
||
|
||
%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} | ||
%license LICENSE | ||
%doc README.md | ||
%{python3_sitelib}/%{pypi_name} | ||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info | ||
|
||
|
||
%changelog | ||
* Tue Sep 24 2024 Odilon Sousa - 1.11.0 | ||
- Initial package. |