Accepting request 388206 from devel:languages:python
- New dependency for updated aws-cli OBS-URL: https://build.opensuse.org/request/show/388206 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-s3transfer?expand=0&rev=1
This commit is contained in:
commit
2eea7c166d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
12
LICENSE.txt
Normal file
12
LICENSE.txt
Normal file
@ -0,0 +1,12 @@
|
||||
Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"). You
|
||||
may not use this file except in compliance with the License. A copy of
|
||||
the License is located at
|
||||
|
||||
http://aws.amazon.com/apache2.0/
|
||||
|
||||
or in the "license" file accompanying this file. This file is
|
||||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License.
|
40
hide_py_pckgmgmt.patch
Normal file
40
hide_py_pckgmgmt.patch
Normal file
@ -0,0 +1,40 @@
|
||||
--- setup.py.orig
|
||||
+++ setup.py
|
||||
@@ -10,15 +10,15 @@ ROOT = os.path.dirname(__file__)
|
||||
VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''')
|
||||
|
||||
|
||||
-requires = [
|
||||
- 'botocore>=1.3.0,<2.0.0',
|
||||
-]
|
||||
+#requires = [
|
||||
+# 'botocore>=1.3.0,<2.0.0',
|
||||
+#]
|
||||
|
||||
|
||||
-if sys.version_info[0] == 2:
|
||||
+#if sys.version_info[0] == 2:
|
||||
# concurrent.futures is only in python3, so for
|
||||
# python2 we need to install the backport.
|
||||
- requires.append('futures>=2.2.0,<4.0.0')
|
||||
+# requires.append('futures>=2.2.0,<4.0.0')
|
||||
|
||||
|
||||
def get_version():
|
||||
@@ -35,11 +35,11 @@ setup(
|
||||
author_email='kyknapp1@gmail.com',
|
||||
url='https://github.com/boto/s3transfer',
|
||||
packages=find_packages(exclude=['tests*']),
|
||||
- install_requires=requires,
|
||||
- extras_require={
|
||||
- ':python_version=="2.6" or python_version=="2.7"': [
|
||||
- 'futures>=2.2.0,<4.0.0']
|
||||
- },
|
||||
+# install_requires=requires,
|
||||
+# extras_require={
|
||||
+# ':python_version=="2.6" or python_version=="2.7"': [
|
||||
+# 'futures>=2.2.0,<4.0.0']
|
||||
+# },
|
||||
license="Apache License 2.0",
|
||||
classifiers=(
|
||||
'Development Status :: 1 - Planning',
|
12
python-s3transfer.changes
Normal file
12
python-s3transfer.changes
Normal file
@ -0,0 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 12 11:46:04 UTC 2016 - rjschwei@suse.com
|
||||
|
||||
- Set the proper target directory for copying the license file
|
||||
+ Fixes build issue on SLE 11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 21:30:05 UTC 2016 - rjschwei@suse.com
|
||||
|
||||
- Initial build include in SLE 12 (FATE#320748, bsc#974993)
|
||||
+ Version 0.0.1
|
||||
|
60
python-s3transfer.spec
Normal file
60
python-s3transfer.spec
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package python-s3transfer
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-s3transfer
|
||||
Version: 0.0.1
|
||||
Release: 0
|
||||
Summary: Python S3 transfer manager
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/boto/s3transfer
|
||||
Source0: https://pypi.python.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
|
||||
Source1: LICENSE.txt
|
||||
Patch0: hide_py_pckgmgmt.patch
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-botocore >= 1.4.10
|
||||
Requires: python-futures <= 4.0.0
|
||||
Requires: python-futures >= 2.2.0
|
||||
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
|
||||
|
||||
%description
|
||||
A transfer manager for Amazon Web Services S3
|
||||
|
||||
%prep
|
||||
%setup -q -n s3transfer-%{version}
|
||||
%patch0
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
|
||||
cp %{SOURCE1} %{_builddir}/s3transfer-%{version}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python_sitelib}/s3transfer/
|
||||
%{python_sitelib}/s3transfer-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
%changelog
|
3
s3transfer-0.0.1.tar.gz
Normal file
3
s3transfer-0.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2bb9ed8db58af94dfa78f75f554d646dfe4b4741fc87f63a20c2bfb3f70f4355
|
||||
size 9465
|
Loading…
Reference in New Issue
Block a user