preceeding comment kinda describes it all: # GIGANTIC HACK - add back libnpymath.a # get the file names, generate the new location, create the dir if missing, copy # the file and then add it to the public list
so it just adds those few trailing lines with libnpymath.a . I am really not an expert in dh_pysupport but .public files seems to serve per-package registry of supported Python versions and public modules and extensions so pysupport would know what to compile/symlink in its /usr/sbin/update-python-modules. So, my blunt guess would be that with dh_python2 you would not need this and just would need to place the .a appropriately. > I was looking at packaging numpy for Python 3 (bug #601593, LP > #795605). As a step towards this, I was trying to convert it from > pysupport to dh_python2, following the 'transition to dh_python2' > guide. But I hit a section that I don't really understand, in > override_dh_pysupport: > # add to public modules list ;\ > echo $$installedfile >> > ./debian/python-numpy/usr/share/python-support/python-numpy.public ;\ > What's the significance of the public modules list? Is there an > equivalent for dh_python2? > Thanks, > Thomas -- =------------------------------------------------------------------= Keep in touch www.onerussian.com Yaroslav Halchenko www.ohloh.net/accounts/yarikoptic -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120315124513.gr16...@onerussian.com