Hi Ben Finney schrieb am 25.08.2016, 15:41 +1000: >Sebastian Humenda <shume...@gmx.de> writes: >> I want to repackage GladTeX (it used to be Perl and has been rewritten >> in Python). > >Thank you for working on this package for Debian. > >> GladTeX comes with a module and an command-line application. Pybuild >> copies all files into the package defined first in debian/control and >> I am not sure how to separate the module from the application. > >Is the “command-line application” just a single program file, which >imports the library and does its stuff? > >If so, that file should be installed to the right place (‘/usr/bin/foo’ >probably) by the build system. You then configure ‘dh_install’ to >install that file specifically to the ‘foo’ binary package. How would I do that? dh_auto_install moves the script too debian/gladtex/usr/bin along with the module (to */usr/lib). I now set the PYBUILD_NAME to the name of the library package (python3-gleetex) and move the file manually after dh_auto_install. Looks hacky though. I've uploaded the package to ssh://git.debian.org/git/python-modules/packages/gladtex.git.
It would be great if somebody could have a look. Thanks Sebastian -- Web: http://www.crustulus.de (English|Deutsch) | Blog: http://www.crustulus.de/blog FreeDict: Free multilingual dictionaries - http://www.freedict.org Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
signature.asc
Description: PGP signature