[Python-modules-commits] [python-s3transfer] 02/02: Import Debian patch 0.1.8-1

Takaki Taniguchi takaki at moszumanska.debian.org
Fri Oct 14 11:00:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

takaki pushed a commit to branch master
in repository python-s3transfer.

commit 6eeac98615dbed250554821b838febd47e3977f8
Author: TANIGUCHI Takaki <takaki at debian.org>
Date:   Fri Oct 14 01:00:33 2016 +0900

    Import Debian patch 0.1.8-1
---
 debian/changelog                   |  5 ++++
 debian/compat                      |  1 +
 debian/control                     | 33 ++++++++++++++++++++++
 debian/copyright                   | 41 +++++++++++++++++++++++++++
 debian/patches/series              |  1 +
 debian/patches/use-package-modules | 58 ++++++++++++++++++++++++++++++++++++++
 debian/python-s3transfer-docs.docs |  2 ++
 debian/rules                       |  9 ++++++
 debian/source/format               |  1 +
 debian/source/options              |  1 +
 debian/watch                       |  4 +++
 11 files changed, 156 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7184453
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-s3transfer (0.1.8-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #840662)
+
+ -- TANIGUCHI Takaki <takaki at debian.org>  Fri, 14 Oct 2016 01:00:33 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a76bf23
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: python-s3transfer
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: TANIGUCHI Takaki <takaki at debian.org>
+Build-Depends: debhelper (>= 9)
+	, python-all
+	, python-setuptools
+	, python3-all
+	, python3-setuptools
+	, python-concurrent.futures
+	, dh-python
+Standards-Version: 3.9.8
+Homepage: https://github.com/boto/s3transfer
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-s3transfer.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-s3transfer.git
+
+Package: python-s3transfer
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description:  Amazon S3 Transfer Manager for Python2
+ S3transfer is a Python library for managing Amazon S3 transfers.
+ .
+ This package contains the module for Python 2.
+ 
+
+Package: python3-s3transfer
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description:  Amazon S3 Transfer Manager for Python3
+ S3transfer is a Python library for managing Amazon S3 transfers.
+ .
+ This package contains the module for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c0488a1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-s3transfer
+Source: https://github.com/boto/s3transfer
+
+Files: *
+Copyright: 2016 Amazon.com, Inc. or its affiliates
+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
+ .
+ http://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".
+
+
+Files: debian/*
+Copyright: 2016 TANIGUCHI Takaki <takaki at debian.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8ce9f61
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-package-modules
diff --git a/debian/patches/use-package-modules b/debian/patches/use-package-modules
new file mode 100644
index 0000000..f42da83
--- /dev/null
+++ b/debian/patches/use-package-modules
@@ -0,0 +1,58 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ python-s3transfer (0.1.8-1) unstable; urgency=medium
+ .
+   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+Author: TANIGUCHI Takaki <takaki at debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2016-10-14
+
+--- python-s3transfer-0.1.8.orig/s3transfer/__init__.py
++++ python-s3transfer-0.1.8/s3transfer/__init__.py
+@@ -134,7 +134,7 @@ import string
+ import concurrent.futures
+ 
+ from botocore.compat import six
+-from botocore.vendored.requests.packages.urllib3.exceptions import \
++from urllib3.exceptions import \
+     ReadTimeoutError
+ from botocore.exceptions import IncompleteReadError
+ 
+--- python-s3transfer-0.1.8.orig/s3transfer/download.py
++++ python-s3transfer-0.1.8/s3transfer/download.py
+@@ -20,7 +20,7 @@ import heapq
+ 
+ from botocore.compat import six
+ from botocore.exceptions import IncompleteReadError
+-from botocore.vendored.requests.packages.urllib3.exceptions import \
++from urllib3.exceptions import \
+     ReadTimeoutError
+ 
+ from s3transfer.compat import SOCKET_ERROR
+--- python-s3transfer-0.1.8.orig/tests/unit/test_s3transfer.py
++++ python-s3transfer-0.1.8/tests/unit/test_s3transfer.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 s3transfer.exceptions import RetriesExceededError
diff --git a/debian/python-s3transfer-docs.docs b/debian/python-s3transfer-docs.docs
new file mode 100644
index 0000000..efea0a6
--- /dev/null
+++ b/debian/python-s3transfer-docs.docs
@@ -0,0 +1,2 @@
+README.Debian
+README.source
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..711f284
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=s3transfer
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	true	# test requires network access
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7e96a52
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+   https://github.com/boto/s3transfer/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-s3transfer.git



More information about the Python-modules-commits mailing list