Maintainer: Josselin Mouette <joss@debian.org>
Uploaders: Bernd Zeimetz <bzed@debian.org>, Piotr Ożarowski <piotr@debian.org>
Build-Depends: debhelper (>= 7), cdbs
-Build-Depends-Indep: python | python2
+Build-Depends-Indep: python3
Standards-Version: 3.9.3
Vcs-Svn: svn://anonscm.debian.org/collab-maint/deb-maint/python-support/trunk
Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/python-support/trunk/
Package: python-support
Architecture: all
-Depends: python | python2, python-minimal | python2-minimal, dpkg (>= 1.14.19), ${misc:Depends}
+Depends: python3, python3-minimal, dpkg (>= 1.14.19), ${misc:Depends}
Conflicts: debhelper (<< 5.0.38)
Description: automated rebuilding support for Python modules
This package contains the 'update-python-modules' script, which takes
import os
-from ConfigParser import SafeConfigParser
+from ConfigParser import ConfigParser
-config = SafeConfigParser()
+config = ConfigParser()
config.readfp(file('/usr/share/python/debian_defaults'))
versions = config.get('DEFAULT', 'supported-versions')
py_supported = [s.strip() for s in versions.split(',')]