[Python-modules-commits] [backports.functools-lru-cache] 03/09: add initial Debian packaging

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 15 12:56:04 UTC 2016


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

morph pushed a commit to branch master
in repository backports.functools-lru-cache.

commit 620d718f32132f7569dab80de91559ddb9c94a3d
Author: Sandro Tosi <morph at debian.org>
Date:   Thu Dec 15 07:24:02 2016 -0500

    add initial Debian packaging
---
 debian/.git-dpm                                   |  3 +
 debian/changelog                                  |  6 ++
 debian/compat                                     |  1 +
 debian/control                                    | 86 +++++++++++++++++++++++
 debian/copyright                                  | 14 ++++
 debian/python3-backports.functools-lru-cache.docs |  1 +
 debian/rules                                      |  5 ++
 debian/source/options                             |  1 +
 debian/watch                                      |  4 ++
 9 files changed, 121 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 8bb997c..ac682f6 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 backports.functools-lru-cache_1.3.orig.tar.gz
 7e8e209cd11fa5354174e7e1bf704ce309384ec6
 6685
+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..4ebdab4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+backports.functools-lru-cache (1.3-1) unstable; urgency=low
+
+  * Initial release (closes: #NNNNNN)
+
+ -- Sandro Tosi <morph at debian.org>  Thu, 15 Dec 2016 12:24:01 +0000
+
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..97ed26b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,86 @@
+Source: backports.functools-lru-cache
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <morph at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://github.com/jaraco/backports.functools_lru_cache
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/backports.functools-lru-cache.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/backports.functools-lru-cache.git
+
+Package: python-backports.functools-lru-cache
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+Recommends: ${python:Recommends}
+Suggests: ${python:Suggests}
+Description: backports.functools_lru_cache - Python 2.X
+  .. image:: https://img.shields.io/pypi/v/backports.functools_lru_cache.svg
+    :target: https://pypi.org/project/backports.functools_lru_cache
+ .
+  .. image:: https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg
+ .
+  .. image:: https://img.shields.io/pypi/dm/backports.functools_lru_cache.svg
+ .
+  .. image:: https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
+    :target: http://travis-ci.org/jaraco/backports.functools_lru_cache
+ .
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ <https://github.com/jaraco/skeleton/issues/1>`_.
+ .
+ Backport of functools.lru_cache from Python 3.3 as published at `ActiveState
+ <http://code.activestate.com/recipes/578078/>`_.
+ .
+ Usage
+ -----
+ .
+ Consider using this technique for importing the 'lru_cache' function::
+ .
+     try:
+         from functools import lru_cache
+     except ImportError:
+         from backports.functools_lru_cache import lru_cache
+ .
+ .
+ .
+
+Package: python3-backports.functools-lru-cache
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+Description: backports.functools_lru_cache
+  .. image:: https://img.shields.io/pypi/v/backports.functools_lru_cache.svg
+    :target: https://pypi.org/project/backports.functools_lru_cache
+ .
+  .. image:: https://img.shields.io/pypi/pyversions/backports.functools_lru_cache.svg
+ .
+  .. image:: https://img.shields.io/pypi/dm/backports.functools_lru_cache.svg
+ .
+  .. image:: https://img.shields.io/travis/jaraco/backports.functools_lru_cache/master.svg
+    :target: http://travis-ci.org/jaraco/backports.functools_lru_cache
+ .
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ <https://github.com/jaraco/skeleton/issues/1>`_.
+ .
+ Backport of functools.lru_cache from Python 3.3 as published at `ActiveState
+ <http://code.activestate.com/recipes/578078/>`_.
+ .
+ Usage
+ -----
+ .
+ Consider using this technique for importing the 'lru_cache' function::
+ .
+     try:
+         from functools import lru_cache
+     except ImportError:
+         from backports.functools_lru_cache import lru_cache
+ .
+ .
+ .
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2a57f7e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,14 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: backports.functools_lru_cache
+Upstream-Contact: Jason R. Coombs <jaraco at jaraco.com>
+Source: https://github.com/jaraco/backports.functools_lru_cache
+
+Files: *
+Copyright: Jason R. Coombs <jaraco at jaraco.com>
+License: 
+
+Files: debian/*
+Copyright: 2016 © Sandro Tosi <morph at debian.org>
+License: 
+
+License: 
diff --git a/debian/python3-backports.functools-lru-cache.docs b/debian/python3-backports.functools-lru-cache.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-backports.functools-lru-cache.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d3b46a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=backports.functools-lru-cache
+%:
+	dh $@ --with python3,python2 --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..d8d4dd1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# try also https://pypi.debian.net/backports.functools_lru_cache/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/backports.functools_lru_cache/backports.functools_lru_cache-(.+)\.(?: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/backports.functools-lru-cache.git



More information about the Python-modules-commits mailing list