Accepting request 495651 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/495651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-boto3?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2017-05-18 18:48:30 +00:00 committed by Git OBS Bridge
parent 249a9413a1
commit 40662c975d
4 changed files with 27 additions and 19 deletions

View File

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

3
boto3-1.4.4.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 11 01:10:44 UTC 2017 - toddrme2178@gmail.com
- Implement single-spec version
- Update source URL.
- Update to version 1.4.3
* feature:``s3``: Add ability to disable thread use with ``use_threads`` option
* bugfix:Resource: Fix resource hashing.
-------------------------------------------------------------------
Wed Jan 18 10:37:19 UTC 2017 - astieger@suse.com

View File

@ -16,31 +16,30 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-boto3
Version: 1.4.2
Version: 1.4.4
Release: 0
Url: https://github.com/boto/boto3
Summary: Amazon Web Services Library
License: Apache-2.0
Group: Development/Languages/Python
Source: https://pypi.io/packages/source/b/boto3/boto3-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/b/boto3/boto3-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-devel
BuildRequires: python-futures
BuildRequires: python-setuptools
Requires: python-botocore < 1.5.0
Requires: python-botocore >= 1.4.67
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module futures}
Requires: python-botocore < 1.6.0
Requires: python-botocore >= 1.5.0
Requires: python-futures
Requires: python-jmespath < 1.0.0
Requires: python-jmespath >= 0.7.1
Requires: python-s3transfer < 0.2.0
Requires: python-s3transfer >= 0.1.0
Requires: python-s3transfer >= 0.1.10
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
%python_subpackages
%description
Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for
@ -58,13 +57,13 @@ http://boto3.readthedocs.org/en/latest/
%setup -q -n boto3-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %{buildroot}%{_prefix}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc CONTRIBUTING.rst LICENSE README.rst
%{python_sitelib}/*