summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-09-09 19:50:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-09-09 19:50:57 +0000
commitfcd7fad37e783da424f6ad5e30214c10ee66eb55 (patch)
tree684054cd8657aaa7186b0675c9ba4698609f522f
parentReleasing progress-linux version 0.13.0-2~dschinn1. (diff)
downloadlibixion-fcd7fad37e783da424f6ad5e30214c10ee66eb55.zip
libixion-fcd7fad37e783da424f6ad5e30214c10ee66eb55.tar.xz
Merging debian version 0.13.0-3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog6
-rw-r--r--debian/tests/control7
-rwxr-xr-xdebian/tests/unit9
-rw-r--r--debian/watch6
4 files changed, 25 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index dce7fe4..d13b9ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libixion (0.13.0-3) unstable; urgency=medium
+
+ * add autopkgtest
+
+ -- Rene Engelhard <rene@debian.org> Wed, 18 Jul 2018 21:02:54 +0000
+
libixion (0.13.0-2~dschinn1) dschinn-backports; urgency=medium
* Uploading to dschinn-backports, remaining changes:
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1d9acdc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Test-Command: set -e ; cd "$AUTOPKGTEST_TMP" ; python3 -c "import ixion; print(ixion)"
+Depends: python3, python3-ixion
+
+Tests: unit
+Depends: @builddeps@, libixion-0.13-0, python3-ixion
+Restrictions: build-needed, rw-build-tree
+
diff --git a/debian/tests/unit b/debian/tests/unit
new file mode 100755
index 0000000..c234ea1
--- /dev/null
+++ b/debian/tests/unit
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# remove locally built libixion so that we actually test the system one
+find . -name "*0.13.so*" -exec rm {} \;
+if [ -d ./src/python/.libs ]; then
+ rm -rf ./src/python/.libs
+fi
+
+make check
diff --git a/debian/watch b/debian/watch
index f9d6453..fb9574c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
-version=2
-opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/ixion-$1\.tar\.gz/g \
- https://gitlab.com/ixion/ixion/tags .*archive\.tar\.gz\?ref=v?(\d\S*)
+version=4
+opts=downloadurlmangle=s|gitlab.com/ixion/ixion/repository/(@ANY_VERSION@)/archive.tar.gz|kohei.us/files/ixion/src/@PACKAGE@-$1.tar.xz|,repack,compression=xz \
+http://gitlab.com/ixion/ixion/tags .*/@ANY_VERSION@/archive\.tar\.gz