summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog48
-rw-r--r--debian/control16
-rw-r--r--debian/copyright4
-rw-r--r--debian/patches/include-docs22
-rw-r--r--debian/patches/series1
-rw-r--r--debian/python3-wadllib.docs2
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/tests/control3
-rwxr-xr-xdebian/tests/py37
-rw-r--r--debian/upstream/metadata9
-rw-r--r--debian/watch2
11 files changed, 101 insertions, 15 deletions
diff --git a/debian/changelog b/debian/changelog
index 4adb168..6098c48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,51 @@
+python-wadllib (1.3.6-3) unstable; urgency=medium
+
+ * Team Upload.
+ * Permit stderr in autopkgtest test (Closes: #1025178).
+
+ -- Stuart Prescott <stuart@debian.org> Fri, 02 Dec 2022 22:49:44 +1100
+
+python-wadllib (1.3.6-2) unstable; urgency=medium
+
+ [ Debian Janitor ]
+ * Remove constraints unnecessary since buster:
+ + Build-Depends: Drop versioned constraint on python3-all.
+ * Update standards version to 4.6.1, no changes needed.
+
+ [ Stefano Rivera ]
+ * Support the nocheck build profile.
+
+ -- Stefano Rivera <stefanor@debian.org> Tue, 18 Oct 2022 17:46:43 +0200
+
+python-wadllib (1.3.6-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Bump Standards-Version to 4.6.0, no changes needed.
+ * Bump debhelper compat level to 13.
+ * Add link to Changelog in UMEGAYA.
+ * Patch: Include docs in the installed tree, for doctest autopkgtests.
+ * Run the test suite as autopkgtests.
+ * Update paths to README and NEWS.
+
+ -- Stefano Rivera <stefanor@debian.org> Fri, 17 Sep 2021 12:37:12 -0700
+
+python-wadllib (1.3.5-1) unstable; urgency=medium
+
+ [ Stefano Rivera ]
+ * New upstream release.
+ * d/control: Update Uploaders field with new Debian Python Team
+ contact address.
+ * Update upstream metadata.
+ * Bump Standards-Version to 4.5.1, no changes needed.
+ * Bump copyright years.
+ * Bump watch format version to 4.
+
+ [ Ondřej Nový ]
+ * d/control: Update Vcs-* fields with new Debian Python Team Salsa
+ layout.
+
+ -- Stefano Rivera <stefanor@debian.org> Thu, 21 Jan 2021 23:43:58 -0700
+
python-wadllib (1.3.4-1) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 33cc525..f8c9a4d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,20 +2,18 @@ Source: python-wadllib
Section: python
Priority: optional
Maintainer: Stefano Rivera <stefanor@debian.org>
-Uploaders:
- Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Debian Python Team <team+python@tracker.debian.org>
Build-Depends:
- debhelper-compat (= 12),
+ debhelper-compat (= 13),
dh-python,
- python3-all (>= 3.1.2-6~),
- python3-lazr.uri,
+ python3-all,
+ python3-lazr.uri <!nocheck>,
python3-setuptools
-Standards-Version: 4.2.1
+Standards-Version: 4.6.1
Homepage: https://launchpad.net/wadllib
-Vcs-Git: https://salsa.debian.org/python-team/modules/python-wadllib.git
-Vcs-Browser: https://salsa.debian.org/python-team/modules/python-wadllib
+Vcs-Git: https://salsa.debian.org/python-team/packages/python-wadllib.git
+Vcs-Browser: https://salsa.debian.org/python-team/packages/python-wadllib
Rules-Requires-Root: no
-Testsuite: autopkgtest-pkg-python
Package: python3-wadllib
Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 2c744ac..38e00bd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,14 +3,14 @@ Upstream-Name: wadllib
Source: https://launchpad.net/wadllib
Files: *
-Copyright: 2008-2018 Canonical Ltd.
+Copyright: 2008-2021 Canonical Ltd.
License: LGPL-3.0
Files: debian/*
Copyright:
2009, James Westby <james.westby@ubuntu.com>
2009-2011, Luca Falavigna <dktrkranz@debian.org>
- 2012-2018, Stefano Rivera <stefanor@debian.org>
+ 2012-2021, Stefano Rivera <stefanor@debian.org>
License: LGPL-3.0
License: LGPL-3.0
diff --git a/debian/patches/include-docs b/debian/patches/include-docs
new file mode 100644
index 0000000..1ad220e
--- /dev/null
+++ b/debian/patches/include-docs
@@ -0,0 +1,22 @@
+From: Stefano Rivera <stefanor@debian.org>
+Date: Fri, 17 Sep 2021 12:05:19 -0700
+Subject: Include docs in package data (for doctests)
+
+Forwarded: https://code.launchpad.net/~stefanor/wadllib/install-docs/+merge/408835
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index a9d35d4..a51416f 100755
+--- a/setup.py
++++ b/setup.py
+@@ -53,7 +53,7 @@ setup(
+ packages=find_packages('src'),
+ package_dir={'':'src'},
+ package_data={
+- '': ['*.xml', '*.json'],
++ '': ['*.xml', '*.json', '*.rst'],
+ },
+ include_package_data=True,
+ zip_safe=False,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..670b7e9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+include-docs
diff --git a/debian/python3-wadllib.docs b/debian/python3-wadllib.docs
index 0f9b0e7..a1320b1 100644
--- a/debian/python3-wadllib.docs
+++ b/debian/python3-wadllib.docs
@@ -1 +1 @@
-src/wadllib/README.txt
+README.rst
diff --git a/debian/rules b/debian/rules
index 019e5ef..5d75c1b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,4 @@ export PYBUILD_NAME=wadllib
dh $@ --with python3 --buildsystem pybuild
override_dh_installchangelogs:
- dh_installchangelogs -k src/wadllib/NEWS.txt
+ dh_installchangelogs -k NEWS.rst
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f40db0b
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: py3
+Depends: python3-all, python3-wadllib, python3-zope.testrunner
+Restrictions: allow-stderr
diff --git a/debian/tests/py3 b/debian/tests/py3
new file mode 100755
index 0000000..681d537
--- /dev/null
+++ b/debian/tests/py3
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -euf
+for py in $(py3versions -s); do
+ echo "===== $py ====="
+ $py -m zope.testrunner -vv -s wadllib.tests \
+ --test-path /usr/lib/python3/dist-packages/
+done
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 4bcba5f..3f60608 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,2 +1,9 @@
+---
+Bug-Database: https://bugs.launchpad.net/wadllib
+Bug-Submit: https://bugs.launchpad.net/wadllib/+filebug
+Changelog: https://bazaar.launchpad.net/~lazr-developers/wadllib/trunk/view/head:/NEWS.rst
+Registry:
+ - Name: PyPI
+ Entry: wadllib
Repository: https://code.launchpad.net/wadllib
-Repository-Browse: https://code.launchpad.net/wadllib
+Repository-Browse: https://bazaar.launchpad.net/~lazr-developers/wadllib/trunk/files
diff --git a/debian/watch b/debian/watch
index 36a3f0b..1f24e82 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
https://launchpad.net/wadllib/+download .*/wadllib-(.+).tar.gz