Matching package names across distributions
Piotr Ożarowski
piotr at debian.org
Wed Feb 2 10:41:28 PST 2011
[Piotr Ożarowski, 2011-02-02]
> * debian/pydist-overrides - used when maintainer of currently built
> package wants to change what the helper proposes
> * /usr/share/python/dist/* files - with files
> installed via Debian binary packages that need an override or when
> maintainer wants to control the dependencies, f.e. when "Numpy >= 1.2"
> is not enough for Debian because Numpy is changing ABI and Debian
> maintainer wants to generate more strict dependencies in all packages
> that use numpy (and rebuild them automatically after uploading new
> python-numpy package)
> * /usr/share/python/dist_fallback generated by this¹ script
> (with Python Package name → Debian binary package name mappings for
> packages with weird names, see below)
oh, there's one more fallback step here:
* invoke dpkg -S and search for installed egg-info files (so it's enough
to build depend on a package with wird name and dh_python{2,3} will
generate the right dependency)
> * "python-%s" % PythonDistName.lower() for all other (sane) names
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/distributions/attachments/20110202/a8825dbd/attachment.pgp>
More information about the Distributions
mailing list