import python-botocore-1.31.62-2.el9

i9ce changed/i9ce/python-botocore-1.31.62-2.el9
MSVSphere Packaging Team 8 months ago
parent 1e25d0e32d
commit 6d651cc241

2
.gitignore vendored

@ -1 +1 @@
SOURCES/botocore-1.25.10.tar.gz
SOURCES/botocore-1.31.62.tar.gz

@ -1 +1 @@
cd425349be7b1761069f8e5ca4c7e61cb8bebcb1 SOURCES/botocore-1.25.10.tar.gz
7300971e23c95c609a2bc9046694d9687a54c450 SOURCES/botocore-1.31.62.tar.gz

@ -1,48 +1,42 @@
%global pypi_name botocore
%bcond_without tests
Name: python-%{pypi_name}
# NOTICE - Updating this package requires updating python-boto3
Version: 1.25.10
Release: 1%{?dist}
Version: 1.31.62
Release: 2%{?dist}
Summary: Low-level, data-driven core of boto 3
License: ASL 2.0
License: Apache-2.0
URL: https://github.com/boto/botocore
Source0: %{pypi_source}
# Replace removed inspect.formatargspec with inspect.signature
# This is needed for compatibility with Python 3.11 and
# can be removed once upstream PR is merged.
Patch2507: https://github.com/boto/botocore/pull/2507.patch
BuildArch: noarch
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-devel
BuildRequires: python3-jsonschema
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-wheel
BuildRequires: python3-jmespath
BuildRequires: python3-toml
BuildRequires: python3-dateutil
BuildRequires: python3-urllib3
BuildArch: noarch
%description
%global _description %{expand:
A low-level interface to a growing number of Amazon Web Services. The
botocore package is the foundation for the AWS CLI as well as boto3.
botocore package is the foundation for the AWS CLI as well as boto3.}
%description %{_description}
%package -n python3-%{pypi_name}
Summary: Low-level, data-driven core of boto 3
Provides: bundled(python3-six) = 1.10.0
%{?python_provide:%python_provide python3-%{pypi_name}}
BuildRequires: python3-devel
%if %{with tests}
# For tests:
BuildRequires: python3-jsonschema
BuildRequires: python3-pytest
%if %{undefined rhel}
BuildRequires: python3-pytest-xdist
%endif
%endif
Provides: bundled(python3-six) = 1.16.0
Provides: bundled(python3-requests) = 2.7.0
%description -n python3-%{pypi_name}
A low-level interface to a growing number of Amazon Web Services. The
botocore package is the foundation for the AWS CLI as well as boto3.
%description -n python3-%{pypi_name} %{_description}
%prep
%autosetup -n %{pypi_name}-%{version} -p1
rm -vr %{pypi_name}.egg-info
# Remove online tests
rm -vr tests/integration
# This test tried to import tests/cmd-runner which failed as the code was
@ -51,25 +45,33 @@ rm -vr tests/integration
rm -vr tests/functional/leak
%generate_buildrequires
# -r use final runtime dependencies as BuildRequires
%pyproject_buildrequires -r
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%check
%pytest
%if %{with tests}
%pytest %{!?rhel:-n auto}
%else
%pyproject_check_import -e botocore.crt.auth -e botocore.vendored*
%endif
%files -n python3-%{pypi_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%license LICENSE.txt
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-*.dist-info/
%changelog
* Wed May 15 2024 Major Hayden <major@redhat.com> - 1.31.62-2
- Bumped revision number for re-release back into EPEL 9.
* Wed May 01 2024 Major Hayden <major@redhat.com> - 1.31.62-1
- 1.31.62
* Fri Nov 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.25.10-1
- Rebuilt for MSVSphere 9.3

Loading…
Cancel
Save