From 4388a2b33cffc8510c5fb2ac95cdab49c833f6c0 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 13:32:10 -0400 Subject: [PATCH] Auto sync2gitlab import of python-botocore-1.9.1-2.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - botocore-1.5.3-fix_dateutil_version.patch | 34 ++ python-botocore.spec | 372 ++++++++++++++++++++++ sources | 1 + 5 files changed, 408 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 botocore-1.5.3-fix_dateutil_version.patch create mode 100644 python-botocore.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2451698 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/botocore-1.9.1.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/botocore-1.5.3-fix_dateutil_version.patch b/botocore-1.5.3-fix_dateutil_version.patch new file mode 100644 index 0000000..149b3e2 --- /dev/null +++ b/botocore-1.5.3-fix_dateutil_version.patch @@ -0,0 +1,34 @@ +diff -ur botocore-1.5.3.orig/requirements.txt botocore-1.5.3/requirements.txt +--- botocore-1.5.3.orig/requirements.txt 2017-01-20 11:06:07.081344531 +0000 ++++ botocore-1.5.3/requirements.txt 2017-01-20 11:06:56.409021742 +0000 +@@ -1,5 +1,5 @@ + tox>=2.5.0,<3.0.0 +-python-dateutil>=2.1,<3.0.0 ++python-dateutil>=1.4,<3.0.0 + nose==1.3.0 + mock==1.3.0 + wheel==0.24.0 +diff -ur botocore-1.5.3.orig/setup.cfg botocore-1.5.3/setup.cfg +--- botocore-1.5.3.orig/setup.cfg 2017-01-20 11:06:07.082344504 +0000 ++++ botocore-1.5.3/setup.cfg 2017-01-20 11:07:15.994496531 +0000 +@@ -3,7 +3,7 @@ + + [metadata] + requires-dist = +- python-dateutil>=2.1,<3.0.0 ++ python-dateutil>=1.4,<3.0.0 + jmespath>=0.7.1,<1.0.0 + docutils>=0.10 + ordereddict==1.1; python_version=="2.6" +diff -ur botocore-1.5.3.orig/setup.py botocore-1.5.3/setup.py +--- botocore-1.5.3.orig/setup.py 2017-01-20 11:06:07.078344611 +0000 ++++ botocore-1.5.3/setup.py 2017-01-20 11:07:27.367191557 +0000 +@@ -6,7 +6,7 @@ + + + requires = ['jmespath>=0.7.1,<1.0.0', +- 'python-dateutil>=2.1,<3.0.0', ++ 'python-dateutil>=1.4,<3.0.0', + 'docutils>=0.10'] + + diff --git a/python-botocore.spec b/python-botocore.spec new file mode 100644 index 0000000..bd03b1a --- /dev/null +++ b/python-botocore.spec @@ -0,0 +1,372 @@ +%if 0%{?rhel} && 0%{?rhel} <= 7 +%bcond_with python3 +%bcond_without fix_dateutil +%else +%bcond_without python3 +%bcond_with fix_dateutil +%endif + +# Enable tests +%bcond_with test +# Disable documentation generation for now +%bcond_with docs + +%if 0%{?rhel} > 7 +# Disable python2 build by default +%bcond_with python2 +%else +%bcond_without python2 +%endif + +%global pypi_name botocore + +Name: python-%{pypi_name} +Version: 1.9.1 +Release: 2%{?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 +Patch0: botocore-1.5.3-fix_dateutil_version.patch +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. + +%if %{with python2} +%package -n python2-%{pypi_name} +Summary: Low-level, data-driven core of boto 3 +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%if %{with docs} +BuildRequires: python2-sphinx +BuildRequires: python2-guzzle_sphinx_theme +%endif # with docs +%if %{with tests} +%{?fc23:BuildRequires: mock} +%{!?fc23:BuildRequires: python2-mock} +BuildRequires: python2-behave +BuildRequires: python2-nose +BuildRequires: python2-six +BuildRequires: python2-wheel +BuildRequires: python2-docutils +BuildRequires: python2-dateutil +BuildRequires: python2-jmespath +%endif # with tests +Requires: python2-jmespath >= 0.7.1 +%if %{with fix_dateutil} +Requires: python2-dateutil >= 1.4 +%else +Requires: python2-dateutil >= 2.1 +%endif # with fix_dateutil +Requires: python2-docutils >= 0.10 +%{?el6:Provides: python-%{pypi_name}} +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{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. +%endif # with python2 + +%if %{with python3} +%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 +%if %{with tests} +%{?fc24:BuildRequires: python3-behave} +BuildRequires: python3-mock +BuildRequires: python3-nose +BuildRequires: python3-six +BuildRequires: python3-wheel +BuildRequires: python3-docutils +BuildRequires: python3-dateutil +BuildRequires: python3-jmespath +%endif # with tests +Requires: python3-jmespath >= 0.7.1 +%if %{with fix_dateutil} +Requires: python3-dateutil >= 1.4 +%else +Requires: python3-dateutil >= 2.1 +%endif # with fix_dateutil +Requires: python3-docutils >= 0.10 +%{?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. +%endif # with_python3 + +%if %{with docs} +%package doc +Summary: Documentation for %{name} +%description doc +%{summary}. +%endif # with docs + +%prep +%setup -q -n %{pypi_name}-%{version} +%if %{with fix_dateutil} +%patch0 -p1 +%endif # with fix_dateutil +sed -i -e '1 d' botocore/vendored/requests/packages/chardet/chardetect.py +sed -i -e '1 d' botocore/vendored/requests/certs.py +rm -rf %{pypi_name}.egg-info +# Remove online tests +rm -rf tests/integration + +%build +%if %{with python2} +%py2_build +%endif # with python2 +%if %{with python3} +%py3_build +%endif # with python3 + +%install +%if %{with python3} +%py3_install +%endif # with python3 +%if %{with python2} +%py2_install +%endif # with python2 +%if %{with docs} +%if %{with python3} +sphinx-build-3 docs/source html +rm -rf html/.{doctrees,buildinfo} +%else # with python3 +sphinx-build docs/source html +rm -rf html/.{doctrees,buildinfo} +%endif # with python3 +%endif # with docs + +%if %{with tests} +%check +%if %{with python2} +# %{__python2} setup.py test +nosetests-2.7 --with-coverage --cover-erase --cover-package botocore --with-xunit --cover-xml -v tests/unit/ tests/functional/ +%endif # with python2 +%if %{with python3} +# %{__python3} setup.py test +nosetests-3.5 --with-coverage --cover-erase --cover-package botocore --with-xunit --cover-xml -v tests/unit/ tests/functional/ +%endif # with python3 +%endif # with tests + +%{!?_licensedir:%global license %doc} + +%if %{with python2} +%files -n python2-%{pypi_name} +%doc README.rst +%license LICENSE.txt +%{python2_sitelib}/%{pypi_name}/ +%{python2_sitelib}/%{pypi_name}-*.egg-info/ +%endif # with python2 + +%if %{with python3} +%files -n python3-%{pypi_name} +%doc README.rst +%license LICENSE.txt +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-*.egg-info/ +%endif # with python3 + +%if %{with docs} +%files doc +%doc html +%endif # with docs + +%changelog +* Thu Jun 14 2018 Charalampos Stratakis - 1.9.1-2 +- Conditionalize the python2 subpackage + +* Wed Feb 28 2018 Charalampos Stratakis - 1.9.1-1 +- Update to 1.9.1 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.8.33-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 20 2018 Charalampos Stratakis - 1.8.33-1 +- Update to 1.8.33 + +* Tue Jan 16 2018 Charalampos Stratakis - 1.8.29-1 +- Update to 1.8.29 + +* Wed Jan 10 2018 Charalampos Stratakis - 1.8.26-1 +- Update to 1.8.26 + +* Wed Jan 03 2018 Charalampos Stratakis - 1.8.21-1 +- Update to 1.8.21 + +* Sun Aug 13 2017 Fabio Alessandro Locati - 1.6.0-1 +- Update to 1.6.0 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.5.72-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 21 2017 Fabio Alessandro Locati - 1.5.72-1 +- Update to 1.5.72 + +* Tue May 23 2017 Fabio Alessandro Locati - 1.5.53-1 +- Update to 1.5.53 + +* Wed Mar 15 2017 Fabio Alessandro Locati - 1.5.26-1 +- Update to 1.5.26 + +* Sat Feb 25 2017 Fabio Alessandro Locati - 1.5.18-1 +- Update to 1.5.18 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 20 2017 Fabio Alessandro Locati - 1.5.3-1 +- Update to 1.5.3 +- Rebase patch + +* Wed Dec 28 2016 Fabio Alessandro Locati - 1.4.91-1 +- Update to 1.4.91 + +* Mon Dec 19 2016 Miro HronĨok - 1.4.85-2 +- Rebuild for Python 3.6 + +* Sun Dec 11 2016 Fabio Alessandro Locati - 1.4.85-1 +- Update to 1.4.85 + +* Sat Dec 03 2016 Fabio Alessandro Locati - 1.4.81-1 +- Update to 1.4.81 + +* Thu Nov 24 2016 Fabio Alessandro Locati - 1.4.78-1 +- Update to 1.4.78 + +* Thu Oct 27 2016 Fabio Alessandro Locati - 1.4.67-1 +- Update to 1.4.67 + +* Mon Oct 10 2016 Fabio Alessandro Locati - 1.4.60-1 +- Update to 1.4.60 + +* Sun Oct 02 2016 Fabio Alessandro Locati - 1.4.58-1 +- Update to 1.4.58 +- Add python-six dependency + +* Wed Sep 28 2016 Fabio Alessandro Locati - 1.4.57-1 +- Update to 1.4.57 + +* Tue Sep 13 2016 Fabio Alessandro Locati - 1.4.52-3 +- Fix patch + +* Tue Sep 13 2016 Fabio Alessandro Locati - 1.4.52-2 +- Add testing support for EL7 using a lower version of dateuil library + +* Wed Sep 07 2016 Fabio Alessandro Locati - 1.4.52-1 +- Update to 1.4.52 + +* Sat Sep 03 2016 Igor Gnatenko - 1.4.50-1 +- Update to 1.4.50 + +* Wed Aug 24 2016 Fabio Alessandro Locati - 1.4.49-1 +- Upstream update + +* Tue Aug 23 2016 Fabio Alessandro Locati - 1.4.48-1 +- Upstream update + +* Fri Aug 05 2016 Fabio Alessandro Locati - 1.4.43-1 +- Upstream update + +* Thu Aug 04 2016 Fabio Alessandro Locati - 1.4.42-1 +- Upstream update + +* Tue Aug 02 2016 Fabio Alessandro Locati - 1.4.41-1 +- Upstream update + +* Tue Jul 19 2016 Fedora Release Engineering - 1.4.35-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Jul 06 2016 Fabio Alessandro Locati - 1.4.35-1 +- New version from upstream + +* Wed Jun 08 2016 Fabio Alessandro Locati - 1.4.26-1 +- New version from upstream + +* Sat May 28 2016 Fabio Alessandro Locati - 1.4.24-1 +- New version from upstream + +* Tue Mar 29 2016 Fabio Alessandro Locati - 1.4.7-1 +- New version from upstream + +* Tue Mar 01 2016 Fabio Alessandro Locati - 1.3.30-1 +- New version from upstream + +* Wed Feb 24 2016 Fabio Alessandro Locati - 1.3.29-1 +- New version from upstream + +* Fri Feb 19 2016 Fabio Alessandro Locati - 1.3.28-1 +- New version from upstream + +* Wed Feb 17 2016 Fabio Alessandro Locati - 1.3.27-1 +- New version from upstream + +* Fri Feb 12 2016 Fabio Alessandro Locati - 1.3.26-1 +- New version from upstream + +* Wed Feb 10 2016 Fabio Alessandro Locati - 1.3.25-1 +- New version from upstream + +* Tue Feb 09 2016 Fabio Alessandro Locati - 1.3.24-1 +- New version from upstream + +* Tue Feb 02 2016 Fabio Alessandro Locati - 1.3.23-1 +- New version from upstream + +* Fri Jan 22 2016 Fabio Alessandro Locati - 1.3.22-1 +- New version from upstream + +* Wed Jan 20 2016 Fabio Alessandro Locati - 1.3.21-1 +- New version from upstream + +* Fri Jan 15 2016 Fabio Alessandro Locati - 1.3.20-1 +- New version from upstream + +* Fri Jan 15 2016 Fabio Alessandro Locati - 1.3.19-1 +- New version from upstream + +* Wed Jan 13 2016 Fabio Alessandro Locati - 1.3.18-1 +- New version from upstream + +* Tue Jan 12 2016 Fabio Alessandro Locati - 1.3.17-2 +- Add testing for Fedora + +* Thu Jan 07 2016 Fabio Alessandro Locati - 1.3.17-1 +- Update to upstream version + +* Wed Jan 06 2016 Fabio Alessandro Locati - 1.3.16-2 +- Fix shabang on botocore/vendored/requests/packages/chardet/chardetect.py +- Fix shabang on botocore/vendored/requests/certs.py +- Remove the useless dependency with python-urllib3 + +* Wed Jan 06 2016 Fabio Alessandro Locati - 1.3.16-1 +- Update to new upstream version +- Fix Provides for EL6 + +* Tue Dec 29 2015 Fabio Alessandro Locati - 1.3.15-1 +- Update to current version +- Improve the spec + +* Tue Nov 10 2015 Fedora Release Engineering - 0.79.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.79.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Dec 19 2014 Lubomir Rintel - 0.79.0-1 +- New version + +* Fri Jul 25 2014 Lubomir Rintel - 0.58.0-2 +- Add Python 3 support + +* Fri Jul 25 2014 Lubomir Rintel - 0.58.0-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..0ba08f8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (botocore-1.9.1.tar.gz) = 4fe666f4d109b1093c967576f37a1a63c03ada7ddb73daa7b59c908643698437d91d14de35d135b25a0bb3adf31749e2239f76482e109b0af4a6e9b645c9c160