Accepting request 223980 from devel:languages:python

- dependency for aws-cli, tools to manage AWS functionality

OBS-URL: https://build.opensuse.org/request/show/223980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-botocore?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal 2014-03-02 17:22:01 +00:00 committed by Git OBS Bridge
commit 1d2a1dd393
6 changed files with 201 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
botocore-0.33.0.tar.gz Normal file
View File

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

50
hide_py_pckgmgmt.patch Normal file
View File

@ -0,0 +1,50 @@
--- setup.py.orig
+++ setup.py
@@ -10,22 +10,22 @@ import botocore
from setuptools import setup, find_packages
-requires = ['six>=1.1.0',
- 'jmespath==0.2.1',
- 'python-dateutil>=2.1']
-
-
-if sys.version_info[:2] == (2, 6):
- # For python2.6 we have a few other dependencies.
- # First we need an ordered dictionary so we use the
- # 2.6 backport.
- requires.append('ordereddict==1.1')
- # Then we need simplejson. This is because we need
- # a json version that allows us to specify we want to
- # use an ordereddict instead of a normal dict for the
- # JSON objects. The 2.7 json module has this. For 2.6
- # we need simplejson.
- requires.append('simplejson==3.3.0')
+#requires = ['six>=1.1.0',
+# 'jmespath==0.2.1',
+# 'python-dateutil>=2.1']
+
+
+#if sys.version_info[:2] == (2, 6):
+# # For python2.6 we have a few other dependencies.
+# # First we need an ordered dictionary so we use the
+# # 2.6 backport.
+# requires.append('ordereddict==1.1')
+# # Then we need simplejson. This is because we need
+# # a json version that allows us to specify we want to
+# # use an ordereddict instead of a normal dict for the
+# # JSON objects. The 2.7 json module has this. For 2.6
+# # we need simplejson.
+# requires.append('simplejson==3.3.0')
setup(
@@ -42,7 +42,7 @@ setup(
'botocore.vendored.requests': ['*.pem']},
package_dir={'botocore': 'botocore'},
include_package_data=True,
- install_requires=requires,
+# install_requires=requires,
license=open("LICENSE.txt").read(),
classifiers=(
'Development Status :: 3 - Alpha',

53
python-botocore.changes Normal file
View File

@ -0,0 +1,53 @@
-------------------------------------------------------------------
Wed Feb 26 16:35:38 UTC 2014 - rschweikert@suse.com
- Update to version 0.33
+ There is no upstream change log
+ Code license changed to Apache-2.0 from MIT
- Include in SLE 12 (FATE #315990)
-------------------------------------------------------------------
Sat Jan 18 13:04:54 UTC 2014 - rschweikert@suse.com
- Update to version 0.30
+ There is no upstream change log
+ listing the git log between previous version 0.17.0 and this 0.30.0
is too exhaustive
-------------------------------------------------------------------
Thu Oct 24 10:59:23 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Sun Sep 22 13:58:54 UTC 2013 - aboe76@gmail.com
- Version 0.17.0 released
- Updateds ot s3-model/opsworks-model
- fix aws cli issues
-------------------------------------------------------------------
Wed Sep 11 16:15:18 UTC 2013 - aboe76@gmail.com
- Updated package to version 0.16.0
- A lot of updates, still no changelog found
- see https://github.com/boto/botocore for more information
-------------------------------------------------------------------
Tue May 7 18:00:51 UTC 2013 - aboe76@gmail.com
- Updated package to version 0.9.2
- eu-west-1 region support
- added support service
-------------------------------------------------------------------
Mon Apr 15 16:26:11 UTC 2013 - aboe76@gmail.com
- Updated package python-botocore 0.9.0
- no changelog found
-------------------------------------------------------------------
Fri Feb 15 20:17:32 UTC 2013 - aboe76@gmail.com
- initial package python-botocore 0.5.4

71
python-botocore.spec Normal file
View File

@ -0,0 +1,71 @@
#
# spec file for package python-botocore
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define baseName botocore
Name: python-botocore
Version: 0.33.0
Release: 0
Summary: Python interface for AWS
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/boto/botocore
Source0: %{baseName}-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch
Requires: python
Requires: python-dateutil >= 2.1
Requires: python-jmespath >= 0.2.1
Requires: python-six >= 1.1.0
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires: python-ordereddict >= 1.1
Requires: python-simplejson >= 3.3.0
%endif
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A low-level interface to a growing number of Amazon Web Services.
%prep
%setup -q -n %{baseName}-%{version}
%patch0
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
%files
%defattr(-,root,root,-)
%doc CONTRIBUTING.rst LICENSE.txt NOTICE README.rst
%dir %{python_sitelib}/botocore
%dir %{python_sitelib}/%{baseName}-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/botocore/*
%{python_sitelib}/*egg-info/*
%changelog