Accepting request 840492 from Cloud:Tools

OBS-URL: https://build.opensuse.org/request/show/840492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aws-cli?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2020-10-23 12:00:41 +00:00 committed by Git OBS Bridge
commit 2e0a558ba8
5 changed files with 16 additions and 56 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8a0293b84a63b27aef136499b0fbb4a04b05e792543568a399235a1c1c7d240
size 1853244

3
aws-cli-1.18.156.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1676a9b715ca6a46884ba8576afe70f2b2bcdedf4346cd8edd37e2b86341ae64
size 1879128

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Oct 9 10:40:09 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.18.156
+ For detailed changes see
https://github.com/aws/aws-cli/blob/1.18.156/CHANGELOG.rst
- Drop patches no longer required
+ hide_py_pckgmgmt.patch
- Update Requires in spec file from setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 7 18:23:37 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Sep 7 18:23:37 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -17,14 +17,13 @@
Name: aws-cli Name: aws-cli
Version: 1.18.133 Version: 1.18.156
Release: 0 Release: 0
Summary: Amazon Web Services Command Line Interface Summary: Amazon Web Services Command Line Interface
License: Apache-2.0 License: Apache-2.0
Group: System/Management Group: System/Management
URL: https://github.com/aws/aws-cli URL: https://github.com/aws/aws-cli
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch
BuildRequires: fdupes BuildRequires: fdupes
Requires: groff Requires: groff
Provides: awscli = %{version} Provides: awscli = %{version}
@ -35,7 +34,7 @@ BuildRequires: python3-setuptools
Requires: python3 Requires: python3
Requires: python3-PyYAML <= 6.0.0 Requires: python3-PyYAML <= 6.0.0
Requires: python3-PyYAML >= 3.10 Requires: python3-PyYAML >= 3.10
Requires: python3-botocore >= 1.17.56 Requires: python3-botocore >= 1.18.15
Requires: python3-colorama <= 0.4.4 Requires: python3-colorama <= 0.4.4
Requires: python3-colorama >= 0.2.5 Requires: python3-colorama >= 0.2.5
Requires: python3-docutils >= 0.10 Requires: python3-docutils >= 0.10
@ -51,7 +50,7 @@ BuildRequires: python-setuptools
Requires: python Requires: python
Requires: python-PyYAML <= 5.4 Requires: python-PyYAML <= 5.4
Requires: python-PyYAML >= 3.10 Requires: python-PyYAML >= 3.10
Requires: python-botocore >= 1.17.56 Requires: python-botocore >= 1.18.15
Requires: python-colorama <= 0.3.9 Requires: python-colorama <= 0.3.9
Requires: python-colorama >= 0.2.5 Requires: python-colorama >= 0.2.5
Requires: python-docutils >= 0.10 Requires: python-docutils >= 0.10
@ -69,7 +68,6 @@ from the command line and automated through scripts.
%prep %prep
%setup -q %setup -q
%patch0
sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py sed -i 's/from botocore\.vendored //' awscli/customizations/awslambda.py
sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py sed -i 's/botocore\.vendored\.//' awscli/customizations/configure/__init__.py

View File

@ -1,48 +0,0 @@
--- setup.py.orig 2020-09-04 20:13:48.000000000 +0200
+++ setup.py 2020-09-07 20:23:23.734670079 +0200
@@ -23,21 +23,21 @@
raise RuntimeError("Unable to find version string.")
-install_requires = [
- 'botocore==1.17.56',
- 'docutils>=0.10,<0.16',
- 's3transfer>=0.3.0,<0.4.0',
-]
+# install_requires = [
+# 'botocore==1.17.56',
+# 'docutils>=0.10,<0.16',
+# 's3transfer>=0.3.0,<0.4.0',
+# ]
-if sys.version_info[:2] == (3, 4):
- install_requires.append('PyYAML>=3.10,<5.3')
- install_requires.append('colorama>=0.2.5,<0.4.2')
- install_requires.append('rsa>=3.1.2,<=4.0.0')
-else:
- install_requires.append('PyYAML>=3.10,<5.4')
- install_requires.append('colorama>=0.2.5,<0.4.4')
- install_requires.append('rsa>=3.1.2,<=4.5.0')
+# if sys.version_info[:2] == (3, 4):
+# install_requires.append('PyYAML>=3.10,<5.3')
+# install_requires.append('colorama>=0.2.5,<0.4.2')
+# install_requires.append('rsa>=3.1.2,<=4.0.0')
+# else:
+# install_requires.append('PyYAML>=3.10,<5.4')
+# install_requires.append('colorama>=0.2.5,<0.4.4')
+# install_requires.append('rsa>=3.1.2,<=4.5.0')
setup_options = dict(
@@ -55,8 +55,8 @@
'examples/*/*.txt', 'examples/*/*/*.txt',
'examples/*/*/*.rst', 'topics/*.rst',
'topics/*.json']},
- install_requires=install_requires,
- extras_require={},
+ # install_requires=install_requires,
+ # extras_require={},
license="Apache License 2.0",
classifiers=[
'Development Status :: 5 - Production/Stable',