Skip to content
Snippets Groups Projects
Commit 72a393d5ce60 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

new python policy

parent 716868052bc6
No related branches found
No related tags found
No related merge requests found
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
......
......@@ -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]
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment