tags 620293 + patch tags 620293 + pending thanks Dear maintainer,
I've prepared an NMU for python-oss (versioned as 0.0.0.20010624-6.2) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer.
-- Jakub Wilk
diffstat for python-oss_0.0.0.20010624-6.1 python-oss_0.0.0.20010624-6.2 changelog | 7 +++++++ control | 2 +- rules | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff -u python-oss-0.0.0.20010624/debian/changelog python-oss-0.0.0.20010624/debian/changelog --- python-oss-0.0.0.20010624/debian/changelog +++ python-oss-0.0.0.20010624/debian/changelog @@ -1,3 +1,10 @@ +python-oss (0.0.0.20010624-6.2) unstable; urgency=low + + * Non-maintainer upload. + * Generate correct version dependencies on python (closes: #620293). + + -- Jakub Wilk <[email protected]> Fri, 08 Apr 2011 21:54:01 +0200 + python-oss (0.0.0.20010624-6.1) unstable; urgency=low * Non-maintainer upload. diff -u python-oss-0.0.0.20010624/debian/control python-oss-0.0.0.20010624/debian/control --- python-oss-0.0.0.20010624/debian/control +++ python-oss-0.0.0.20010624/debian/control @@ -8,7 +8,7 @@ Package: python-oss Architecture: any -Depends: python, ${shlibs:Depends} +Depends: ${python:Depends}, ${shlibs:Depends} Replaces: python2.3-oss, python2.4-oss Conflicts: python2.3-oss, python2.4-oss XB-Python-Version: ${python:Versions} diff -u python-oss-0.0.0.20010624/debian/rules python-oss-0.0.0.20010624/debian/rules --- python-oss-0.0.0.20010624/debian/rules +++ python-oss-0.0.0.20010624/debian/rules @@ -2,6 +2,10 @@ PYTHON_VERSIONS=$(shell pyversions -vs) +PYTHON_MIN_VERSION = $(firstword $(sort $(PYTHON_VERSIONS))) +PYTHON_MAX_VERSION = $(lastword $(sort $(PYTHON_VERSIONS))) +PYTHON_STOP_VERSION = $(shell set -- $(subst ., ,$(PYTHON_MAX_VERSION)); echo $$1.$$(($$2 + 1))) + -include /usr/share/python/python.mk docdir=debian/tmp/python-oss/usr/share/doc/python-oss @@ -70,6 +74,7 @@ install -d --mode=0755 'debian/tmp/python-oss/DEBIAN' dpkg-shlibdeps `find 'debian/tmp/python-oss/usr/lib' -name '*.so'` echo "python:Versions=$(PYTHON_VERSIONS)" | sed 's/ /, /g' >> debian/substvars + echo "python:Depends=python (>= $(PYTHON_MIN_VERSION)), python (<< $(PYTHON_STOP_VERSION))" >> debian/substvars dpkg-gencontrol -p'python-oss' -P'debian/tmp/python-oss' dpkg --build 'debian/tmp/python-oss' ..

