diff --git a/debian/compat b/debian/compat index 6b40a66ddb6c052985d6cd7de4fd96b7ad42e4aa_ZGViaWFuL2NvbXBhdA==..3c1864f6c6a3f8d1d231b09eda837d2d7184b3ad_ZGViaWFuL2NvbXBhdA== 100644 --- a/debian/compat +++ b/debian/compat @@ -1,1 +1,1 @@ -7 +8 diff --git a/debian/control b/debian/control index 6b40a66ddb6c052985d6cd7de4fd96b7ad42e4aa_ZGViaWFuL2NvbnRyb2w=..3c1864f6c6a3f8d1d231b09eda837d2d7184b3ad_ZGViaWFuL2NvbnRyb2w= 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,9 @@ Section: web Priority: optional Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr> -Build-Depends: debhelper (>= 7), python (>= 2.6.5) +Build-Depends: + debhelper (>= 8), + python (>= 2.6.5), Standards-Version: 3.9.3 X-Python-Version: >= 2.6 @@ -12,7 +14,7 @@ cubicweb-web (>= 3.19.0), cubicweb-bootstrap (>= 1.0.0), ${misc:Depends}, - ${python:Depends} + ${python:Depends}, Description: data-centric user interface for cubicweb based on bootstrap CubicWeb is a semantic web application framework. . diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 index 6b40a66ddb6c052985d6cd7de4fd96b7ad42e4aa_ZGViaWFuL3J1bGVz..3c1864f6c6a3f8d1d231b09eda837d2d7184b3ad_ZGViaWFuL3J1bGVz --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,2 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. @@ -4,12 +2,3 @@ -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 -build: build-arch build-indep -build-arch: - # Nothing to do -build-indep: build-stamp -build-stamp: - dh_testdir - NO_SETUPTOOLS=1 python setup.py -q build - touch build-stamp +export NO_SETUPTOOLS=1 @@ -15,9 +4,4 @@ -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - rm -rf build - find . -name "*.pyc" | xargs rm -f - dh_clean +%: + dh $@ --with python2 @@ -23,8 +7,4 @@ -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs -i - NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/cubicweb-squareui/usr/ +override_dh_auto_install: + dh_auto_install # remove generated .egg-info file @@ -30,4 +10,3 @@ # remove generated .egg-info file - rm -rf debian/cubicweb-squareui/usr/lib/python* - + rm -rf debian/*/usr/lib/python* @@ -33,11 +12,3 @@ -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_install -i - dh_installchangelogs -i - dh_installexamples -i - dh_installdocs -i - dh_installman -i +override_dh_python2: dh_python2 -i /usr/share/cubicweb @@ -43,15 +14,1 @@ dh_python2 -i /usr/share/cubicweb - dh_link -i - dh_compress -i -X.py -X.ini -X.xml -Xtest - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - - -# Build architecture-dependent files here. -binary-arch: - -binary: binary-indep -.PHONY: build clean binary-arch binary-indep binary