Update Debian packaging configuration
authorNsukami Patrick <ndkpatt at gmail dot com>
Tue, 19 Mar 2019 09:04:57 +0000
changeset 83 bfbc0c4e5556
parent 82 fec2bbdeee20
child 84 25cc512633c1
Update Debian packaging configuration
debian/control
debian/rules
--- a/debian/control	Tue Mar 19 09:02:43 2019 +0000
+++ b/debian/control	Tue Mar 19 09:04:57 2019 +0000
@@ -5,15 +5,18 @@
 Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>, David Douard <david.douard@logilab.fr>
 Build-Depends: 
   debhelper (>= 9), 
-  python (>= 2.6.5), 
-Standards-Version: 3.9.6
+  python (>= 2.7),
+  dh-python,
+  python-setuptools
+Standards-Version: 3.9.8
 Homepage: http://www.cubicweb.org/project/cubicweb-fresh
-XS-Python-Version: >= 2.6
+XS-Python-Version: >= 2.7
 
 Package: cubicweb-fresh
 Architecture: all
 Depends:
- cubicweb-common (>= 3.20.0),
+ python-cubicweb (>= 3.24.0),
+ python-six (>= 1.4),
  cubicweb-expense (>= 0.4.4),
  cubicweb-workcase,
  ${python:Depends},
--- a/debian/rules	Tue Mar 19 09:02:43 2019 +0000
+++ b/debian/rules	Tue Mar 19 09:04:57 2019 +0000
@@ -1,15 +1,4 @@
 #!/usr/bin/make -f
 
-export NO_SETUPTOOLS=1
-
 %:
 	dh $@ --with python2
-
-override_dh_auto_install:
-	dh_auto_install
-	# remove generated .egg-info file
-	rm -rf debian/*/usr/lib/python*
-
-override_dh_python2:
-	dh_python2 -i /usr/share/cubicweb
-