Package: python-ctypes Tags: patch Starting with python2.5, ctypes is part of the standard python library. python-ctypes will fail to install with python2.5 as the default python version (which will not happen now). python2.5 provides python2.5-ctypes, so you can (and should) drop the dependency on python (<< 2.5).
There is no explicit support for extensions and modules borg'ed by the python standard library, the python:Provides is now generated by dh_python. diff -u ctypes-0.9.9.6/debian/changelog ctypes-0.9.9.6/debian/changelog --- ctypes-0.9.9.6/debian/changelog +++ ctypes-0.9.9.6/debian/changelog @@ -1,3 +1,10 @@ +ctypes (0.9.9.6-1.1) unstable; urgency=low + + * Do not reference a specific python version. + * Do not depend on python (<< 2.5). + + -- Matthias Klose <[EMAIL PROTECTED]> Fri, 11 Aug 2006 20:41:38 +0000 + ctypes (0.9.9.6-1) unstable; urgency=low * New upstream version. diff -u ctypes-0.9.9.6/debian/control ctypes-0.9.9.6/debian/control --- ctypes-0.9.9.6/debian/control +++ ctypes-0.9.9.6/debian/control @@ -1,8 +1,8 @@ Source: ctypes Section: python Priority: optional -Build-Depends: python2.3-dev (>= 2.3.5-10), python2.4-dev, python-central (>= 0.4.17), debhelper (>= 5.0.37.1) -XS-Python-Version: <= 2.4 +Build-Depends: python-all-dev (>= 2.3.5-10), python-central (>= 0.4.17), debhelper (>= 5.0.37.1) +XS-Python-Version: all Maintainer: Ganesan Rajagopal <[EMAIL PROTECTED]> Uploaders: Debian Python Modules Team <[EMAIL PROTECTED]> Standards-Version: 3.7.2 diff -u ctypes-0.9.9.6/debian/rules ctypes-0.9.9.6/debian/rules --- ctypes-0.9.9.6/debian/rules +++ ctypes-0.9.9.6/debian/rules @@ -6,7 +6,7 @@ # This is the debhelper compatibility version to use. export DH_COMPAT=5 -PYVERS := $(shell pyversions -vr debian/control) +PYVERS := $(filter 2.1 2.2 2.3 2.4, $(shell pyversions -vr debian/control)) DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog \ | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) PYMOD = ctypes @@ -55,7 +55,7 @@ dh_link -a dh_pycentral -a dh_python -a - echo python:Provides=$(foreach pv,python2.3 python2.4,$(pv)-ctypes)|sed 's/ /, /g' >> debian/python-ctypes.substvars + sed -i 's/python (<< [^,]*)//; s/, *,/,/' debian/python-ctypes.substvars dh_compress -a dh_fixperms -a dh_installdeb -a -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]