[PATCH 5 of 9 postgis] [debian] Use pybuild

Philippe Pepiot philippe.pepiot at logilab.fr
Thu Jun 27 16:56:43 CEST 2019


# HG changeset patch
# User Philippe Pepiot <philippe.pepiot at logilab.fr>
# Date 1561645163 -7200
#      Thu Jun 27 16:19:23 2019 +0200
# Node ID 089435394967028eeec332344eb82072fcf1f4b3
# Parent  8118b0dd1aa2ae91e5b99180c4c5ddde847c51fc
# Available At https://hg.logilab.org/review/cubes/postgis
#              hg pull https://hg.logilab.org/review/cubes/postgis -r 089435394967
[debian] Use pybuild

Bump min python2 version along the way.

diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 cubicweb-postgis (0.7.0-2) UNRELEASED; urgency=medium
 
   * Switch to 3.0 (quilt) format
+  * Use pybuild
 
  -- Philippe Pepiot <philippe.pepiot at logilab.fr>  Thu, 27 Jun 2019 16:17:16 +0200
 
diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -5,11 +5,11 @@ Maintainer: LOGILAB S.A. (Paris, FRANCE)
 Build-Depends:
  debhelper (>= 9),
  dh-python,
- python (>= 2.6.5),
+ python-all (>= 2.7),
  python-setuptools,
 Standards-Version: 3.9.6
 Homepage: https://www.cubicweb.org/project/cubicweb-postgis
-X-Python-Version: >= 2.6
+X-Python-Version: >= 2.7
 
 Package: cubicweb-postgis
 Architecture: all
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=cubicweb-postgis
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2 --buildsystem=pybuild



More information about the cubicweb-devel mailing list