[Python-modules-commits] [python-tenacity] 03/13: Import python-tenacity_3.1.1-1.dsc

Ondrej Koblizek kobla-guest at moszumanska.debian.org
Sat Aug 5 19:27:56 UTC 2017


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

kobla-guest pushed a commit to branch master
in repository python-tenacity.

commit 52a6f1e18eeec4741dd338c38aa179ef23ce02f6
Author: Ondřej Kobližek <ondrej.koblizek at firma.seznam.cz>
Date:   Fri Aug 4 18:45:26 2017 -0400

    Import python-tenacity_3.1.1-1.dsc
---
 debian/changelog                                   | 11 +++
 debian/compat                                      |  1 +
 debian/control                                     | 87 ++++++++++++++++++++++
 debian/copyright                                   | 29 ++++++++
 debian/gbp.conf                                    |  9 +++
 debian/patches/removed-privacy-breach-in-doc.patch | 22 ++++++
 debian/patches/series                              |  1 +
 debian/python-tenacity-doc.doc-base                |  9 +++
 debian/rules                                       | 38 ++++++++++
 debian/source/format                               |  1 +
 debian/source/options                              |  1 +
 debian/watch                                       |  4 +
 12 files changed, 213 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e5ffc6c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+python-tenacity (3.1.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo at debian.org>  Tue, 18 Oct 2016 12:32:13 +0200
+
+python-tenacity (3.0.0-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #838893)
+
+ -- Thomas Goirand <zigo at debian.org>  Mon, 26 Sep 2016 09:36:15 +0200
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..c916d6b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,87 @@
+Source: python-tenacity
+Section: python
+Priority: optional
+Maintainer: PKG OpenStack <openstack-devel at lists.alioth.debian.org>
+Uploaders: Thomas Goirand <zigo at debian.org>,
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               openstack-pkg-tools (>= 52~),
+               python-all,
+               python-pbr,
+               python-setuptools,
+               python-sphinx,
+               python3-all,
+               python3-pbr,
+               python3-setuptools,
+Build-Depends-Indep: python-concurrent.futures (>= 3.0),
+                     python-monotonic (>= 0.6),
+                     python-nose,
+                     python-six,
+                     python3-monotonic (>= 0.6),
+                     python3-nose,
+                     python3-six,
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/openstack/python-tenacity.git/
+Vcs-Git: https://anonscm.debian.org/git/openstack/python-tenacity.git
+Homepage: https://github.com/jd/tenacity
+
+Package: python-tenacity
+Architecture: all
+Depends: python-concurrent.futures (>= 3.0),
+         python-monotonic (>= 0.6),
+         python-pbr,
+         python-six,
+         ${misc:Depends},
+         ${python:Depends},
+Suggests: python-tenacity-doc,
+Description: retry code until it succeeeds - Python 2.7
+ Tenacity is a general-purpose retrying library to simplify the task of adding
+ retry behavior to just about anything. It originates from a fork of Retrying.
+ .
+ Features:
+  * Generic Decorator API
+  * Specify stop condition (i.e. limit by number of attempts)
+  * Specify wait condition (i.e. exponential backoff sleeping between attempts)
+  * Customize retrying on Exceptions
+  * Customize retrying on expected returned result
+ .
+ This package contains the Python 2.7 module.
+
+Package: python3-tenacity
+Architecture: all
+Depends: python3-pbr,
+         python3-monotonic (>= 0.6),
+         python3-six,
+         ${misc:Depends},
+         ${python3:Depends},
+Suggests: python-tenacity-doc,
+Description: retry code until it succeeeds - Python 3.x
+ Tenacity is a general-purpose retrying library to simplify the task of adding
+ retry behavior to just about anything. It originates from a fork of Retrying.
+ .
+ Features:
+  * Generic Decorator API
+  * Specify stop condition (i.e. limit by number of attempts)
+  * Specify wait condition (i.e. exponential backoff sleeping between attempts)
+  * Customize retrying on Exceptions
+  * Customize retrying on expected returned result
+ .
+ This package contains the Python 3.x module.
+
+Package: python-tenacity-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends},
+Description: retry code until it succeeeds - doc
+ Tenacity is a general-purpose retrying library to simplify the task of adding
+ retry behavior to just about anything. It originates from a fork of Retrying.
+ .
+ Features:
+  * Generic Decorator API
+  * Specify stop condition (i.e. limit by number of attempts)
+  * Specify wait condition (i.e. exponential backoff sleeping between attempts)
+  * Customize retrying on Exceptions
+  * Customize retrying on expected returned result
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..36278ab
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tenacity
+Source: https://github.com/jd/tenacity
+
+Files: *
+Copyright: (c) 2013-2016, Julien Danjou <julien at danjou.info>
+           (c) 2016, Joshua Harlow
+           (c) 2013-2014, Ray Holder
+License: Apache-2
+
+Files: debian/*
+Copyright: (c) 2016, Thomas Goirand <zigo at debian.org>
+License: Apache-2
+
+License: Apache-2
+ 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-based systems the full text of the Apache version 2.0 license
+ can be found in /usr/share/common-licenses/Apache-2.0.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..e388b0a
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian/newton
+upstream-tag = %(version)s
+compression = xz
+
+[buildpackage]
+export-dir = ../build-area/
+
diff --git a/debian/patches/removed-privacy-breach-in-doc.patch b/debian/patches/removed-privacy-breach-in-doc.patch
new file mode 100644
index 0000000..203692a
--- /dev/null
+++ b/debian/patches/removed-privacy-breach-in-doc.patch
@@ -0,0 +1,22 @@
+Description: Remove privacy breach in doc
+Author: Thomas Goirand <zigo at debian.org>
+Forwarded: not-needed
+Last-Update: 2016-09-26
+
+--- python-tenacity-3.0.0.orig/doc/source/index.rst
++++ python-tenacity-3.0.0/doc/source/index.rst
+@@ -1,14 +1,5 @@
+ Tenacity
+ ========
+-.. image:: https://img.shields.io/pypi/v/tenacity.svg
+-    :target: https://pypi.python.org/pypi/tenacity
+-
+-.. image:: https://img.shields.io/travis/jd/tenacity.svg
+-    :target: https://travis-ci.org/jd/tenacity
+-
+-.. image:: https://img.shields.io/pypi/dm/tenacity.svg
+-    :target: https://pypi.python.org/pypi/tenacity
+-
+ Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in
+ Python, to simplify the task of adding retry behavior to just about anything.
+ It originates from a fork of `Retrying`_
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..60b213e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+removed-privacy-breach-in-doc.patch
diff --git a/debian/python-tenacity-doc.doc-base b/debian/python-tenacity-doc.doc-base
new file mode 100644
index 0000000..dcbc230
--- /dev/null
+++ b/debian/python-tenacity-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-tenacity-doc
+Title: tenacity Documentation
+Author: N/A
+Abstract: Sphinx documentation for tenacity
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-tenacity-doc/html/index.html
+Files: /usr/share/doc/python-tenacity-doc/html/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..44ab909
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+UPSTREAM_GIT := https://github.com/jd/tenacity
+include /usr/share/openstack-pkg-tools/pkgos.make
+
+%:
+	dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
+
+override_dh_auto_install:
+	pkgos-dh_auto_install
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+	set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
+		python$$pyvers setup.py nosetests ; \
+	done
+endif
+
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+	sphinx-build -b html doc/source debian/python-tenacity-doc/usr/share/doc/python-tenacity-doc/html
+	dh_sphinxdoc -O--buildsystem=python_distutils
+endif
+
+override_dh_clean:
+	dh_clean -O--buildsystem=python_distutils
+	rm -rf build
+
+# Commands not to run
+override_dh_installcatalogs:
+override_dh_installemacsen override_dh_installifupdown:
+override_dh_installinfo override_dh_installmenu override_dh_installmime:
+override_dh_installmodules override_dh_installlogcheck:
+override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
+override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
+override_dh_installcron override_dh_installdebconf:
+override_dh_installlogrotate override_dh_installgsettings:
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..7368953
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/tenacity/tenacity-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+

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



More information about the Python-modules-commits mailing list