python-central (0.6.5ubuntu1) hardy; urgency=low * Don't complain about absolute symlinks replaced by relative symlinks pointing to the pyshared directory. Might happen if a user runs symlinks -c, or a chroot is prepared for use with fakechroot (Ubuntu's apport retrace service runs in such an environment). LP: #204526. * Don't create preinst scripts, if the packages doesn't have any shared files. * On upgrade, remove byte-code files for private modules not existing anymore in a new version of a package. Closes: #476976. * pycentral pkgprepare: Skip package, if the required runtime is not yet installed. Closes: #476685. * pycentral version: New subcommand. -- Matthias Klose Tue, 22 Apr 2008 10:02:46 +0200 python-central (0.6.1ubuntu3) hardy; urgency=low * pycentral rtremove: Try to remove runtime support for all packages, then fail if one or more packages did fail. Be more verbose. -- Matthias Klose Thu, 17 Apr 2008 21:47:09 +0200 python-central (0.6.1ubuntu2) hardy; urgency=low * pycentral rtremove: Do not work on removed, but not purged packages. LP: #205470. * pycentral pkgprepare: Create the directory before creating a symlink there; not yet done when the package install previously failed and was retried. LP: #201978. -- Matthias Klose Fri, 04 Apr 2008 14:38:03 +0200 python-central (0.6.1ubuntu1) hardy; urgency=low * Allow pyversions -s to succeed without having python-all in the package list. -- Matthias Klose Thu, 20 Mar 2008 19:08:33 +0100 python-central (0.6.0ubuntu2) hardy; urgency=low * pycentral pkgprepare: Properly remove directories not found anymore in the new version of the package. LP: #201204. * dh_pycentral: Rename versioned .pth and .egg-info files, removing the python version unless DH_PYCENTRAL matches `norename'. * Warn about differing trees before moving files to the shared area. -- Matthias Klose Wed, 12 Mar 2008 17:29:45 +0100 python-central (0.6.0ubuntu1) hardy; urgency=low * Bump version number to 0.6.x. -- Matthias Klose Wed, 12 Mar 2008 00:26:46 +0100 python-central (0.6.0) unstable; urgency=low [ Summary of the changes for versions 0.5.50 up to 0.5.63 as done in Ubuntu] * Install modules into a package and tool independent directory /usr/share/pyshared (without the site-packages prefix), as proposed in http://lists.debian.org/debian-python/2006/06/msg00184.html. Let dpkg handle conflicts and replaces again. Packages should build-depend on python-central (>= 0.6) to ensure the new file layout. * Place metadata about the package in /usr/share/pyshared-data/, (readable by ConfigParser). Avoids direct access to files in /var/lib/dpkg/info and avoids calls to dpkg-query. * Keep public modules available during upgrades. - dh_pycentral: Call `pycentral pkgprepare' in the preinst (overridden with DH_PYCENTRAL matching `noprepare'. - pycentral pkgprepare: Implement. - Duplicate the metadata in the preinst file. * On upgrade, properly remove byte-code files not anymore in the new version of the package. * pkgprepare, pkginstall: Always use the default runtime as a last resort. * Handle updates gracefully, if the old package version has shared files already located in /usr/share/pyshared, and the new package has them still in the old location in /usr/share/pycentral. LP: #197841. * dh_pycentral: Remove an empty /usr/lib after moving all files. Closes: #452227. * Users tend to modify the /usr/bin/python symlink. Allow pythonX.Y and /usr/bin/pythonX.Y as values. Closes: #378146, #450491, #467372. * pycentral updatedefault: Fix name in error message. Closes: #432813. * pyversions.py: Assume no old and unsupported versions, when the python_defaults file is not yet installed. Closes: #405781. * dh_pycentral: Set file permissions independently of the umask. Closes: #398729. * Use a default value for supported python versions, if python-minimal is not installed, and apt-cache is not available. Closes: #394084, #397495. * Do not crash if no /usr/share/python/debian_defaults is on the system and assume python2.4 then. That was the last version without this file (LP: #198456). * Thanks to Michael Vogt for extensive upgrade testing, suggestions and bug fixes. -- Matthias Klose Tue, 11 Mar 2008 22:26:06 +0100 python-central (0.5.63ubuntu1) hardy; urgency=low * pycentral pkgprepare: Skip complaining about files moved from /usr/lib/pythonX.Y/site-packages to the shared area. * dh_pycentral: Don't link shared files at preinstallation when DH_PYCENTRAL matches the value `noprepare'. -- Matthias Klose Mon, 10 Mar 2008 23:30:38 +0000 python-central (0.5.62ubuntu4) hardy; urgency=low [Michael Vogt] * pycentral pkgprepare: Skip when upgrading from a package version not using python-central (showed on dapper->hardy upgrade testing). [Matthias Klose] * Check for file conflicts before starting to link shared files. -- Matthias Klose Fri, 07 Mar 2008 19:45:34 +0100 python-central (0.5.62ubuntu3) hardy; urgency=low * If "/usr/share/python/debian_defaults" does not exists, raise a ValueError in read_default() (LP: #198456) -- Michael Vogt Wed, 05 Mar 2008 15:26:28 +0100 python-central (0.5.62ubuntu2) hardy; urgency=low * Do not crash if no /usr/share/python/debian_defaults is on the system and assume python2.4 then. That was the last version without this file (LP: #198456) -- Michael Vogt Tue, 04 Mar 2008 19:44:20 +0100 python-central (0.5.62ubuntu1) hardy; urgency=low * pkgprepare, pkginstall: Always use the default runtime as a last resort. * Handle updates gracefully, if the old package version has shared files already located in /usr/share/pyshared, and the new package has them still in the old location in /usr/share/pycentral. LP: #197841. * dh_pycentral: Remove an empty /usr/lib after moving all files. Closes: #452227. * Users tend to modify the /usr/bin/python symlink. Allow pythonX.Y and /usr/bin/pythonX.Y as values. Closes: #378146, #450491, #467372. * pycentral updatedefault: Fix name in error message. Closes: #432813. * pyversions.py: Assume no old and unsupported versions, when the python_defaults file is not yet installed. Closes: #405781. * dh_pycentral: Set file permissions independently of the umask. Closes: #398729. * Use a default value for supported python versions, if python-minimal is not installed, and apt-cache is not available. Closes: #394084, #397495. -- Matthias Klose Sun, 02 Mar 2008 12:15:01 +0100 python-central (0.5.61ubuntu1) hardy; urgency=low * Don't try to use an unavailable runtime for `pkgprepare'. LP: #197160, #196984. * Duplicate the configuration information from the preinst file in /usr/share/pyshared-data/. Avoids direct access to files in /var/lib/dpkg/info and avoids calls to dpkg-query. -- Matthias Klose Sat, 01 Mar 2008 17:45:58 +0100 python-central (0.5.60ubuntu5) hardy; urgency=low * Fix byte code removal in private modules. LP: #196378. -- Matthias Klose Thu, 28 Feb 2008 10:13:15 +0100 python-central (0.5.60ubuntu4) hardy; urgency=low * Don't crash on package upgrades from versions not using pycentral. LP: #195551. * Remove byte code for files in private modules, removed in the new version. -- Matthias Klose Wed, 27 Feb 2008 11:02:22 +0100 python-central (0.5.60ubuntu3) hardy; urgency=low * Reenable the fix from 0.5.50ubuntu2 to allow installation of packages which were built with the broken dh_pycentral 0.5.50ubuntu1. * Allow overwriting of links pointing to the old /usr/share/pycentral directory. -- Matthias Klose Tue, 26 Feb 2008 19:36:31 +0100 python-central (0.5.60ubuntu2) hardy; urgency=low * Always call `pkginstall' in the postinst to make sure that the symlinks are not removed by maintainer scripts between running `preinst' and `postinst'. -- Matthias Klose Thu, 21 Feb 2008 16:02:30 +0000 python-central (0.5.60ubuntu1) hardy; urgency=low * Install modules into a package and tool independent directory /usr/share/pyshared, as proposed in http://lists.debian.org/debian-python/2006/06/msg00184.html. Let dpkg handle conflicts and replaces again. -- Matthias Klose Thu, 21 Feb 2008 12:18:08 +0000 python-central (0.5.50ubuntu7) hardy; urgency=low * On upgrade, properly remove byte-code files not anymore in the new version of the package. -- Matthias Klose Wed, 20 Feb 2008 09:39:13 +0000 python-central (0.5.50ubuntu6) hardy; urgency=low * Reenable byte-compilation for shared modules. * Revert change to pyversions.py from 0.5.50ubuntu2. -- Matthias Klose Tue, 19 Feb 2008 23:58:51 +0100 python-central (0.5.50ubuntu5) hardy; urgency=low * do not crash if a package has private files -- Michael Vogt Tue, 19 Feb 2008 14:41:55 +0100 python-central (0.5.50ubuntu4) hardy; urgency=low * Fix crash when no [python-package] section is found in the header (thanks to Soren Hansen). * Do not crash in byte_compile if a runtime can not by found. -- Michael Vogt Tue, 19 Feb 2008 12:29:47 +0100 python-central (0.5.50ubuntu3) hardy; urgency=medium * dh_pycentral: Fix variable substitution in preinst autoscript for all cases. LP: #192992. -- Matthias Klose Tue, 19 Feb 2008 10:05:58 +0100 python-central (0.5.50ubuntu2) hardy; urgency=low * fix crash in parse_versions (LP: #192992) -- Michael Vogt Tue, 19 Feb 2008 10:03:37 +0100 python-central (0.5.50ubuntu1) hardy; urgency=low * Keep public modules available during upgrades. -- Matthias Klose Sat, 16 Feb 2008 17:21:57 +0000 python-central (0.5.15-0.1) unstable; urgency=low * Non-maintainer upload. * Remove /usr/share/pycentral-data/pyversions.pyc upon purge. (Closes: #453949) -- Kumar Appaiah Wed, 09 Jan 2008 10:08:17 +0530 python-central (0.5.50) hardy; urgency=low * Test build. -- Matthias Klose Wed, 13 Feb 2008 11:42:11 +0100 python-central (0.5.15ubuntu3) hardy; urgency=low * pycentral.py: - if the PYCENTRAL_NO_DPKG_QUERY environment is set pycentral will not use dpkg-query (needed for dapper->hardy upgrades where dpkg-query might be confused about triggers information in the status file) * debian/control: - remove dpkg pre-depend, the upgrader can run with PYCENTRAL_NO_DPKG_QUERY -- Michael Vogt Wed, 21 Nov 2007 15:25:03 +0100 python-central (0.5.15ubuntu2) gutsy; urgency=low * debian/control: - add pre-depends on dpkg with trigger support (LP: #148930) -- Michael Vogt Fri, 05 Oct 2007 17:58:13 +0200 python-central (0.5.15ubuntu1) gutsy; urgency=low * Merge from Debian unstable. (LP: #133078, #134994) * Remaining Ubuntu changes: - Depends: python (>= 2.4.3-10). - Adjust conflict versions for edgy. -- Steve Kowalik Thu, 30 Aug 2007 00:18:58 +1000 python-central (0.5.15) unstable; urgency=medium * [Bastian Kleineidam] - Quote package names in Perl regex. (Closes: #432371) (Closes: #424906) - Medium urgency due to RC bug fix. -- Bastian Kleineidam Thu, 23 Aug 2007 21:58:27 +0200 python-central (0.5.14ubuntu1) gutsy; urgency=low * Merge with Debian; remaining changes: - Depends: python (>= 2.4.3-10). - Adjust conflict versions for edgy. -- Matthias Klose Wed, 23 May 2007 12:52:33 +0200 python-central (0.5.14) unstable; urgency=low * Merge changes from Ubuntu: - pycentral.py: Before creating a symlink, try to unlink the target to ensure that it really does not exist. This makes pycentral work with fakechroot's weird treatment of symbolic links (Martin Pitt). - py_compilefiles: Add option to ignore errors. -- Matthias Klose Wed, 23 May 2007 12:48:07 +0200 python-central (0.5.13-0.1) unstable; urgency=high * Non-maintainer upload. * High-urgency upload to unbreak all of python in unstable to make the bug reports stop flooding my inbox * Fix a wrong variable name in read_default that was breaking all use of pyversions.py. Closes: #418108. -- Steve Langasek Sat, 07 Apr 2007 13:04:11 -0700 python-central (0.5.13) unstable; urgency=high * Add a sanity check, that /usr/bin/python points to the default python version. Users tend to modify this symlink, which then breaks stuff in obscure ways. Closes: #418002. -- Matthias Klose Fri, 6 Apr 2007 18:06:46 +0200 python-central (0.5.12ubuntu4) feisty; urgency=low * Add a sanity check, that /usr/bin/python points to the default python version. Users tend to modify this symlink, which then breaks stuff in obscure ways. Ubuntu #75557, Debian #418002. -- Matthias Klose Fri, 6 Apr 2007 17:06:21 +0200 python-central (0.5.12ubuntu3) feisty; urgency=low * pycentral.py: Before creating a symlink, try to unlink the target to ensure that it really does not exist. This makes pycentral work with fakechroot's weird treatment of symbolic links. -- Martin Pitt Tue, 27 Mar 2007 11:00:57 +0200 python-central (0.5.12ubuntu2) feisty; urgency=low * py_compilefiles: Add option to ignore errors. * pycentral: Use it for runtime installation. -- Matthias Klose Mon, 5 Mar 2007 15:06:23 +0100 python-central (0.5.12ubuntu1) feisty; urgency=low * Merge from debian unstable. Remaining changes: - Depends: python (>= 2.4.3-10) - "adjust conflict versions for edgy" -- Michael Vogt Tue, 12 Dec 2006 15:35:30 +0100 python-central (0.5.12) unstable; urgency=low * Non-maintainer upload. * Accept packages providing support of only old python runtimes. Closes: #399986 -- Raphael Hertzog Thu, 23 Nov 2006 10:28:23 +0100 python-central (0.5.11) unstable; urgency=low * Non-maintainer upload. * Only remove empty dirs in /usr/lib/pythonX.Y. Closes: #395104 -- Raphael Hertzog Wed, 22 Nov 2006 12:33:55 +0100 python-central (0.5.10ubuntu1) feisty; urgency=low * Merge from debian unstable. Remaining changes: - Depends: python (>= 2.4.3-10) - "adjust conflict versions for edgy" -- Michael Vogt Wed, 22 Nov 2006 15:52:46 +0100 python-central (0.5.10) unstable; urgency=low * Depend on python (>= 2.3.5-7), providing /usr/share/python_defaults. Closes: #397494. -- Matthias Klose Sat, 11 Nov 2006 01:34:08 +0000 python-central (0.5.9) unstable; urgency=medium * dh_pycentral: Move files for old and unsupported versions as well. -- Matthias Klose Sun, 22 Oct 2006 23:51:59 +0200 python-central (0.5.8) unstable; urgency=low * On package and runtime removal, don't complain about packages without a matching installed runtime version. Allows recovery of an uncompleted upgrade. * On package installation, do not install packages needing a runtime, which is not installed. -- Matthias Klose Wed, 18 Oct 2006 15:32:07 +0200 python-central (0.5.7) unstable; urgency=medium * On runtime installation and removal, skip packages not built for this runtime. Ubuntu #56779, #64604. Closes: #388081. * Read the runtime version information for package and runtime removal. Closes: #380001, #390949. * On package removal, consider all runtimes, not just the supported. * Copy symlinks to directories instead of creating an empty directory. Closes: #383686. * prerm-pycentral: On package removal without installed python-central, ignore already removed directories. -- Matthias Klose Wed, 18 Oct 2006 00:58:17 +0200 python-central (0.5.6ubuntu2) edgy; urgency=low * On runtime installation and removal, skip packages not built for this runtime. Ubuntu #56779, #64604. * Read the runtime version information for package and runtime removal. * On package removal, consider all runtimes, not just the supported. * Copy symlinks to directories instead of creating an empty directory. Closes: #383686. * prerm-pycentral: On package removal without installed python-central, ignore already removed directories. -- Matthias Klose Tue, 17 Oct 2006 12:30:58 +0200 python-central (0.5.6ubuntu1) edgy; urgency=low * Merge with Debian unstable; adjust conflict versions for edgy. -- Matthias Klose Fri, 6 Oct 2006 13:12:13 +0200 python-central (0.5.6) unstable; urgency=low * Merge changes from Ubuntu by Michael Vogt. [Raphael Hertzog] * Updated dh_pycentral to do what dh_python used to do for the substitution variables. * Thus conflicts with debhelper (<= 5.0.37.3). * Build-Depends-Indep on perl as we use pod2man. -- Matthias Klose Fri, 6 Oct 2006 12:37:39 +0200 python-central (0.5.5ubuntu4) edgy; urgency=low * pyversions.py: - be more robust when upgrading (lp: #56779) -- Michael Vogt Wed, 4 Oct 2006 13:37:17 +0200 python-central (0.5.5ubuntu3) edgy; urgency=low * pycentral.py: - fix upgrade issue when there are no "old-versions" yet (lp: #61892) -- Michael Vogt Mon, 25 Sep 2006 12:36:03 +0200 python-central (0.5.5ubuntu2) edgy; urgency=low * pyversions.py: - update content to be the same as the version in python-defaults * pycentral.py: - ensuring that python-central take its own version of pyversions.py by default instead of the one from python-minimal -- Michael Vogt Wed, 20 Sep 2006 19:13:15 +0200 python-central (0.5.5ubuntu1) edgy; urgency=low * deal with old versions -- Michael Vogt Tue, 19 Sep 2006 21:25:18 +0200 python-central (0.5.5) unstable; urgency=low * Update pycentral(1). Closes: #382157. -- Matthias Klose Sun, 13 Aug 2006 21:04:22 +0200 python-central (0.5.4) unstable; urgency=low * Update the rtupdate hook to the new calling conventions. -- Matthias Klose Sun, 6 Aug 2006 13:05:44 +0000 python-central (0.5.3) unstable; urgency=medium * Do not run the rtupdate hook when called with the pre-rtupdate or post-rtupdate command. -- Matthias Klose Sat, 5 Aug 2006 17:42:05 +0200 python-central (0.5.2) unstable; urgency=low * Handle version information of the form "current, >= 2.4" as well. Closes: #375437. -- Matthias Klose Sat, 29 Jul 2006 20:42:12 +0200 python-central (0.5.1) unstable; urgency=low [ Bastian Kleineidam ] * Remove log file on purge (Closes: #375385) * Quote minus signs in pycentral.1 (Closes: #375716) * Allow overwrite of local files. Set overwrite-local=1 in /etc/python/debian_config for this. (Closes: #375718) * Lintian fixes: - build-depend on debhelper >= 5 - added py_compilefiles man page - changelog syntax corrected - remove #! scripts line from pyversions.py -- Bastian Kleineidam Thu, 29 Jun 2006 20:30:12 +0200 python-central (0.5.0) unstable; urgency=low * Provide hooks in /usr/share/python/runtime.d/ for installation, removal and upgrade of a runtime. Avoids dependency of the runtimes on python-central. Closes: #372658. -- Matthias Klose Sun, 18 Jun 2006 05:25:31 +0200 python-central (0.4.18) unstable; urgency=low * pycentral debhelper: Do not move versioned shared object files. Closes: #374140. * Include a copy of the pyversions.py script in the package. Replace the dependency on python (>= 2.3.5-9) with a dependency on python (>= 2.3). Removes the dependency on a specific python package. Closes: #373922, #374190. -- Matthias Klose Sat, 17 Jun 2006 15:54:35 +0200 python-central (0.4.17) unstable; urgency=low * Fix error to get the runtime used by a package, when only one python runtime is unstalled. -- Matthias Klose Thu, 15 Jun 2006 20:44:02 +0200 python-central (0.4.16) unstable; urgency=low * Fix interpretation of 'current' in XB-Python-Version. * Add subcommand 'pycentraldir'. * pycentral updatedefault: Only look at packages which depend on python-central and have 'current' in the Python-Version field. -- Matthias Klose Thu, 15 Jun 2006 19:41:33 +0200 python-central (0.4.15) unstable; urgency=low * Byte-compile the private files with the runtime of the package, not the default runtime (Simon McVittie)). Closes: #373556. * When byte-compiling private files for a package with a version field containing more than one explicit version, use the default python version if included in the version field, else use the first version found in the version field. * prerm-pycentral: Be less verbose on stderr. * pycentral: Don't bail out on removal of the python2.4 package. -- Matthias Klose Wed, 14 Jun 2006 09:52:15 +0200 python-central (0.4.14) unstable; urgency=low * dh_pycentral: Check, if there are other files than .py files in /usr/share/pycentral (Raphael Hertzog). -- Matthias Klose Wed, 14 Jun 2006 00:16:54 +0200 python-central (0.4.13) unstable; urgency=low * Do not touch files in /usr/*/python-support. -- Matthias Klose Tue, 13 Jun 2006 17:34:32 +0200 python-central (0.4.12) unstable; urgency=low * dh_pycentral: Generate dependencies requiring python-central (>= 0.4.11). -- Matthias Klose Tue, 13 Jun 2006 13:12:22 +0200 python-central (0.4.11) unstable; urgency=low * Add man page pycentral(1), update dh_pycentral(1) man page. * Depend on python (>= 2.3.5-7), using pyversions. * Only consider the installed _and_ supported runtimes. -- Matthias Klose Mon, 12 Jun 2006 21:32:26 +0200 python-central (0.4.10) unstable; urgency=low * Non-maintainer upload (on request of Matthias). * Replace dh_pycentral by the lightweight version that works hand in hand with dh_python (see #370833). -- Raphael Hertzog Mon, 12 Jun 2006 20:16:58 +0200 python-central (0.4.9) unstable; urgency=low * Work around a failure in the python2.4 installation scripts. -- Matthias Klose Mon, 12 Jun 2006 19:46:27 +0200 python-central (0.4.8) unstable; urgency=low * Fix parsing of python_defaults file. * Update dh_pycentral, still the version not requiring calling dh_python afterwards. * py_compilefiles: Don't error out, if no files are passed. Closes: #372244. -- Matthias Klose Sun, 11 Jun 2006 14:54:22 +0200 python-central (0.4.7) unstable; urgency=low * Do not generate the substitution variables by default, done by the proposed dh_python now. * Include the dh_python proposed by Raphael Hertzog as dh_pycentral. dh_pycentral can be dropped once the new dh_python is in the archive. * Only warn, when called on a binary package without XB-Python-Version. -- Matthias Klose Fri, 9 Jun 2006 08:38:18 +0000 python-central (0.4.6) unstable; urgency=low * Add the ability to pass options to 'pycentral debhelper' with an environment variable DH_PYCENTRAL (add-provides, no-move, no-act, dry-run). Command line options take precedence. * Don't leave an empty /usr/share/pycentral dir (Raphael Hertzog). -- Matthias Klose Fri, 9 Jun 2006 01:04:22 +0200 python-central (0.4.5) unstable; urgency=low * pycentral: DebPackage (unlink_shared_files): Fix typo. -- Matthias Klose Thu, 8 Jun 2006 21:45:11 +0200 python-central (0.4.4) unstable; urgency=low * prerem-pycentral: Check if the python binary is availabe. -- Matthias Klose Thu, 8 Jun 2006 20:33:00 +0200 python-central (0.4.3) unstable; urgency=low * Remove dependency on python2.4. * prerem-pycentral: Handle case, when python-central is already removed. * Fix dh_pycentral's dh_python compatibility mode. -- Matthias Klose Thu, 8 Jun 2006 15:22:16 +0200 python-central (0.4.2) unstable; urgency=low * Add debhelper support. -- Matthias Klose Tue, 6 Jun 2006 21:50:36 +0000 python-central (0.4.1) dapper; urgency=low * Upload to unstable. -- Matthias Klose Sat, 22 Apr 2006 11:35:57 +0200 python-central (0.4.0) dapper; urgency=low * Rewrite in python. * Handle python modules outside of /usr/lib/pythonX.Y. -- Matthias Klose Wed, 30 Nov 2005 22:44:17 +0100 python-central (0.3) unstable; urgency=low * minor manpage additions for python programs * remove old references to /var/lib/python-central * added sanity checking of debian package name -- Bastian Kleineidam Sat, 3 Aug 2002 13:11:25 +0200 python-central (0.2) unstable; urgency=low * Use Donovans dpkg-using script. * Add sanity checking for Python package name * Made this a native Debian package * use LC_ALL=C when sorting * Adjusted man page -- Bastian Kleineidam Sat, 27 Apr 2002 16:12:31 +0200 python-central (0.1-2) unstable; urgency=low * search in /usr/lib/python/site-packages/ for .py files, not in /usr/lib/python/ * display usage for wrong or missing options * man page updated -- Bastian Kleineidam Thu, 14 Feb 2002 13:33:52 +0100 python-central (0.1-1) unstable; urgency=low * Initial Release. -- Bastian Kleineidam Sun, 10 Feb 2002 13:14:52 +0100