Update Debian packaging configuration
authorNsukami Patrick <ndkpatt at gmail dot com>
Fri, 08 Mar 2019 07:07:22 +0000
changeset 389 7f196b516c83
parent 388 854c671d19dc
child 390 c0a9c7b7a31e
Update Debian packaging configuration
debian/control
debian/rules
--- a/debian/control	Wed Mar 06 09:54:54 2019 +0100
+++ b/debian/control	Fri Mar 08 07:07:22 2019 +0000
@@ -5,17 +5,18 @@
 Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>, Nicolas Chauvat <nicolas.chauvat@logilab.fr>
 Build-Depends:
  debhelper (>= 9),
- python (>= 2.6.5),
+ python (>= 2.7),
  dh-python,
-X-Python-Version: >= 2.6
-Standards-Version: 3.9.6
+ python-setuptools,
+Standards-Version: 3.9.8 
+X-Python-Version: >= 2.7
 Homepage: https://www.cubicweb.org/project/cubicweb-blog
 
 Package: cubicweb-blog
 Architecture: all
 Depends:
- cubicweb-common (>= 3.19.0),
- python-six (>= 1.4.0),
+ python-cubicweb (>= 3.24),
+ python-six,
  ${python:Depends},
  ${misc:Depends},
 Suggests:
--- a/debian/rules	Wed Mar 06 09:54:54 2019 +0100
+++ b/debian/rules	Fri Mar 08 07:07:22 2019 +0000
@@ -1,9 +1,4 @@
 #!/usr/bin/make -f
 
-export NO_SETUPTOOLS=1
-
 %:
-	dh $@ --with python2 --buildsystem=pybuild
-
-override_dh_python2:
-	dh_python2 /usr/share/cubicweb
+	dh $@ --with python2