Debian Bug report logs -
#452227
Leaves empty /usr/lib in package
Reported by: Michal Čihař <nijel@debian.org>
Date: Wed, 21 Nov 2007 04:24:01 UTC
Severity: normal
Found in version python-central/0.5.15
Fixed in version python-central/0.6.0
Done: Matthias Klose <doko@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, debian-devel@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#452227; Package python-central.
(full text, mbox, link).
Acknowledgement sent to Michal Čihař <nijel@debian.org>:
New Bug report received and forwarded. Copy sent to debian-devel@lists.debian.org, Matthias Klose <doko@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: python-central
Version: 0.5.15
Severity: normal
File: /usr/bin/dh_pycentral
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
when using dh_pycentral for pure python package, it moves everything
from /usr/lib/python*/site-packages to /usr/share/pycentral. However it
keeps there empty /usr/lib directory which is then included in package.
I think this empty directory should be removed by dh_pycentral.
CC to devel as the issue has been opened there.
- --
Michal Čihař | http://cihar.com | http://blog.cihar.com
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-central depends on:
ii python 2.4.4-6 An interactive high-level object-o
python-central recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHQ7IV3DVS6DbnVgQRAlDxAJ9t1Na4humz7x+JvI1UEq4tCnkklACfZNnE
EmAjWIiiKbm/dopI1wcc2SM=
=x/xJ
-----END PGP SIGNATURE-----
Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Michal Čihař <nijel@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 452227-close@bugs.debian.org (full text, mbox, reply):
Source: python-central
Source-Version: 0.6.0
We believe that the bug you reported is fixed in the latest version of
python-central, which is due to be installed in the Debian FTP archive:
python-central_0.6.0.dsc
to pool/main/p/python-central/python-central_0.6.0.dsc
python-central_0.6.0.tar.gz
to pool/main/p/python-central/python-central_0.6.0.tar.gz
python-central_0.6.0_all.deb
to pool/main/p/python-central/python-central_0.6.0_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 452227@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated python-central package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 11 Mar 2008 22:26:06 +0100
Source: python-central
Binary: python-central
Architecture: source all
Version: 0.6.0
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <doko@ubuntu.com>
Changed-By: Matthias Klose <doko@debian.org>
Description:
python-central - register and build utility for Python packages
Closes: 378146 394084 397495 398729 405781 432813 450491 452227 467372
Changes:
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/<package>,
(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.
Files:
ad498343f223bfa12627e901a0a95d40 598 python standard python-central_0.6.0.dsc
ef0ed7336543658d5412da7b777e417a 36147 python standard python-central_0.6.0.tar.gz
4ecd90ea4768ef8bc6bbb28b9b0768ad 38158 python standard python-central_0.6.0_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH1xPjStlRaw+TLJwRAu8kAKCsEJ5umPHXbjTPI2v3Kbok4ginHQCghMSS
ossUN7qK7ZCE207T311D/Oc=
=hhDl
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 21 Apr 2008 07:28:19 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 08:52:59 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.