[packages/python3-boto3] - python-boto3.spec updated to 1.24.96 for python 3.7+, compatible with s3transfer 0.6.x and botocor

qboosh qboosh at pld-linux.org
Sun Oct 22 20:08:11 CEST 2023


commit 06333de7dc2d7003f6d086c2c41e563b4c22ce52
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 22 20:10:20 2023 +0200

    - python-boto3.spec updated to 1.24.96 for python 3.7+, compatible with s3transfer 0.6.x and botocore 1.27.x

 python-boto3.spec  | 128 -----------------------------------------------------
 python3-boto3.spec |  65 +++++++++++++++++++++++++++
 2 files changed, 65 insertions(+), 128 deletions(-)
---
diff --git a/python-boto3.spec b/python-boto3.spec
deleted file mode 100644
index e7ff87c..0000000
--- a/python-boto3.spec
+++ /dev/null
@@ -1,128 +0,0 @@
-#
-# Conditional build:
-%bcond_with	tests	# unit tests (not included in sdist)
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
-
-Summary:	AWS SDK for Python 2
-Summary(pl.UTF-8):	AWS SDK dla Pythona 2
-Name:		python-boto3
-# keep 1.17.x here for python2 support
-Version:	1.17.112
-Release:	1
-License:	Apache v2.0
-Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/boto3/
-Source0:	https://files.pythonhosted.org/packages/source/b/boto3/boto3-%{version}.tar.gz
-# Source0-md5:	fc5e9145eb1fbc0601c94ed3918f1508
-URL:		https://pypi.org/project/boto3/
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-%if %{with tests}
-BuildRequires:	python-botocore >= 1.20.112
-BuildRequires:	python-botocore < 1.21
-BuildRequires:	python-jmespath >= 0.7.1
-BuildRequires:	python-jmespath < 1
-BuildRequires:	python-mock >= 1.3.0
-BuildRequires:	python-nose >= 1.3.3
-BuildRequires:	python-s3transfer >= 0.4.0
-BuildRequires:	python-s3transfer < 0.5
-%endif
-%endif
-%if %{with python3}
-BuildRequires:	python3-modules >= 1:3.6
-BuildRequires:	python3-setuptools
-%if %{with tests}
-BuildRequires:	python3-botocore >= 1.20.112
-BuildRequires:	python3-botocore < 1.21
-BuildRequires:	python3-jmespath >= 0.7.1
-BuildRequires:	python3-jmespath < 1
-BuildRequires:	python3-nose >= 1.3.3
-BuildRequires:	python3-s3transfer >= 0.4.0
-BuildRequires:	python3-s3transfer < 0.5
-%endif
-%endif
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.7
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK)
-for Python, which allows Python developers to write software that
-makes use of services like Amazon S3 and Amazon EC2.
-
-%description -l pl.UTF-8
-Boto3 to pakiet programistyczny (SDK) usług AWS (Amazon Web Services),
-pozwalający na pisanie w Pythonie oprogramowania wykorzystującego
-usługi takie jak Amazon S3 i Amazon EC2.
-
-%package -n python3-boto3
-Summary:	AWS SDK for Python 3
-Summary(pl.UTF-8):	AWS SDK dla Pythona 3
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.6
-
-%description -n python3-boto3
-Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK)
-for Python, which allows Python developers to write software that
-makes use of services like Amazon S3 and Amazon EC2.
-
-%description -n python3-boto3 -l pl.UTF-8
-Boto3 to pakiet programistyczny (SDK) usług AWS (Amazon Web Services),
-pozwalający na pisanie w Pythonie oprogramowania wykorzystującego
-usługi takie jak Amazon S3 i Amazon EC2.
-
-%prep
-%setup -q -n boto3-%{version}
-
-%build
-%if %{with python2}
-%py_build
-
-%if %{with tests}
-nosetests-%{py_ver} tests
-%endif
-%endif
-
-%if %{with python3}
-%py3_build
-
-%if %{with tests}
-nosetests-%{py3_ver} tests
-%endif
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc README.rst
-%{py_sitescriptdir}/boto3
-%{py_sitescriptdir}/boto3-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-boto3
-%defattr(644,root,root,755)
-%doc README.rst
-%{py3_sitescriptdir}/boto3
-%{py3_sitescriptdir}/boto3-%{version}-py*.egg-info
-%endif
diff --git a/python3-boto3.spec b/python3-boto3.spec
new file mode 100644
index 0000000..eccd6b0
--- /dev/null
+++ b/python3-boto3.spec
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_with	tests	# unit tests (not included in sdist)
+
+Summary:	AWS SDK for Python 2
+Summary(pl.UTF-8):	AWS SDK dla Pythona 2
+Name:		python3-boto3
+Version:	1.24.96
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/boto3/
+Source0:	https://files.pythonhosted.org/packages/source/b/boto3/boto3-%{version}.tar.gz
+# Source0-md5:	116e218c5adffd7d327bf3639f0ccdb6
+URL:		https://pypi.org/project/boto3/
+BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3-setuptools
+%if %{with tests}
+BuildRequires:	python3-botocore >= 1.27.96
+BuildRequires:	python3-botocore < 1.28
+BuildRequires:	python3-jmespath >= 0.7.1
+BuildRequires:	python3-jmespath < 1
+BuildRequires:	python3-nose >= 1.3.3
+BuildRequires:	python3-s3transfer >= 0.6.0
+BuildRequires:	python3-s3transfer < 0.7
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK)
+for Python, which allows Python developers to write software that
+makes use of services like Amazon S3 and Amazon EC2.
+
+%description -l pl.UTF-8
+Boto3 to pakiet programistyczny (SDK) usług AWS (Amazon Web Services),
+pozwalający na pisanie w Pythonie oprogramowania wykorzystującego
+usługi takie jak Amazon S3 i Amazon EC2.
+
+%prep
+%setup -q -n boto3-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+nosetests-%{py3_ver} tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/boto3
+%{py3_sitescriptdir}/boto3-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-boto3.git/commitdiff/06333de7dc2d7003f6d086c2c41e563b4c22ce52



More information about the pld-cvs-commit mailing list