[Pkg-fonts-devel] Questions regarding a package that creates a python module (written in C)

Rogério Brito rbrito at ime.usp.br
Wed May 26 17:28:53 UTC 2010


Dear Python developers,

I am a newbie with Python (though I like the language) and I help
maintain a package called fontforge, which is a font ("letters") editor
that creates two modules [*] written in C so that some tasks with fonts
can be performed en masse.

Unfortunately, even when depending on python-dev-all (or whatever I
should call it nowadays), I only get the modules created for python2.5
and I would like (in principle, barring technical limitations) to
provide such modules for any version of python that Debian supports,
agnostically.

It is my understanding from the build system of fontforge that it only
picks up python2.5 since it is the first version that is encountered.

With that said, what is the recommended course of action? Should I
manually build the package twice in a row in debian/rules telling it
first to configure with python 2.5 and then 2.6 or is there any solid,
recommended approach to this problem (which I am sure should appear in
many other packages that provide python modules written in C)?


Any guidance is welcome, Rogério Brito.

P.S.: Please, keep me on CC'ies as I am not currently subscribe to -python.

[*]
WARNING: WARNING: /usr/lib/pyshared/python2.5/fontforge.so is linked but does not belong to any package.
WARNING: WARNING: /usr/lib/pyshared/python2.5/psMat.so is linked but does not belong to any package.

but

,----[ dpkg -S /usr/lib/pyshared/python2.5/fontforge.so ]
| python-fontforge: /usr/lib/pyshared/python2.5/fontforge.so
`----
-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



More information about the Pkg-fonts-devel mailing list