diff --git a/botocore-1.13.21.tar.gz b/botocore-1.13.21.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3da8c2cd5bfe3cd36bf3958b70c072f420757a3f Binary files /dev/null and b/botocore-1.13.21.tar.gz differ diff --git a/python-botocore.spec b/python-botocore.spec new file mode 100644 index 0000000000000000000000000000000000000000..5edd38db2250d47e626b4da4944f8dcd447a7cdb --- /dev/null +++ b/python-botocore.spec @@ -0,0 +1,85 @@ +# Enable tests +%bcond_with test +# Disable documentation generation for now +%bcond_with docs + +%global pypi_name botocore + +Name: python-%{pypi_name} +Version: 1.13.21 +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 +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 +BuildRequires: python3-setuptools +%if %{with docs} +BuildRequires: python3-sphinx +BuildRequires: python3-guzzle_sphinx_theme +%endif # with docs +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 +%{?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 +# Remove online tests +rm -rf 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 + +%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/ + +%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 +* Fri Oct 30 2020 jiangxinyu - 1.13.21-1 +- Init python-botocore project