From 57ce95170dc181c26633036f7c2adfd1c83192bf Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 15 Jul 2009 15:21:38 +0200 Subject: debian/rules: Add --install-layout=deb, debian/control: XS-Python-Version >= 2.5 --- debian/control | 2 +- debian/rules | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 897ef3de..9e0fe3ea 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: APT Development Team Uploaders: Michael Vogt , Julian Andres Klode Standards-Version: 3.8.2 -XS-Python-Version: all +XS-Python-Version: >= 2.5 Build-Depends: apt-utils, cdbs, debhelper (>= 7), diff --git a/debian/rules b/debian/rules index 7a6ff690..f9b08384 100755 --- a/debian/rules +++ b/debian/rules @@ -17,10 +17,11 @@ PY3K_VERSIONS := $(shell find /usr/bin/python3.? | sed s/.*python//) PKG=python-apt DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p') DEB_COMPRESS_EXCLUDE:=.html .js _static/* _sources/* _sources/*/* .inv +DEB_PYTHON_INSTALL_ARGS_ALL=--no-compile --install-layout=deb DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS) # Define COMPAT_0_7 to get all the deprecated interfaces. -export CFLAGS+=-DCOMPAT_0_7 +export CFLAGS+=-DCOMPAT_0_7 -Wno-write-strings export DEBVER build/python-apt:: -- cgit v1.2.3