[MacPorts] #16723: unify the python portgroups
MacPorts
noreply at macports.org
Fri Jul 1 13:00:57 PDT 2011
#16723: unify the python portgroups
------------------------------+---------------------------------------------
Reporter: jmr@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
------------------------------+---------------------------------------------
Comment(by blb@…):
Replying to [comment:32 jmr@…]:
> I think the dist_subdir being py-xyz makes more sense than having every
single python module in the same subdir.
It'll cause some duplication for upgrades, but long-term that makes sense.
> The post-destroot would presumably fail in such a case since there would
be no files in the work dir. You don't actually need an extra variable;
checking if $name != $subport is sufficient. I agree it's a little
unwieldy, but still less so than defining the post-destroot block once for
each python version.
Actually there are files in worksrcdir and the destroot ran fine, which is
actually how I came across it in the first place. I'm just testing with
py-bitstring; I'll attach my WIP, but isn't much different from the
versioned ones.
One other issue is cleaning (for those of us who disable autoclean): 'port
clean' only does py-xyz, so you also have to 'port clean subport=pyAB-xyz'
to get any others. Not sure if that's a big enough issue to worry about
in base.
--
Ticket URL: <https://trac.macports.org/ticket/16723#comment:33>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list