From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-portage-dev+bounces-5231-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id B7CA21384B4
	for <garchives@archives.gentoo.org>; Fri,  6 Nov 2015 23:36:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EAE1FE0882;
	Fri,  6 Nov 2015 23:36:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 573C1E087E
	for <gentoo-portage-dev@lists.gentoo.org>; Fri,  6 Nov 2015 23:36:17 +0000 (UTC)
Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: floppym)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 6138433BF0B
	for <gentoo-portage-dev@lists.gentoo.org>; Fri,  6 Nov 2015 23:36:16 +0000 (UTC)
Received: by igbhv6 with SMTP id hv6so45677107igb.0
        for <gentoo-portage-dev@lists.gentoo.org>; Fri, 06 Nov 2015 15:36:13 -0800 (PST)
X-Received: by 10.50.78.101 with SMTP id a5mr11704466igx.81.1446852973881;
 Fri, 06 Nov 2015 15:36:13 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-portage-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-portage-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-portage-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-portage-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-portage-dev.gentoo.org>
X-BeenThere: gentoo-portage-dev@lists.gentoo.org
Reply-to: gentoo-portage-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.107.6.193 with HTTP; Fri, 6 Nov 2015 15:35:54 -0800 (PST)
In-Reply-To: <20151030063958.27d1bcec.mgorny@gentoo.org>
References: <561FE57D.6050407@gentoo.org> <5625FC9C.1030802@gentoo.org>
 <56280522.3010201@gentoo.org> <20151022044557.GC26317@vapier.lan>
 <20151022044858.GD26317@vapier.lan> <562922DE.5050007@gentoo.org>
 <20151029213726.GI5154@vapier.lan> <20151029210633.58e774e5.dolsen@gentoo.org>
 <20151030063958.27d1bcec.mgorny@gentoo.org>
From: Mike Gilbert <floppym@gentoo.org>
Date: Fri, 6 Nov 2015 18:35:54 -0500
X-Gmail-Original-Message-ID: <CAJ0EP414rAWjG0He0TcfQkWaxmtUVuxdEoYdibFOwKYkU4v2Wg@mail.gmail.com>
Message-ID: <CAJ0EP414rAWjG0He0TcfQkWaxmtUVuxdEoYdibFOwKYkU4v2Wg@mail.gmail.com>
Subject: Re: [gentoo-portage-dev] gentoolkit.git repository reorganized
To: gentoo-portage-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 0fbbbe4d-5f44-4e5f-ae32-f65a45cc2bfb
X-Archives-Hash: 2264cd0fb809190a6e71a9eca3c8b7f3

On Fri, Oct 30, 2015 at 1:39 AM, Micha=C5=82 G=C3=B3rny <mgorny@gentoo.org>=
 wrote:
> On Thu, 29 Oct 2015 21:06:33 -0700
> Brian Dolbec <dolsen@gentoo.org> wrote:
>
>> On Thu, 29 Oct 2015 17:37:26 -0400
>> Mike Frysinger <vapier@gentoo.org> wrote:
>>
>> > On 22 Oct 2015 12:54, Paul Varner wrote:
>> > > Mike, I know you're busy with other stuff, but if you ever want to
>> > > see a new gentoolkit/gentoolkit-dev release, consider this your
>> > > authorization to just do it.  The README.dev files state how to
>> > > make releases.
>> >
>> > thanks, i think this will help a lot
>> >
>> > > Since, the tools have dwindled down in gentoolkit-dev, I do think it
>> > > does make sense to keep it in the same repo and merge the packages
>> > > together behind a USE flag.  I will revert the commit, that emptied
>> > > the genttolkit-dev branch and ask mgorny to nuke the new
>> > > gentoolkit-dev repository.
>> > >
>> > > As I get time, I will work towards moving the gentoolkit-dev tools
>> > > into gentoolkit and putting them behind a USE flag in the ebuild.
>> >
>> > i'm no distutils expert, and every time i try to do something "fancy",
>> > i get frustrated by the module :).  do people know of examples where
>> > you can do optional installs with a flag ?  a cookbook sort of entry
>> > here would help and i could take care of merging in say ekeyword.
>> > -mike
>>
>> Have a look at layman's setup.py.  It parses IUSE to set the installed
>> files via setup.py.  It may not be the best method, but it does work.
>>
>> The layman ebuild sets deps acording to the ISUE flags and setup.py
>> sets the installed modules on the python side.
>
> Sorry, what?! That's a huge QA violation. There is *NO* guarantee that
> USE will be exported. In fact, it is only exported because of poor
> design inside Portage that could result in the variable getting lost
> otherwise.

PMS says that USE will be exported to the environment. So, this should
not break with any PMS-compliant package manager.

Personally, it makes me cringe, but I suppose it doesn't make a lot of
sense to invent an entirely new envvar for it.