aws-cli/hide_py_pckgmgmt.patch
Robert Schweikert f402cdaa17 Accepting request 635509 from home:glaubitz:branches:Cloud:Tools
- Update to version 1.16.1 (bsc#1105988, bsc#1092493)
  + Fix CVE-2018-15869
  + For detailed changes see
    https://github.com/aws/aws-cli/blob/1.16.1/CHANGELOG.rst
  + Forward port hide_py_pckgmgmt.patch
  + Replace vendored version of six from botocore with upstream version
  + Update Requires in spec file from setup.py

OBS-URL: https://build.opensuse.org/request/show/635509
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=46
2018-09-17 14:53:24 +00:00

51 lines
1.6 KiB
Diff

--- setup.py.orig 2018-08-25 03:51:52.000000000 +0200
+++ setup.py 2018-08-25 17:41:34.441844517 +0200
@@ -23,18 +23,18 @@
raise RuntimeError("Unable to find version string.")
-requires = ['botocore==1.11.1',
- 'colorama>=0.2.5,<=0.3.9',
- 'docutils>=0.10',
- 'rsa>=3.1.2,<=3.5.0',
- 's3transfer>=0.1.12,<0.2.0',
- 'PyYAML>=3.10,<=3.13']
+# requires = ['botocore==1.11.1',
+# 'colorama>=0.2.5,<=0.3.9',
+# 'docutils>=0.10',
+# 'rsa>=3.1.2,<=3.5.0',
+# 's3transfer>=0.1.12,<0.2.0',
+# 'PyYAML>=3.10,<=3.13']
-if sys.version_info[:2] == (2, 6):
- # For python2.6 we have to require argparse since it
- # was not in stdlib until 2.7.
- requires.append('argparse>=1.1')
+# if sys.version_info[:2] == (2, 6):
+# # For python2.6 we have to require argparse since it
+# # was not in stdlib until 2.7.
+# requires.append('argparse>=1.1')
setup_options = dict(
@@ -51,12 +51,12 @@
package_data={'awscli': ['data/*.json', 'examples/*/*.rst',
'examples/*/*/*.rst', 'topics/*.rst',
'topics/*.json']},
- install_requires=requires,
- extras_require={
- ':python_version=="2.6"': [
- 'argparse>=1.1',
- ]
- },
+ # install_requires=requires,
+ # extras_require={
+ # ':python_version=="2.6"': [
+ # 'argparse>=1.1',
+ # ]
+ # },
license="Apache License 2.0",
classifiers=(
'Development Status :: 5 - Production/Stable',