]> git.pld-linux.org Git - packages/python3-boto3.git/commitdiff
- python-boto3.spec updated to 1.24.96 for python 3.7+, compatible with s3transfer... master auto/th/python3-boto3-1.24.96-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Oct 2023 18:10:20 +0000 (20:10 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Oct 2023 18:10:20 +0000 (20:10 +0200)
python-boto3.spec [deleted file]
python3-boto3.spec [new file with mode: 0644]

diff --git a/python-boto3.spec b/python-boto3.spec
deleted file mode 100644 (file)
index e7ff87c..0000000
+++ /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 (file)
index 0000000..eccd6b0
--- /dev/null
@@ -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
This page took 0.10353 seconds and 4 git commands to generate.