diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6fd4b5d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,56 @@ +isodate (0.5.4-1) unstable; urgency=medium + + * New upstream release (0.5.4). + + -- Maximiliano Curia Thu, 01 Oct 2015 14:41:23 +0200 + +isodate (0.5.1-2) unstable; urgency=medium + + * Update watch file. + * Release to unstable. + + -- Maximiliano Curia Tue, 28 Apr 2015 18:10:13 +0200 + +isodate (0.5.1-1) experimental; urgency=medium + + [ Hugo Lefeuvre ] + * Team upload. + * New upstream release (0.5.1). + * debian/control: + - Bump Standards-Version to 3.9.6. + + [ Maximiliano Curia ] + * Bump compat to 9. + + -- Maximiliano Curia Mon, 19 Jan 2015 15:17:06 +0100 + +isodate (0.5.0-1) unstable; urgency=medium + + [ James Hunt ] + * debian/tests/: Basic DEP-8 test to run test suite for python 2 and python 3. + * debian/watch: Added missing watch file. + * debian/control: Add XS-Testsuite for DEP-8 tests. + * debian/control: Update standards version. + * debian/copyright: Convert to DEP-5 format. + * debian/control: Make python 2 and python 3 Descriptions unique to appease + lintian. + * debian/control: Add Vcs-Git: and Vcs-Browser:. + + [ Maximiliano Curia ] + * debian/watch: Keep it simple. + * debian/copyright: Improve copyright information. + * debian/control: Correct Vcs-* fields. + * debian/control: Add the Homepage field. + * debian/control: Remove unneeded X-Python fields. + * Set python-modules group as maintainers. + * New upstream release (0.5.0). (Closes: #760979) + * debian/copyright: Remove block for removed file (bootstrap.py). + + -- Maximiliano Curia Wed, 10 Sep 2014 14:53:32 +0200 + +isodate (0.4.6-1) unstable; urgency=low + + * Initial release. (Closes: #656919) + * Include full bootstrap.py license (zpl 2.1) in debian/copyright + + -- Maximiliano Curia Sun, 22 Jan 2012 12:09:40 -0300 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..d655f06 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: isodate +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Maximiliano Curia +Build-Depends: debhelper (>= 9), + dh-python, + python-all (>= 2.6.6-3~), + python3-all (>= 3.1.2-6~) +Standards-Version: 3.9.6 +Homepage: https://pypi.python.org/pypi/isodate +Vcs-Git: git://anonscm.debian.org/python-modules/packages/isodate.git +Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/isodate.git + +Package: python-isodate +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: ISO 8601 date/time/duration parser and formatter (Python module) + This Python module implements ISO 8601 date, time and duration parsing. + +Package: python3-isodate +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: ISO 8601 date/time/duration parser and formatter (Python 3 module) + This Python 3 module implements ISO 8601 date, time and duration parsing. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..da0b414 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: isodate +Source: https://github.com/gweis/isodate.git + +Files: * +Copyright: 2009 Gerhard Weis +License: BSD-3-clause + +Files: debian/* +Copyright: 2012 Maximiliano Curia +License: BSD-3-clause + +License: BSD-3-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. + 3. Neither the name of the author nor the names of other contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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/rules b/debian/rules new file mode 100755 index 0000000..7f5289f --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +PYVERS := $(shell pyversions -r) +PY3VERS := $(shell py3versions -r) + +%: + dh $@ --with python2,python3 + +override_dh_auto_build: + set -ex; \ + for py in $(PYVERS) $(PY3VERS); do \ + $$py setup.py build; \ + done + +override_dh_auto_install: + set -ex; \ + for py in $(PYVERS); do \ + $$py setup.py install --skip-build --no-compile \ + --root debian/python-isodate \ + --install-layout=deb; \ + done + set -ex; \ + for py in $(PY3VERS); do \ + $$py setup.py install --skip-build --no-compile \ + --root debian/python3-isodate \ + --install-layout=deb; \ + done + +override_dh_auto_clean: + rm -rf build + rm -rf src/isodate.egg-info + find . \( -name '*.pyc' -o -name __pycache__ \) -delete 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/tests/control b/debian/tests/control new file mode 100644 index 0000000..69e5298 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: run-tests +Depends: @, python-setuptools, python3-setuptools diff --git a/debian/tests/run-tests b/debian/tests/run-tests new file mode 100644 index 0000000..a82acfa --- /dev/null +++ b/debian/tests/run-tests @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +(python setup.py test && python3 setup.py test) 2>&1 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..2a8f384 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +https://pypi.debian.net/isodate/isodate-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))