[PATCH 16 of 16 Mailinglist cube] [pkg] update Debian packaging

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 09:45:31 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585726881 0
#      Wed Apr 01 07:41:21 2020 +0000
# Node ID d4bad9ab4c1c470790a01e36db0c852e10a660b7
# Parent  ebdd5a27165a54894de00d67fbdbe8f740318a53
[pkg] update Debian packaging

diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -5,16 +5,17 @@
 Uploaders: Sylvain Thenault <sylvain.thenault at logilab.fr>
 Build-Depends:
  debhelper (>= 9),
- python (>= 2.6.5)
-Standards-Version: 3.9.6
+ python3-all,
+ dh-python
+Standards-Version: 3.9.3
+X-Python3-Version: >= 3.5
 Homepage: http://www.cubicweb.org/project/cubicweb-mailinglist
-X-Python-Version: >= 2.6
 
-Package: cubicweb-mailinglist
+Package: python3-cubicweb-mailinglist
 Architecture: all
 Depends:
  cubicweb-common (>= 3.19.0),
- ${python:Depends},
+ ${python3:Depends},
  ${misc:Depends},
 Suggests: cubicweb-sioc
 Description: mailing-list component for the CubicWeb framework
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,9 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME = cubicweb-mailinglist
+
+# Python 3.8 is broken in Debian unstable as of 2019-11-21
+export PYBUILD_DISABLE_python3.8 = 1
+
 %:
-	dh $@ --with python2
-
-override_dh_python2:
-	dh_python2 -i /usr/share/cubicweb
+	dh $@ --with python2,python3 --buildsystem=pybuild




More information about the cubicweb-devel mailing list