diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6c33a36 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,17 @@ +uritemplate.py (0.3.0-1) Saucy; urgency=low + + * New upstream release + + -- Dennis Kaarsemaker Sun, 06 Apr 2014 14:34:16 +0200 + +uritemplate.py (0.2.0-2) quantal; urgency=low + + * ctually working package this time + + -- Dennis Kaarsemaker Sun, 13 Oct 2013 22:10:10 +0200 + +uritemplate.py (0.2.0-1) quantal; urgency=low + + * Initial release + + -- Dennis Kaarsemaker Fri, 11 Oct 2013 16:05:50 +0200 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..caae080 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: uritemplate.py +Maintainer: Dennis Kaarsemaker +Section: python +Priority: optional +Build-Depends: debhelper, python-all, python-setuptools, python3-all +Standards-Version: 3.9.3 +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.0 +Homepage: http://uritemplatepy.readthedocs.org/ + +Package: python-uritemplate.py +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: Simple python library to deal with URI Templates. + Simple python library to deal with URI Templates. + +Package: python3-uritemplate.py +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Simple python library to deal with URI Templates. + Simple python library to deal with URI Templates. + . + This package contains the Python 3 version of the library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..448e9e6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: uritemplate +Upstream-Contact: Ian Cordasco +Source: http://pypi.python.org/pypi/uritemplate.py + +Files: debian/* +Copyright: 2013, Dennis Kaarsemaker +License: BSD + +Files: * +Copyright: 2013, Ian Cordasco +License: BSD + 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. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..dd0c66a --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[git-buildpackage] +builder = debuild -S -sa -i'^(.git|tests|docs|Makefile|.travis|tox.ini|[^/]*(py|rst|txt)|MANIFEST.in|MANIFEST)' +no-create-orig = 1 +upstream-branch = master +debian-branch = debian diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4b07054 --- /dev/null +++ b/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +export PYTHONWARNINGS=d + +PYVERS := $(shell pyversions -r) +PY3VERS := $(shell py3versions -r) + +%: + dh $@ --with python2,python3 --buildsystem=python_distutils + +override_dh_auto_build: + set -ex; \ + for python in $(PYVERS) $(PY3VERS); do \ + $$python setup.py build; \ + done + +override_dh_auto_clean: + rm -rf build docs/_build + rm -f .coverage + rm -rf *.egg-info + dh_auto_clean + +override_dh_auto_install: + set -ex; \ + for python in $(PYVERS); do \ + $$python setup.py install --skip-build --root debian/python-uritemplate.py \ + --install-layout deb; \ + done + + set -ex; \ + for python in $(PY3VERS); do \ + $$python setup.py install --skip-build --root debian/python3-uritemplate.py \ + --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..e3d8c7c --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/g/uritemplate.py/uritemplate.py-(.*)\.tar\.gz