diff --git a/debian/changelog b/debian/changelog index 716868052bc67b91f8e0dc495c727c6bcd016339_ZGViaWFuL2NoYW5nZWxvZw==..72a393d5ce606f736eec1ca0c5ce14d65ea24105_ZGViaWFuL2NoYW5nZWxvZw== 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +rql (0.6.0-4) unstable; urgency=low + + * new python policy + + -- Adrien.DiMascio <Adrien.DiMascio@logilab.fr> Tue, 18 Jul 2006 17:55:19 +0200 + rql (0.6.0-3) unstable; urgency=low * added conflicts with python2.3-rql diff --git a/debian/control b/debian/control index 716868052bc67b91f8e0dc495c727c6bcd016339_ZGViaWFuL2NvbnRyb2w=..72a393d5ce606f736eec1ca0c5ce14d65ea24105_ZGViaWFuL2NvbnRyb2w= 100644 --- a/debian/control +++ b/debian/control @@ -2,8 +2,9 @@ Section: python Priority: optional Maintainer: Sylvain Thenault <sylvain.thenault@logilab.fr> -Build-Depends: debhelper (>= 4.0.0), python-dev -Standards-Version: 3.6.2 +Build-Depends: debhelper (>= 5.0.37.1), python-dev (>=2.3.5-7), python (>=2.3.5-7), python-central +XS-Python-Version: all +Standards-Version: 3.7.2 Package: python-rql Architecture: all @@ -7,8 +8,8 @@ Package: python-rql Architecture: all -Depends: python, python-logilab-common, python-constraint (>= 0.3.0-2) -Provides: python2.3-rql, python2.4-rql +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, python-egenix-mxdatetime, python-logilab-common (>= 0.16.1-1), python-constraint (>= 0.3.0-5) Replaces: python2.3-rql, python2.4-rql Conflicts: python2.3-rql, python2.4-rql Description: relationship query language (RQL) utilities [dummy package] diff --git a/debian/rules b/debian/rules index 716868052bc67b91f8e0dc495c727c6bcd016339_ZGViaWFuL3J1bGVz..72a393d5ce606f736eec1ca0c5ce14d65ea24105_ZGViaWFuL3J1bGVz 100755 --- a/debian/rules +++ b/debian/rules @@ -12,9 +12,7 @@ #export DH_VERBOSE=1 # This is the debhelper compatability version to use. -export DH_COMPAT=4 - -PYVERSIONS=2.3 2.4 +export DH_COMPAT=5 build: build-stamp build-stamp: @@ -36,6 +34,5 @@ dh_testroot dh_clean -k dh_installdirs - python setup.py -q install_lib --no-compile --install-dir=debian/python-rql/usr/lib/site-python - python setup.py -q install_headers --install-dir=debian/python-rql/usr/include/ + python setup.py -q install --no-compile --prefix=debian/python-rql/usr/ --install-headers=debian/python-rql/usr/include/ --install-scripts=debian/python-rql/usr/bin # remove test directory (installed in in the doc directory) @@ -41,3 +38,3 @@ # remove test directory (installed in in the doc directory) - rm -rf debian/python-rql/usr/lib/site-python/rql/test + rm -rf debian/python-rql/usr/lib/python*/site-packages/rql/test # install tests @@ -43,9 +40,8 @@ # install tests - (cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/python-rql-test/usr/share/doc/python-rql/test/{} \;) - + (cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/python-rql/usr/share/doc/python-rql/test/{} \;) # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_install -i @@ -46,9 +42,11 @@ # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_install -i + dh_pycentral -i + dh_python -i gzip -9 -c ChangeLog > changelog.gz dh_installchangelogs -i dh_installexamples -i