summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-12 19:10:48 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-12 19:10:48 +0200
commit3bbb577e8a47ed05041c2532531e0e263f821c2c (patch)
tree3ffb82dffe96e52ecf7471f6782cfaa60267b68b /debian
parent8e4f00f1b6349b55eebce3c9cccbcab7ab438a85 (diff)
downloadpython-apt-3bbb577e8a47ed05041c2532531e0e263f821c2c.tar.gz
setup.py, debian/rules: Support version in setup.py again by getting
the value from the variable DEBVER (defined in debian/rules), falling back to None.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules1
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 20d2167a..d9258436 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ python-apt (0.7.10.2) unstable; urgency=low
* apt/package.py: Handle cases where no candidate is available and
one of the deprecated properties (e.g. candidateVersion) is
requested. (Closes: #523801)
+ * setup.py, debian/rules: Support version in setup.py again by getting
+ the value from the variable DEBVER (defined in debian/rules), falling
+ back to None.
-- Julian Andres Klode <jak@debian.org> Sun, 12 Apr 2009 19:00:07 +0200
diff --git a/debian/rules b/debian/rules
index a2802ea7..6d709ecd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,7 @@ PKG=python-apt
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
DEB_COMPRESS_EXCLUDE:=.html .js _static/* _sources/* _sources/*/* .inv
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
+export DEBVER
build/python-apt-dbg::
set -e; \