Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-21 Thread Vlastimil Babka
David Leverton wrote: > On Saturday 20 September 2008 18:15:27 Alexis Ballier wrote: >> I can think of checks like: >> - foo is a dep/rdep of bar >> - foo has a "plugin like" architecture >> - bar will "work" with minimal foo >> - most people will expect some features in bar that come with foo's >>

Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Alec Warner
On Sat, Sep 20, 2008 at 11:18 PM, Vaeth <[EMAIL PROTECTED]> wrote: > Steve Long wrote: > >> Thomas Sachau wrote: [...] >> >> > [[ -n ${DOCS} ]] && dodoc ${DOCS} > [...] >> >> It might be wise to use an array for DOCS there > > Since I have now seen suggestions for using arrays unnecessarily > at le

[gentoo-dev] Re: Re: Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Steve Long
[Sorry for length] Vaeth wrote: > Steve Long wrote: > >> Vaeth wrote: >> >> > let me remark that the more clever way to this is >> > >> > [ -n "${DOCS}" ] && eval "dodoc ${DOCS}" >> > >> eval is _not_ clever. Try: /msg greybot eval >> ..or check http://wooledge.org:8000/BashFAQ/048 > > This i

[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2008-09-21 23h59 UTC

2008-09-21 Thread Robin H. Johnson
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2008-09-21 23h59 UTC. Removals: games-fps/tremulous-bin 2008-09-16 19:56:17 mr_bones_ games-arcade/sdljump2008-09-18 09:28:20 tupone Additions: app

Re: [gentoo-dev] Re: Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Vaeth
Steve Long wrote: > Vaeth wrote: > > > let me remark that the more clever way to this is > > > > [ -n "${DOCS}" ] && eval "dodoc ${DOCS}" > > > eval is _not_ clever. Try: /msg greybot eval > ..or check http://wooledge.org:8000/BashFAQ/048 This is not at all related with my remark: We were spea

[gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Steve Long
Ulrich Mueller wrote: >> On Sun, 21 Sep 2008, Steve Long wrote: > >> That works for that specific case, yes, but it's still not a general >> solution, which is what BASH arrays were invented for. For instance, >> an ebuild author cannot specifically include a file with spaces, and >> ignore a

[gentoo-dev] Re: Making built_with_use die by default with EAPI 2

2008-09-21 Thread Steve Long
Petteri Räty wrote: > When EAPI 2 goes live built_with_use should probably die for most cases. > Are there valid use cases for built_with_use that are not covered by the > use deps in EAPI 2? If there are we could add a switch like --noeapi2die > to it. > It would be nicer imo if we just added --

[gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Ulrich Mueller
> On Sun, 21 Sep 2008, Steve Long wrote: > That works for that specific case, yes, but it's still not a general > solution, which is what BASH arrays were invented for. For instance, > an ebuild author cannot specifically include a file with spaces, and > ignore all the other files in the same

[gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Steve Long
Ulrich Mueller wrote: >> On Mon, 22 Sep 2008, Kent Fredric wrote: > >> find /usr/share/doc/ -wholename "* *" >> /usr/share/doc/gpac-0.4.4-r1/ISO 639-2 codes.txt.bz2 > > Yes, and if you look into src_install of the ebuild, it does: > dodoc doc/*.txt > Well at least we've established that

[gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Ulrich Mueller
> On Mon, 22 Sep 2008, Kent Fredric wrote: > find /usr/share/doc/ -wholename "* *" > /usr/share/doc/gpac-0.4.4-r1/ISO 639-2 codes.txt.bz2 Yes, and if you look into src_install of the ebuild, it does: dodoc doc/*.txt So a simple "dodoc ${DOCS}" with DOCS="... doc/*.txt ..." would work eve

Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Kent Fredric
On Mon, Sep 22, 2008 at 1:04 AM, Ulrich Mueller <[EMAIL PROTECTED]> wrote: > > > On Sun, 21 Sep 2008, Steve Long wrote: > > > Vaeth wrote: > >> let me remark that the more clever way to this is > >> [ -n "${DOCS}" ] && eval "dodoc ${DOCS}" > > > [...] > > BASH arrays will cope with *any* charac

[gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Ulrich Mueller
> On Sun, 21 Sep 2008, Steve Long wrote: > Vaeth wrote: >> let me remark that the more clever way to this is >> [ -n "${DOCS}" ] && eval "dodoc ${DOCS}" > [...] > BASH arrays will cope with *any* character apart from NUL, which > isn't allowed in filenames. Can you _guarantee_ the same? It s

Re: [gentoo-dev] Making built_with_use die by default with EAPI 2

2008-09-21 Thread David Leverton
On Saturday 20 September 2008 18:15:27 Alexis Ballier wrote: > I can think of checks like: > - foo is a dep/rdep of bar > - foo has a "plugin like" architecture > - bar will "work" with minimal foo > - most people will expect some features in bar that come with foo's > plugins > - we might want to

[gentoo-dev] Re: Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Steve Long
Vaeth wrote: > Steve Long wrote: > >> Thomas Sachau wrote: [...] >> >> > [[ -n ${DOCS} ]] && dodoc ${DOCS} > [...] >> >> It might be wise to use an array for DOCS there > > Since I have now seen suggestions for using arrays unnecessarily > at least twice (see also > [RFC] Ability to pass argu

Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Thomas Anderson
On Sun, Sep 21, 2008 at 08:18:05AM +0200, Vaeth wrote: > Steve Long wrote: > > > Thomas Sachau wrote: [...] > > > > > [[ -n ${DOCS} ]] && dodoc ${DOCS} > [...] > > > > It might be wise to use an array for DOCS there > > Since I have now seen suggestions for using arrays unnecessarily > at least

Re: [gentoo-dev] Default src_install for EAPI-2 or following EAPI

2008-09-21 Thread Fabian Groffen
On 21-09-2008 02:47:41 +0200, Thomas Sachau wrote: > updated version: > if [ -f Makefile -o -f GNUmakefile -o -f makefile ]; then > emake DESTDIR="${D}" install || einstall > if [[ $?>0 ]]; then Please either use POSIX or bash, mixing them looks so ugly and point