Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8813

Re: Building a module and an application package from one source

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Sebastian Humenda <shumenda@gmx.de>
Newsgroups linux.debian.maint.python
Subject Re: Building a module and an application package from one source
Date Thu, 25 Aug 2016 12:20:02 +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>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Aug 25 10:10:52 2016
Old-Return-Path <shumenda@gmx.de>
X-Amavis-Spam-Status No, score=-12.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hs2opejbywmattpk"
Content-Disposition inline
X-Operating-System Debian GNU/Linux 6.0 Squeeze
X-Editor Vim 7.2
User-Agent Mutt/1.6.2-neo (2016-07-23)
X-Provags-ID V03:K0:y8/JNGQz/aUW0okrHK2sbImQrH3hFBtpBTnPJAySXO5kAtaKIyJ DhJcNoZDQxEoVWQlWFGekcR5RF72lx+COR7GseSUHUk2WmH3c7A+mGNh/XjNV6kmcEm/BYx pLHq+u/HjTix3aBVR7IuZFl0CHMluju0/10jGKYrLpisy8ZXG/151B27mvysHih559D+BgM dZeeKBuDX1pA+ruYExj+g==
X-Ui-Out-Filterresults notjunk:1;V01:K0:B5ffuqHxKqE=:0WsfQM35/UVxQtM3fy8VIR qT0B5YuUVKuoJETorFSQU2qV1apvJyAVtLqADIRCAKO+Y1tcUCP/3yTulRSyQhOItiUXWCdMO nMJTnDl7mg2Yi0flFGqcR4kg6Ev3zns25oOL/hfeyPjpKDiNBY3OMpzIji4EICrB2jrYpRI1z f/+KxqqN9mANPWnltdDYC7xgbE2YrP1I4pSYBjj3JCHO9bntLD6ZtColySOz6kdHuN2p8mBxv ClKc4kl67YBrPhviY9Zdq1L8VLpQhY62FFpe09XGV8nSZzwxBR5+Ahs61jqnFp7eaHrfWffG8 PBHO2sSOVmoD2Q3pRfUHksPXdDSkFOOaJhDrBRRTKgy3dgsXWccLTBQ2jpGGsMJHRsOHwzeAN Qc4P+u51XqOFBnn2fXyWy9zkCk+4BrgbTCIwbfk68mvxG6kmNiwdF1QIdiUn56pqXBwhhKunV bHpBCVmO4ywxwdzG8+qrInQ4LLt7ieSAHgGQ+/sxdDKngcZwn2m5OTwC9kbpp8XLR3W/jrpJ9 jiE8kUPqhBsoyQxsSX/fbRAaxgVfPNxMjE0biXqzWfWdsN5rrlddwDhP0Ws+eQB4H4UD8z+Ao dJB4BZDDXyu3iAEHe9etbZLHBzGMg8quuLePVivb4f5zFrxlkbluSkqHCfX9mY8zEZI2hKoYM z1Wg/iNLvDTf++wHoY+k/7fo5OdtHv/yrQ0LUfbU4+I5kRIoLEkn4PKpIkKLAx+2nlHz/dT8n ddm+4cw6GaVVrB+vy04dly+Sd+6jBa2gwIlli7ginqT5dOM56cCFiMvj3Q8=
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14154
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20160825101035.ddedvloa72ny3urv@Kraftkrust
Approved robomod@news.nic.it
Lines 71
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 25 Aug 2016 12:10:35 +0200
X-Original-Message-ID <20160825101035.ddedvloa72ny3urv@Kraftkrust>
X-Original-References <20160825052353.etfifqz7qt4e5n3y@Kraftkrust> <85eg5dwgln.fsf@benfinney.id.au>
Xref csiph.com linux.debian.maint.python:8813

Show key headers only | View raw


[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


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