python-botocore/python-botocore.spec
2022-04-06 16:44:00 +08:00

63 lines
2.1 KiB
RPMSpec

%global pypi_name botocore
Name: python-%{pypi_name}
Version: 1.23.4
Release: 1
Summary: Low-level, data-driven core of boto 3
License: Apache-2.0
URL: https://github.com/boto/botocore
Source0: https://files.pythonhosted.org/packages/b1/25/2da6559083f9dc3f9863c1dc0c18ec18098fd06990f71693c3b63777ce57/botocore-1.23.4.tar.gz
BuildArch: noarch
%description
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.
%package -n python3-%{pypi_name}
Summary: Low-level, data-driven core of boto 3
BuildRequires: python3-devel python3-setuptools
buildRequires: python3-tox
buildRequires: python3-mock
buildRequires: python3-jsonschema
BuildRequires: python3-urllib3
BuildRequires: python3-dateutil
BuildRequires: python3-jmespath
BuildRequires: python3-pytest
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3-jmespath
%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.
%prep
%autosetup -n %{pypi_name}-%{version} -p1
# unable to import "botocore". I'm not 100% sure why this happened but for now
# just exclude this one test and run all the other functional tests.
rm -vr tests/functional/leak
%build
%py3_build
%install
%py3_install
%check
%{__python3} -m pytest tests/unit
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE.txt
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-*.egg-info/
%changelog
* Wed Apr 6 2022 caodongxia <caodongxia@h-partners.com> - 1.23.4-1
- Upgrade python-botocore to 1.23.4
* Thu Mar 31 202 wulei <wulei80@huawei.com> - 1.20.26.2
- Fix rejecting URLs with unsafe characters in is_valid_endpoint_url()
* Mon Jul 26 2021 OpenStack_SIG <openstack@openeuler.org> - 1.20.26-1
- update to 1.20.26
* Mon Nov 16 2020 yanan li <liyanan32@huawei.com> - 1.19.17-1
- Package init