python-s3transfer/hide_py_pckgmgmt.patch
Robert Schweikert bdfe6fbea5 Accepting request 674552 from home:glaubitz:branches:devel:languages:python:aws
- Update to version 0.2.0
  * feature:``ProcessPoolDownloader``: Add ``ProcessPoolDownloader`` class
    to speed up download throughput by using processes instead of threads.
- Drop obsolete patch
  + system-requests.patch
- Refresh patches for new version
  + hide_py_pckgmgmt.patch
  + no-bundled-packages.patch
- Update Requires in spec file from setup.py

OBS-URL: https://build.opensuse.org/request/show/674552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-s3transfer?expand=0&rev=6
2019-02-13 13:29:44 +00:00

44 lines
1.3 KiB
Diff

diff -Nru s3transfer-0.2.0.orig/setup.py s3transfer-0.2.0/setup.py
--- s3transfer-0.2.0.orig/setup.py 2019-02-07 00:14:54.000000000 +0100
+++ s3transfer-0.2.0/setup.py 2019-02-13 13:26:03.879007918 +0100
@@ -10,15 +10,15 @@
VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''')
-requires = [
- 'botocore>=1.12.36,<2.0.0',
-]
+# requires = [
+# 'botocore>=1.12.36,<2.0.0',
+# ]
-if sys.version_info[0] == 2:
- # concurrent.futures is only in python3, so for
- # python2 we need to install the backport.
- requires.append('futures>=2.2.0,<4.0.0')
+# if sys.version_info[0] == 2:
+# # concurrent.futures is only in python3, so for
+# # python2 we need to install the backport.
+# requires.append('futures>=2.2.0,<4.0.0')
def get_version():
@@ -36,11 +36,11 @@
url='https://github.com/boto/s3transfer',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
- install_requires=requires,
- extras_require={
- ':python_version=="2.6" or python_version=="2.7"': [
- 'futures>=2.2.0,<4.0.0']
- },
+ # install_requires=requires,
+ # extras_require={
+ # ':python_version=="2.6" or python_version=="2.7"': [
+ # 'futures>=2.2.0,<4.0.0']
+ # },
license="Apache License 2.0",
classifiers=(
'Development Status :: 3 - Alpha',