diff -Nru python-central-0.6.7ubuntu1/debian/changelog python-central-0.6.8/debian/changelog --- python-central-0.6.7ubuntu1/debian/changelog 2008-05-28 08:47:40.000000000 +0000 +++ python-central-0.6.8/debian/changelog 2008-07-05 17:22:10.000000000 +0000 @@ -1,19 +1,20 @@ -python-central (0.6.7ubuntu1) intrepid; urgency=medium +python-central (0.6.8) unstable; urgency=low + + * Disable python-support in python-central's debhelper sequence file. + Closes: #489390. + + -- Matthias Klose Sat, 05 Jul 2008 19:20:15 +0200 + +python-central (0.6.7) unstable; urgency=medium * Add a sequence file for debhelper v7 support. * Add infrastructure to remove generated files on upgrades to newer - versions of a package not having files handled by python-central. + versions of a package not having anymore files handled by python-central. See dh_pycentral(1). * Properly remove symlinks and bytecode files for old python versions. Closes: #409390. - -- Matthias Klose Wed, 28 May 2008 10:45:04 +0200 - -python-central (0.6.6ubuntu1) intrepid; urgency=low - - * Merge with Debian. - - -- Matthias Klose Wed, 30 Apr 2008 18:03:17 +0200 + -- Matthias Klose Wed, 28 May 2008 08:53:54 +0200 python-central (0.6.6) unstable; urgency=low @@ -30,61 +31,55 @@ -- Matthias Klose Sat, 26 Apr 2008 16:55:56 +0200 -python-central (0.6.5ubuntu1) hardy; urgency=low +python-central (0.6.5) unstable; urgency=low + + * On upgrade, remove byte-code files for private modules not existing + anymore in a new version of a package. Closes: #477180. + * Set the required python-central version to 0.6.5. + + -- Matthias Klose Mon, 21 Apr 2008 07:50:28 +0200 + +python-central (0.6.4) unstable; urgency=medium * 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. + * Don't create preinst scriptlets, if the package doesn't have any + shared files. * 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 + -- Matthias Klose Fri, 18 Apr 2008 18:10:43 +0200 -python-central (0.6.1ubuntu3) hardy; urgency=low +python-central (0.6.3) unstable; 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 + -- Matthias Klose Thu, 17 Apr 2008 20:19:09 +0200 -python-central (0.6.1ubuntu2) hardy; urgency=low +python-central (0.6.2) unstable; 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 - + was retried. * Allow pyversions -s to succeed without having python-all in the package list. - -- Matthias Klose Thu, 20 Mar 2008 19:08:33 +0100 + -- Matthias Klose Thu, 10 Apr 2008 00:18:02 +0200 -python-central (0.6.0ubuntu2) hardy; urgency=low +python-central (0.6.1) unstable; 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. + * pycentral pkgprepare: Properly remove directories not found anymore + in the new version of the package. - -- 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 + -- Matthias Klose Wed, 12 Mar 2008 17:39:08 +0100 python-central (0.6.0) unstable; urgency=low @@ -129,158 +124,6 @@ -- 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. diff -Nru python-central-0.6.7ubuntu1/debian/control python-central-0.6.8/debian/control --- python-central-0.6.7ubuntu1/debian/control 2008-04-21 16:29:19.000000000 +0000 +++ python-central-0.6.8/debian/control 2008-03-12 16:40:24.000000000 +0000 @@ -1,7 +1,7 @@ Source: python-central Section: python Priority: standard -Maintainer: Matthias Klose +Maintainer: Matthias Klose Uploaders: Bastian Kleineidam Build-Depends: debhelper (>= 5) Build-Depends-Indep: po4a (>= 0.24), perl diff -Nru python-central-0.6.7ubuntu1/debian/postrm python-central-0.6.8/debian/postrm --- python-central-0.6.7ubuntu1/debian/postrm 2008-02-17 14:07:03.000000000 +0000 +++ python-central-0.6.8/debian/postrm 2008-05-28 08:35:08.000000000 +0000 @@ -4,7 +4,11 @@ # remove log file rm -f /var/log/pycentral.log rm -f /usr/share/pycentral-data/pyversions.pyc - rm -f /var/lib/pycentral/delayed-pkgs + if [ -d /var/lib/pycentral ]; then + rm -f /var/lib/pycentral/delayed-pkgs + rm -f /var/lib/pycentral/pkgremove + rmdir --ignore-fail-on-non-empty /var/lib/pycentral || true + fi fi #DEBHELPER# diff -Nru python-central-0.6.7ubuntu1/dh_pycentral.1 python-central-0.6.8/dh_pycentral.1 --- python-central-0.6.7ubuntu1/dh_pycentral.1 2008-05-28 08:42:10.000000000 +0000 +++ python-central-0.6.8/dh_pycentral.1 2008-05-28 08:23:09.000000000 +0000 @@ -132,7 +132,11 @@ .\" ======================================================================== .\" .IX Title "DH_PYCENTRAL 1" -.TH DH_PYCENTRAL 1 "2008-04-30" "" "Debhelper" +.TH DH_PYCENTRAL 1 "2008-05-28" "" "Debhelper" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh .SH "NAME" dh_pycentral \- use the python\-central framework to handle Python modules and extensions .SH "SYNOPSIS" diff -Nru python-central-0.6.7ubuntu1/pycentral.py python-central-0.6.8/pycentral.py --- python-central-0.6.7ubuntu1/pycentral.py 2008-05-28 08:44:47.000000000 +0000 +++ python-central-0.6.8/pycentral.py 2008-07-05 17:22:28.000000000 +0000 @@ -18,7 +18,7 @@ shared_base = '/usr/share/pycentral/' shared_base2 = '/usr/share/pyshared/' -pycentral_version = '0.6.7ubuntu1' +pycentral_version = '0.6.8' req_pycentral_version = '0.6.7' def samefs(path1, path2): diff -Nru python-central-0.6.7ubuntu1/python_central.pm python-central-0.6.8/python_central.pm --- python-central-0.6.7ubuntu1/python_central.pm 2008-05-28 08:42:10.000000000 +0000 +++ python-central-0.6.8/python_central.pm 2008-07-05 17:20:13.000000000 +0000 @@ -6,5 +6,6 @@ use Debian::Debhelper::Dh_Lib; insert_after("dh_perl", "dh_pycentral"); +remove_command("dh_pysupport"); 1