diff --git a/debian.hardy/compat b/debian.hardy/compat new file mode 100644 index 0000000000000000000000000000000000000000..15c6c1c1cd1c128a9383885ba3d16842298039f8_ZGViaWFuLmhhcmR5L2NvbXBhdA== --- /dev/null +++ b/debian.hardy/compat @@ -0,0 +1,1 @@ +5 diff --git a/debian.hardy/control b/debian.hardy/control new file mode 100644 index 0000000000000000000000000000000000000000..15c6c1c1cd1c128a9383885ba3d16842298039f8_ZGViaWFuLmhhcmR5L2NvbnRyb2w= --- /dev/null +++ b/debian.hardy/control @@ -0,0 +1,18 @@ +Source: rql +Section: python +Priority: optional +Maintainer: Logilab Packaging Team <contact@logilab.fr> +Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>, Ludovic Aubry <ludovic.aubry@logilab.fr> +Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>=2.4), python-all (>=2.4), python-central (>= 0.5), libgecode-dev +XS-Python-Version: >= 2.4 +Standards-Version: 3.8.0 + +Package: python-rql +Architecture: any +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, ${misc:depends}, ${shlibs:depends}, python-logilab-common (>= 0.35.3-1), python-constraint (>= 0.4.0-1), yapps2-runtime +Provides: ${python:Provides} +Description: relationship query language (RQL) utilities + A library providing the base utilities to handle RQL queries, + such as a parser, a type inferencer. + diff --git a/debian.hardy/rules b/debian.hardy/rules new file mode 100755 index 0000000000000000000000000000000000000000..15c6c1c1cd1c128a9383885ba3d16842298039f8_ZGViaWFuLmhhcmR5L3J1bGVz --- /dev/null +++ b/debian.hardy/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# adapted by Logilab for automatic generation by debianize +# (part of the devtools project, http://www.logilab.org/projects/devtools) +# +# Copyright (c) 2003-2008 LOGILAB S.A. (Paris, FRANCE). +# http://www.logilab.fr/ -- mailto:contact@logilab.fr + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + (for PYTHON in `pyversions -r`; do \ + $${PYTHON} setup.py build ; done ) +# ${MAKE} -C doc html + touch build-stamp +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf build + find . -name "*.pyc" | xargs rm -f + rm -f changelog.gz + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + (for PYTHON in `pyversions -r`; do \ + $${PYTHON} setup.py install --no-compile --prefix=debian/python-rql/usr/ ; \ + done) + # remove test directory (installed in in the doc directory) + rm -rf debian/python-rql/usr/lib/python*/site-packages/rql/test + # install tests + (cd test && find . -type f -not \( -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/python-rql/usr/share/doc/python-rql/test/{} \;) + +# Build architecture-independent files here. +binary-indep: + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_install -a + dh_pycentral -a + gzip -9 -c ChangeLog > changelog.gz + dh_installchangelogs -a + dh_installexamples -a + dh_installdocs -a README TODO changelog.gz + dh_installman -a + dh_link -a + dh_compress -a -X.py -X.ini -X.xml -Xtest + dh_fixperms -a + dh_shlibdeps -a + dh_installdeb -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + + +binary: binary-indep binary-arch +.PHONY: build clean binary binary-indep binary-arch +