Update to 1.14.9

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-01-29 20:46:55 +01:00
parent 35bd3d69ec
commit a996baedf1
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
3 changed files with 10 additions and 49 deletions

1
.gitignore vendored
View File

@ -79,3 +79,4 @@
/botocore-1.13.21.tar.gz
/botocore-1.13.45.tar.gz
/botocore-1.14.4.tar.gz
/botocore-1.14.9.tar.gz

View File

@ -1,20 +1,14 @@
%{?python_enable_dependency_generator}
# Enable tests
%bcond_with test
# Disable documentation generation for now
%bcond_with docs
%global pypi_name botocore
Name: python-%{pypi_name}
# NOTICE - Updating this package requires updating python-boto3
Version: 1.14.4
Version: 1.14.9
Release: 1%{?dist}
Summary: Low-level, data-driven core of boto 3
License: ASL 2.0
URL: https://github.com/boto/botocore
Source0: https://pypi.io/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Source0: %{pypi_source}
BuildArch: noarch
%description
@ -25,68 +19,34 @@ botocore package is the foundation for the AWS CLI as well as boto3.
Summary: Low-level, data-driven core of boto 3
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with docs}
BuildRequires: python3-sphinx
BuildRequires: python3-guzzle_sphinx_theme
%endif # with docs
%if %{with tests}
BuildRequires: python3-mock
BuildRequires: python3-nose
BuildRequires: python3-six
BuildRequires: python3-wheel
BuildRequires: python3-docutils
BuildRequires: python3-dateutil
BuildRequires: python3-jmespath
BuildRequires: python3-jsonschema
BuildRequires: python3-urllib3
%endif # with tests
%{?python_provide:%python_provide python3-%{pypi_name}}
%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.
%if %{with docs}
%package doc
Summary: Documentation for %{name}
%description doc
%{summary}.
%endif # with docs
%prep
%setup -q -n %{pypi_name}-%{version}
rm -rf %{pypi_name}.egg-info
%autosetup -n %{pypi_name}-%{version}
rm -vr %{pypi_name}.egg-info
# Remove online tests
rm -rf tests/integration
rm -vr tests/integration
%build
%py3_build
%install
%py3_install
%if %{with docs}
sphinx-build-3 docs/source html
rm -rf html/.{doctrees,buildinfo}
%endif # with docs
%if %{with tests}
%check
# %{__python3} setup.py test
export PYTHONPATH=%{buildroot}%{python3_sitelib}
nosetests-3 --with-coverage --cover-erase --cover-package botocore --with-xunit --cover-xml -v tests/unit/ tests/functional/
%endif # with tests
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE.txt
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-*.egg-info/
%if %{with docs}
%files doc
%doc html
%endif # with docs
%changelog
* Wed Jan 29 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.14.9-1
- Update to 1.14.9
* Thu Jan 16 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.14.4-1
- Update to 1.14.4

View File

@ -1 +1 @@
SHA512 (botocore-1.14.4.tar.gz) = 2a7da692244fca04a7c52f674f8216fa91c47f2ad4b13609fdac983bc36ddce8986a1a8a4dfe70306aa51997c4d8674a871a059c32be3b2d6c924680b08f9a99
SHA512 (botocore-1.14.9.tar.gz) = 4be8382e817d3e4238ed951285bf76ff2d904a8ca9351c00b3dd739a1f35c003614c6b37d9f6debf839ad7cc3017e64e02ee24a5b240f19bf7391203ce8623f2