initial packaging; Debian version 1.2.2-1
This commit is contained in:
parent
0b92fa3b17
commit
bf907980b1
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -21,4 +21,7 @@ env2
|
|||
env3
|
||||
|
||||
# IntelliJ / PyCharm IDE
|
||||
.idea/
|
||||
.idea/
|
||||
|
||||
.pybuild/
|
||||
.pc/
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
python-boto3 (1.2.2-1) unstable; urgency=low
|
||||
|
||||
* Initial release (Closes: #798503)
|
||||
|
||||
-- Eric Evans <eevans@debian.org> Fri, 27 Nov 2015 16:40:05 -0600
|
5
debian/clean
vendored
Normal file
5
debian/clean
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
boto3.egg-info/SOURCES.txt
|
||||
boto3.egg-info/PKG-INFO
|
||||
boto3.egg-info/requires.txt
|
||||
boto3.egg-info/top_level.txt
|
||||
boto3.egg-info/dependency_links.txt
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
9
|
36
debian/control
vendored
Normal file
36
debian/control
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
Source: python-boto3
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Eric Evans <eevans@debian.org>
|
||||
Build-Depends:
|
||||
debhelper (>= 9),
|
||||
dh-python,
|
||||
python-all,
|
||||
python-setuptools,
|
||||
python-botocore,
|
||||
python3-all,
|
||||
python3-setuptools,
|
||||
python3-botocore
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: https://github.com/boto/boto3
|
||||
Vcs-Git: git://anonscm.debian.org/users/eevans/python-boto3.git
|
||||
Vcs-Browser: https://anonscm.debian.org/gitweb/?p=users/eevans/python-boto3.git;a=summary
|
||||
|
||||
Package: python-boto3
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python:Depends}, python-botocore
|
||||
Description: Python interface to Amazon's Web Services - Python 2.x
|
||||
Boto is the Amazon Web Services interface for Python. It allows developers
|
||||
to write software that makes use of Amazon services like S3 and EC2. Boto
|
||||
provides an easy to use, object-oriented API as well as low-level direct
|
||||
service access.
|
||||
|
||||
Package: python3-boto3
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python3:Depends}, python3-botocore
|
||||
Description: Python interface to Amazon's Web Services - Python 3.x
|
||||
Boto is the Amazon Web Services interface for Python. It allows developers
|
||||
to write software that makes use of Amazon services like S3 and EC2. Boto
|
||||
provides an easy to use, object-oriented API as well as low-level direct
|
||||
service access.
|
||||
|
27
debian/copyright
vendored
Normal file
27
debian/copyright
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: python-boto3
|
||||
Source: https://github.com/boto/boto3
|
||||
|
||||
Files: *
|
||||
Copyright: 2013-2015 Amazon.com, Inc.
|
||||
License: Apache-2.0
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2015 Eric Evans <eevans@debian.org>
|
||||
License: Apache-2.0
|
||||
|
||||
License: Apache-2.0
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
.
|
||||
https://www.apache.org/licenses/LICENSE-2.0
|
||||
.
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License 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.
|
||||
.
|
||||
On Debian systems, the complete text of the Apache version 2.0 license
|
||||
can be found in "/usr/share/common-licenses/Apache-2.0".
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
README.rst
|
54
debian/patches/do-not-use-vendored-code.patch
vendored
Normal file
54
debian/patches/do-not-use-vendored-code.patch
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
From: Eric Evans <eevans@debian.org>
|
||||
Date: Sun, 29 Nov 2015 12:33:59 -0600
|
||||
Subject: do-not-use-vendored-code
|
||||
|
||||
Upstream botocore includes a couple of vendored modules, and boto3 depends
|
||||
on them transitively. The Debian package of botocore excludes this vendored
|
||||
code, and includes dependencies for the corresponding packages, so we need
|
||||
to do the same, here.
|
||||
---
|
||||
boto3/s3/transfer.py | 3 +--
|
||||
tests/functional/test_dynamodb.py | 2 +-
|
||||
tests/unit/s3/test_transfer.py | 2 +-
|
||||
3 files changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/boto3/s3/transfer.py b/boto3/s3/transfer.py
|
||||
index 6ec5ad9..a78e758 100644
|
||||
--- a/boto3/s3/transfer.py
|
||||
+++ b/boto3/s3/transfer.py
|
||||
@@ -135,8 +135,7 @@ import boto3
|
||||
from concurrent import futures
|
||||
|
||||
from botocore.compat import six
|
||||
-from botocore.vendored.requests.packages.urllib3.exceptions import \
|
||||
- ReadTimeoutError
|
||||
+from requests.packages.urllib3.exceptions import ReadTimeoutError
|
||||
from botocore.exceptions import IncompleteReadError
|
||||
|
||||
import boto3.compat
|
||||
diff --git a/tests/functional/test_dynamodb.py b/tests/functional/test_dynamodb.py
|
||||
index 64c6b9c..49fabf6 100644
|
||||
--- a/tests/functional/test_dynamodb.py
|
||||
+++ b/tests/functional/test_dynamodb.py
|
||||
@@ -13,7 +13,7 @@
|
||||
import json
|
||||
from tests import unittest, mock
|
||||
|
||||
-from botocore.vendored import requests
|
||||
+import requests
|
||||
|
||||
from boto3.session import Session
|
||||
from boto3.dynamodb.conditions import Attr
|
||||
diff --git a/tests/unit/s3/test_transfer.py b/tests/unit/s3/test_transfer.py
|
||||
index fb778fd..16f453e 100644
|
||||
--- a/tests/unit/s3/test_transfer.py
|
||||
+++ b/tests/unit/s3/test_transfer.py
|
||||
@@ -18,7 +18,7 @@ from tests import unittest
|
||||
from contextlib import closing
|
||||
|
||||
import mock
|
||||
-from botocore.vendored import six
|
||||
+import six
|
||||
from concurrent import futures
|
||||
|
||||
from boto3.exceptions import RetriesExceededError
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
do-not-use-vendored-code.patch
|
11
debian/rules
vendored
Executable file
11
debian/rules
vendored
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
export DEB_BUILD_OPTIONS = nocheck
|
||||
export PYBUILD_NAME = boto3
|
||||
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@ --with python2,python3 --buildsystem=pybuild
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
2
debian/watch
vendored
Normal file
2
debian/watch
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
version=3
|
||||
https://github.com/boto/boto3/tags .*/(\d[\d\.]*)\.tar\.gz
|
Loading…
Reference in a new issue