diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/.git-dpm | 8 | ||||
-rw-r--r-- | debian/.gitignore | 7 | ||||
-rw-r--r-- | debian/changelog | 71 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 31 | ||||
-rw-r--r-- | debian/copyright | 34 | ||||
-rw-r--r-- | debian/python-tblib.install | 1 | ||||
-rw-r--r-- | debian/python3-tblib.install | 1 | ||||
-rwxr-xr-x | debian/rules | 44 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
11 files changed, 202 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm new file mode 100644 index 0000000..7ef51fc --- /dev/null +++ b/debian/.git-dpm @@ -0,0 +1,8 @@ +# see git-dpm(1) from git-dpm package +fe522b0c47d430ac13bc4c4c8a091b8cef2085ee +fe522b0c47d430ac13bc4c4c8a091b8cef2085ee +fe522b0c47d430ac13bc4c4c8a091b8cef2085ee +fe522b0c47d430ac13bc4c4c8a091b8cef2085ee +python-tblib_1.3.0.orig.tar.gz +a30938cd77d090a10ac13c9901669cdc43b75142 +25295 diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..c12cee0 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,7 @@ +*.debhelper* +*.substvars +backup +files +python-tblib +python3-tblib +tmp diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a271a7f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,71 @@ +python-tblib (1.3.0-1) UNRELEASED; urgency=medium + + * New upstream release. + * Stop using an awkward set of patches to tox.ini, and just run tests via + pytest instead. + * Use HTTPS for Vcs-* URLs. + + -- Colin Watson <cjwatson@debian.org> Wed, 27 Jan 2016 13:37:20 +0000 + +python-tblib (1.2.0-1) unstable; urgency=medium + + * New upstream release. + * Drop build-dependencies on python*-coverage now that we run *-nocov test + variants. + + -- Colin Watson <cjwatson@debian.org> Fri, 18 Dec 2015 11:40:10 +0000 + +python-tblib (1.1.0-1) unstable; urgency=medium + + * New upstream release. + + -- Colin Watson <cjwatson@debian.org> Tue, 28 Jul 2015 10:42:40 +0100 + +python-tblib (1.0.1-1) unstable; urgency=medium + + * New upstream release. + * debian/watch: Update to use pypi.debian.net mirror. + + -- Colin Watson <cjwatson@debian.org> Fri, 01 May 2015 01:08:17 +0100 + +python-tblib (0.2.0-1) experimental; urgency=medium + + * New upstream release. + * Build-depend on dh-python. + * Policy version 3.9.6: no changes required. + + -- Colin Watson <cjwatson@debian.org> Tue, 13 Jan 2015 14:19:28 +0000 + +python-tblib (0.1.0-5) unstable; urgency=medium + + * Update Vcs-Browser URL yet again. + + -- Colin Watson <cjwatson@debian.org> Thu, 04 Sep 2014 17:32:38 +0100 + +python-tblib (0.1.0-4) unstable; urgency=medium + + * Update Vcs-Browser URL for alioth cgit. + * Mark all binary packages Multi-Arch: foreign. + + -- Colin Watson <cjwatson@debian.org> Sat, 30 Aug 2014 18:03:39 +0100 + +python-tblib (0.1.0-3) unstable; urgency=medium + + * Adjust tests to support Python 3.4. + + -- Colin Watson <cjwatson@debian.org> Tue, 04 Mar 2014 11:18:50 +0000 + +python-tblib (0.1.0-2) unstable; urgency=medium + + * Set sitepackages = True in tox.ini, so that tests can run on systems + without network access. + * Build-depend on python-six and python3-six to guarantee their + availability for tests and to quieten dh_python3. + + -- Colin Watson <cjwatson@debian.org> Tue, 04 Mar 2014 01:24:40 +0000 + +python-tblib (0.1.0-1) unstable; urgency=medium + + * Initial release (closes: #740186). + + -- Colin Watson <cjwatson@debian.org> Thu, 27 Feb 2014 11:09:09 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e3416cc --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: python-tblib +Section: python +Priority: optional +Maintainer: Colin Watson <cjwatson@debian.org> +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 7.2.11~), dh-python, python (>= 2.6.6-3~), python-all, python3 (>= 3.1.2-8~), python3-all, python-setuptools, python3-setuptools, python-six, python3-six, python-pytest, python3-pytest +Homepage: https://github.com/ionelmc/python-tblib +Vcs-Git: https://anonscm.debian.org/git/users/cjwatson/python-tblib.git +Vcs-Browser: https://anonscm.debian.org/cgit/users/cjwatson/python-tblib.git/ +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 + +Package: python-tblib +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${python:Depends}, python-six +Description: Python 2 traceback fiddling library + This library allows pickling tracebacks so that they can be passed across + process boundaries. The traceback objects that come out are stripped of + some attributes such as variables, but it is at least possible to raise + exceptions with those tracebacks or print them. + +Package: python3-tblib +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${python3:Depends}, python3-six +Description: Python 3 traceback fiddling library + This library allows pickling tracebacks so that they can be passed across + process boundaries. The traceback objects that come out are stripped of + some attributes such as variables, but it is at least possible to raise + exceptions with those tracebacks or print them. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a292ed7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: python-tblib +Source: https://github.com/ionelmc/python-tblib + +Files: * +Copyright: Copyright (c) 2013-2014, Ionel Cristian Mărieș +License: BSD-2-clause + +Files: debian/* +Copyright: Copyright (c) 2014 Colin Watson <cjwatson@debian.org> +License: BSD-2-clause + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/python-tblib.install b/debian/python-tblib.install new file mode 100644 index 0000000..2655300 --- /dev/null +++ b/debian/python-tblib.install @@ -0,0 +1 @@ +usr/lib/python2.* diff --git a/debian/python3-tblib.install b/debian/python3-tblib.install new file mode 100644 index 0000000..b06a399 --- /dev/null +++ b/debian/python3-tblib.install @@ -0,0 +1 @@ +usr/lib/python3 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fe32ac8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,44 @@ +#! /usr/bin/make -f +%: + dh $@ --with python2,python3 + +# Keep pristine copies of some files that setup.py likes to modify. +BACKUP = \ + PKG-INFO \ + src/tblib.egg-info/PKG-INFO \ + src/tblib.egg-info/SOURCES.txt + +override_dh_auto_build: + mkdir -p debian/backup + set -e; for x in $(BACKUP); do \ + mkdir -p debian/backup/$$(dirname $$x); \ + cp -a $$x debian/backup/$$x; \ + done + dh_auto_build + set -e; for python in $$(py3versions -r); do \ + $$python setup.py build; \ + done + +override_dh_auto_test: + set -e; for python in $$(pyversions -r) $$(py3versions -r); do \ + PYTHONPATH=src $$python -m pytest -vv tests README.rst; \ + done + +override_dh_auto_clean: + dh_auto_clean + find -name \*.pyc -print0 | xargs -0r rm -f + find -name __pycache__ -print0 | xargs -0r rm -rf + rm -rf build + if [ -e debian/backup ]; then \ + set -e; for x in $(BACKUP); do \ + cp -a debian/backup/$$x $$x; \ + done; \ + rm -rf debian/backup; \ + fi + +override_dh_auto_install: + dh_auto_install + set -e; for python in $$(py3versions -r); do \ + $$python setup.py install --root=$(CURDIR)/debian/tmp \ + --no-compile -O0 --install-layout=deb; \ + done 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/watch b/debian/watch new file mode 100644 index 0000000..25cb009 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/tblib/tblib-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |