[Git][debian-gis-team/python-descartes][master] 3 commits: Add autopkgtest installability & module import tests.

Bas Couwenberg gitlab at salsa.debian.org
Sun Jul 29 18:14:58 BST 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / python-descartes


Commits:
03398bc9 by Bas Couwenberg at 2018-07-29T16:58:25Z
Add autopkgtest installability & module import tests.

- - - - -
174ec6e6 by Bas Couwenberg at 2018-07-29T17:05:55Z
Update watch file to use HTTPS.

- - - - -
9f24a352 by Bas Couwenberg at 2018-07-29T17:05:55Z
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/tests/control
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-descartes (1.1.0-2) UNRELEASED; urgency=medium
+python-descartes (1.1.0-2) unstable; urgency=medium
 
   * Team upload.
   * Strip trailing whitespace from control & rules files.
@@ -6,8 +6,10 @@ python-descartes (1.1.0-2) UNRELEASED; urgency=medium
   * Update Vcs-* URLs for Salsa.
   * Bump Standards-Version to 4.1.5, no changes.
   * Change Homepage & Source URLs to Bitbucket repository.
+  * Add autopkgtest installability & module import tests.
+  * Update watch file to use HTTPS.
 
- -- Bas Couwenberg <sebastic at debian.org>  Tue, 21 Nov 2017 10:08:04 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 29 Jul 2018 18:59:32 +0200
 
 python-descartes (1.1.0-1) unstable; urgency=medium
 


=====================================
debian/tests/control
=====================================
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,11 @@
+# Test installability
+Depends: @
+Test-Command: /bin/true
+
+# Test module import (Python 2)
+Depends: python-all, python-descartes
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import descartes; print(descartes)" ; done
+
+# Test module import (Python 3)
+Depends: python3-all, python3-descartes
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import descartes; print(descartes)" ; done


=====================================
debian/watch
=====================================
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
 opts=uversionmangle=s/(rc|dev|a|b|c)/~$1/ \
-http://pypi.debian.net/descartes/descartes-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+https://pypi.debian.net/descartes/descartes-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-descartes/compare/f1cd456f8ccc550de082403135e4ead9ff33c764...9f24a35257d1a16e88c396b02d916594bc873a52

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-descartes/compare/f1cd456f8ccc550de082403135e4ead9ff33c764...9f24a35257d1a16e88c396b02d916594bc873a52
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20180729/e2da29b6/attachment-0001.html>


More information about the Pkg-grass-devel mailing list