3 %bcond_without tests # unit tests
5 Summary: Amazon S3 Transfer Manager
6 Summary(pl.UTF-8): Zarządca transferu danych Amazon S3
7 Name: python3-s3transfer
11 Group: Libraries/Python
12 #Source0Download: https://pypi.org/simple/s3transfer/
13 Source0: https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
14 # Source0-md5: 9416d1c7d33506501a8627bb1f7baf66
15 Patch0: %{name}-mock.patch
16 Patch1: %{name}-tests.patch
17 URL: https://pypi.org/project/s3transfer/
18 BuildRequires: python3-modules >= 1:3.6
19 BuildRequires: python3-setuptools
21 BuildRequires: python3-botocore >= 1.12.36
22 BuildRequires: python3-nose >= 1.3.3
23 BuildRequires: python3-six
25 BuildRequires: rpm-pythonprov
26 BuildRequires: rpmbuild(macros) >= 1.714
27 Requires: python3-modules >= 1:3.6
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 S3transfer is a Python library for managing Amazon S3 transfers.
34 %description -l pl.UTF-8
35 S3transfer to pythonowa biblioteka do zarządzania przesyłami danych
39 %setup -q -n s3transfer-%{version}
47 %{__python3} -m unittest discover -s tests/unit
51 rm -rf $RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %{py3_sitescriptdir}/s3transfer
62 %{py3_sitescriptdir}/s3transfer-%{version}-py*.egg-info