Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: Mike Gilbert <floppym@g.o>
Cc: gentoo-python@l.g.o, python@g.o, hasufell@g.o
Subject: Re: [gentoo-python] Re: [PATCH 1/2] python_doscript() to install Python scripts.
Date: Sat, 17 Nov 2012 21:25:13
Message-Id: 20121117222613.7d0e9c79@pomiocik.lan
In Reply to: [gentoo-python] Re: [PATCH 1/2] python_doscript() to install Python scripts. by Mike Gilbert
1 On Sat, 17 Nov 2012 14:39:05 -0500
2 Mike Gilbert <floppym@g.o> wrote:
3
4 > On Wed, Nov 14, 2012 at 2:54 PM, Michał Górny <mgorny@g.o> wrote:
5 > > +python_doscript() {
6 > > + debug-print-function ${FUNCNAME} "${@}"
7 > > +
8 > > + [[ ${EPYTHON} ]] || die 'No Python implementation set (EPYTHON is null).'
9 > > +
10 > > + local d=${python_scriptroot:-${DESTTREE}/bin}
11 > > + local INSDESTTREE INSOPTIONS
12 > > +
13 > > + insinto "${d}"
14 > > + insopts -m755
15 > > +
16 >
17 > Could possibly use exeinto/newexe instead here.
18
19 exeinto/newexe is poorly defined in the PMS; it is basically useless
20 in eclasses.
21
22 --
23 Best regards,
24 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature