[Git][debian-gis-team/pyosmium][stretch-backports] 8 commits: Add module import tests to autopkgtest configuration.

Bas Couwenberg gitlab at salsa.debian.org
Mon Apr 30 06:39:19 BST 2018


Bas Couwenberg pushed to branch stretch-backports at Debian GIS Project / pyosmium


Commits:
ed8b39f2 by Bas Couwenberg at 2018-04-16T21:28:01+02:00
Add module import tests to autopkgtest configuration.

- - - - -
5bf49a33 by Bas Couwenberg at 2018-04-18T20:48:00+02:00
Bump Standards-Version to 4.1.4, no changes.

- - - - -
af70ee06 by Bas Couwenberg at 2018-04-25T07:20:06+02:00
New upstream version 2.14.1
- - - - -
dbce8a3e by Bas Couwenberg at 2018-04-25T07:20:08+02:00
Merge tag 'upstream/2.14.1'

Upstream version 2.14.1

- - - - -
4ac711df by Bas Couwenberg at 2018-04-25T07:20:27+02:00
New upstream release.

- - - - -
3048efe3 by Bas Couwenberg at 2018-04-25T07:20:58+02:00
Set distribution to unstable.

- - - - -
c5461817 by Bas Couwenberg at 2018-04-30T07:20:57+02:00
Merge tag 'debian/2.14.1-1' into stretch-backports

- - - - -
f26d6d4e by Bas Couwenberg at 2018-04-30T07:21:04+02:00
Rebuild for stretch-backports.

- - - - -


6 changed files:

- CHANGELOG.md
- debian/changelog
- debian/control
- debian/tests/control
- setup.py
- src/osmium/version.py


Changes:

=====================================
CHANGELOG.md
=====================================
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
 
 ### Fixed
 
+## [2.14.1] - 2018-04-24
+
+### Added
+
+### Changed
+
+### Fixed
+
+- fix build script to find libboost-python on Darwin
+
 ## [2.14.0] - 2018-03-31
 
 ### Added


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+pyosmium (2.14.1-1~bpo9+1) stretch-backports; urgency=medium
+
+  * Rebuild for stretch-backports.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 30 Apr 2018 07:21:01 +0200
+
+pyosmium (2.14.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Add module import tests to autopkgtest configuration.
+  * Bump Standards-Version to 4.1.4, no changes.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 25 Apr 2018 07:20:45 +0200
+
 pyosmium (2.14.0-1~bpo9+1) stretch-backports; urgency=medium
 
   * Rebuild for stretch-backports.


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Build-Depends: debhelper (>= 9),
                python3-nose,
                python3-sphinx,
                python3-sphinxcontrib.autoprogram
-Standards-Version: 4.1.3
+Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/pyosmium/
 Vcs-Git: https://salsa.debian.org/debian-gis-team/pyosmium.git -b stretch-backports
 Homepage: http://osmcode.org/pyosmium/


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


=====================================
setup.py
=====================================
--- a/setup.py
+++ b/setup.py
@@ -60,6 +60,8 @@ suffixes = [ # Debian naming convention for version installed in parallel
              "-py%d%d" % (pyversion.major, pyversion.minor),
              # Gentoo naming convention for version installed in parallel
              "-%d.%d" % (pyversion.major, pyversion.minor),
+             # Darwin
+             "%d%d" % (pyversion.major, pyversion.minor),
              # standard suffix for Python3
              "%d" % (pyversion.major),
              # standard naming
@@ -68,9 +70,10 @@ suffixes = [ # Debian naming convention for version installed in parallel
              "-mt"
            ]
 for suf in suffixes:
-    lib = find_library("boost_python%s" % suf)
-    if lib is not None:
-        libs.append("boost_python%s" % suf)
+    libboost = "boost_python%s" % suf
+    found = find_library(libboost)
+    if found:
+        libs.append(libboost)
         break
 else:
     # Visual C++ supports auto-linking, no library needed


=====================================
src/osmium/version.py
=====================================
--- a/src/osmium/version.py
+++ b/src/osmium/version.py
@@ -5,7 +5,7 @@ Version information.
 # the major version
 pyosmium_major = '2.14'
 # current release (Pip version)
-pyosmium_release = '2.14.0'
+pyosmium_release = '2.14.1'
 
 # libosmium version shipped with the Pip release
 libosmium_version = '2.14.0'



View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/compare/32ca418b42e8bdd9496a451e7118c48a41df9f9e...f26d6d4ebf0fa7b9d084ea8a680905c295e93487

---
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/compare/32ca418b42e8bdd9496a451e7118c48a41df9f9e...f26d6d4ebf0fa7b9d084ea8a680905c295e93487
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/20180430/7e6b3d96/attachment-0001.html>


More information about the Pkg-grass-devel mailing list