subports help, testing py-tz
Adam Mercer
ramercer at gmail.com
Wed Aug 10 20:14:17 PDT 2011
On Wed, Aug 10, 2011 at 21:59, Bryan Blackburn <blb at macports.org> wrote:
> I believe you'll want to wrap the post-destroot stuff in a "if {${name} !=
> ${subport}} {...}" block (so that installs of the base py-tz won't try to
> run that, only the versioned stuff); see py-bitstring for an example.
Thanks, I'd forgotten that.
> Also, you probably want to set python.default_version since it otherwise is
> set to 24 and that makes no sense if you don't have anything < 26...
I'd actually done that, but forgot to save before attaching the Portfile.
> If possible set license as well.
Thanks.
Cheers
Adam
More information about the macports-dev
mailing list