commit 28e0268f96bba6019c790d688164640e7774a92a4283741d768dba2fda1d4bbf Author: Robert Schweikert Date: Wed Feb 26 19:04:35 2014 +0000 osc copypac from project:Cloud:EC2 package:aws-cli revision:2 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/aws-cli-1.2.13.tar.gz b/aws-cli-1.2.13.tar.gz new file mode 100644 index 0000000..9be7714 --- /dev/null +++ b/aws-cli-1.2.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb66100f4f4e334660cbe006f1c20217746983d528b12eb20b38e2e2130efed6 +size 355241 diff --git a/aws-cli.changes b/aws-cli.changes new file mode 100644 index 0000000..fed0a12 --- /dev/null +++ b/aws-cli.changes @@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Wed Feb 26 17:20:36 UTC 2014 - rschweikert@suse.com + +- update to version 1.2.13 + + feature:aws route53: Update aws route53 command to support string-match + health checks and the UPSERT action for the aws route53 + change-resource-record-sets command + + bugfix:Command Completion: Don't show tracebacks on SIGINT (issue 628) + + bugfix:Docs: Don't duplicate enum values in reference docs (issue 632) + + bugfix:aws s3: Don't require s3:// prefix (issue 626) + + feature:aws configure: Add support for configure get and configure set + command which allow you to set and get configuration values from the AWS + config file (`issue 602 = 1.1 +%endif +Requires: python-bcdoc >= 0.12.0 +Requires: python-botocore >= 0.30.0 +Requires: python-colorama >= 0.2.5 +Requires: python-docutils >= 0.10 +Requires: python-rsa >= 3.1.2 +Requires: python-six >= 1.1.0 +BuildRequires: python +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif + + +%description +The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts. + +%prep +%setup -q +%patch0 -p1 + + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir} +# No DOS crap +rm %{buildroot}/%{_bindir}/aws.cmd + +%files +%defattr(-,root,root,-) +%doc CHANGELOG.rst LICENSE.txt README.rst +%dir %{python_sitelib}/awscli +%dir %{python_sitelib}/awscli-%{version}-py%{py_ver}.egg-info +%{_bindir}/* +%{python_sitelib}/awscli/* +%{python_sitelib}/*egg-info/* + + +%changelog + + diff --git a/hide_py_pckgmgmt.patch b/hide_py_pckgmgmt.patch new file mode 100644 index 0000000..ae990d3 --- /dev/null +++ b/hide_py_pckgmgmt.patch @@ -0,0 +1,41 @@ +Index: aws-cli-1.2.13/setup.py +=================================================================== +--- aws-cli-1.2.13.orig/setup.py ++++ aws-cli-1.2.13/setup.py +@@ -6,17 +6,17 @@ from setuptools import setup, find_packa + import awscli + + +-requires = ['botocore>=0.33.0,<0.34.0', +- 'bcdoc>=0.12.0,<0.13.0', +- 'six>=1.1.0', +- 'colorama==0.2.5', +- 'docutils>=0.10', +- 'rsa==3.1.2'] ++#requires = ['botocore>=0.33.0,<0.34.0', ++# 'bcdoc>=0.12.0,<0.13.0', ++# 'six>=1.1.0', ++# 'colorama==0.2.5', ++# 'docutils>=0.10', ++# 'rsa==3.1.2'] + +-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( +@@ -33,7 +33,7 @@ setup_options = dict( + package_dir={'awscli': 'awscli'}, + package_data={'awscli': ['data/*.json', 'examples/*/*.rst', + 'examples/*/*/*.rst']}, +- install_requires=requires, ++# install_requires=requires, + license="Apache License 2.0", + classifiers=( + 'Development Status :: 5 - Production/Stable',