[Python-modules-commits] [python-async-timeout] 03/03: add initial Debian packaging
Piotr Ożarowski
piotr at moszumanska.debian.org
Tue Sep 20 22:18:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch master
in repository python-async-timeout.
commit 7c14d4a064f572416644a427791dec288fb29ddb
Author: Piotr Ożarowski <ozarow at gmail.com>
Date: Wed Sep 21 00:04:03 2016 +0200
add initial Debian packaging
---
debian/.git-dpm | 5 ++++-
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 29 +++++++++++++++++++++++++++++
debian/copyright | 15 +++++++++++++++
debian/python3-async-timeout.docs | 1 +
debian/rules | 5 +++++
debian/source/options | 1 +
debian/watch | 3 +++
9 files changed, 64 insertions(+), 1 deletion(-)
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 0a02d02..25428c5 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -3,6 +3,9 @@ adb885d9b5009bb88fa0041b63d53b4123a0251b
adb885d9b5009bb88fa0041b63d53b4123a0251b
adb885d9b5009bb88fa0041b63d53b4123a0251b
adb885d9b5009bb88fa0041b63d53b4123a0251b
-async-timeout_1.0.0.orig.tar.gz
+python-async-timeout_1.0.0.orig.tar.gz
4365779dfb334b38548eed773b794dcdda153ceb
7554
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1a3db65
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-async-timeout (1.0.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Piotr Ożarowski <piotr at debian.org> Wed, 21 Sep 2016 00:04:29 +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..5398384
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: python-async-timeout
+Section: python
+Priority: optional
+Maintainer: Piotr Ożarowski <piotr at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), dh-python,
+ python3-all,
+ python3-setuptools,
+ python3-pytest-runner,
+Standards-Version: 3.9.8
+Homepage: https://github.com/aio-libs/async_timeout/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-async-timeout.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-async-timeout.git
+
+Package: python3-async-timeout
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+Description: timeout context manager for asyncio programs in Python
+ The context manager is useful in cases when you want to apply timeout
+ logic around block of code or in cases when asyncio.wait_for() is
+ not suitable. Also it's much faster than asyncio.wait_for()
+ because timeout doesn't create a new task.
+ .
+ Example:
+ .
+ with timeout(1.5):
+ yield from inner()
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..68d6dcf
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: async_timeout
+Upstream-Contact: Andrew Svetlov <andrew.svetlov at gmail.com>
+Source: https://github.com/aio-libs/async_timeout/
+
+Files: *
+Copyright: Andrew Svetlov <andrew.svetlov at gmail.com>
+License: Apache2
+
+Files: debian/*
+Copyright: 2016 © Piotr Ożarowski <piotr at debian.org>
+License: Apache2
+
+License: Apache2
+ See /usr/share/common-licenses/Apache-2.0
\ No newline at end of file
diff --git a/debian/python3-async-timeout.docs b/debian/python3-async-timeout.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-async-timeout.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..306e29e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=async-timeout
+%:
+ dh $@ --with python3 --buildsystem=pybuild
\ No newline at end of file
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..d81db3f
--- /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..f410af4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/async_timeout/async_timeout-(.+)\.(?: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-async-timeout.git
More information about the Python-modules-commits
mailing list