Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8813
| From | Sebastian Humenda <shumenda@gmx.de> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Building a module and an application package from one source |
| Date | 2016-08-25 12:20 +0200 |
| Message-ID | <s9ZVo-86m-21@gated-at.bofh.it> (permalink) |
| References | <s9VoJ-57C-1@gated-at.bofh.it> <s9VI5-5dT-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Ben Finney schrieb am 25.08.2016, 15:41 +1000: >Sebastian Humenda <shumenda@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
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Building a module and an application package from one source Sebastian Humenda <shumenda@gmx.de> - 2016-08-25 07:30 +0200
Re: Building a module and an application package from one source Ben Finney <ben+debian@benfinney.id.au> - 2016-08-25 07:50 +0200
Re: Building a module and an application package from one source Sebastian Humenda <shumenda@gmx.de> - 2016-08-25 12:20 +0200
Re: Building a module and an application package from one source Sebastian Humenda <shumenda@gmx.de> - 2016-08-31 20:30 +0200
csiph-web