public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-python] python-distutils-ng -- the future?
@ 2012-09-08 22:00 Michał Górny
  2012-09-08 22:00 ` [gentoo-python] [PATCH python-distutils-ng 1/4] Mark the eclass as work-in-progress Michał Górny
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michał Górny @ 2012-09-08 22:00 UTC (permalink / raw
  To: gentoo-python

I've just looked through python-distutils-ng again and I think it
deserves at least a bit of changes, if not complete redesign.

It is currently used by 22 packages in Gentoo, and probably a few
in the overlays. I'd honestly prefer to avoid further packages doing
that before we decide on how to proceed. That's why the first patch I'm
suggesting somehow marks is as work-in-progress and asks people not to
use it yet.

The second and third patches just fix one of the formal problems.

The fourth patch completely removes PYTHON_OPTIONAL support. It is not
used by any of the mentioned packages right now and that way I'd like to
avoid it being used by anything else, before we redesign it.

The major issue I see with it is that it hardcodes the 'python' flag.
That's a bit mistaken, I believe. Not that I see much use for
an optional Python support in package using distutils, and if there is
one, I believe developers will find it more comfortable to do:

    use python && python-distutils-ng_src_compile

than expect the eclass to do that check for them.

We also should think about USE-dependencies more (I will think about it
myself, trying to find some working solution better than one suggested
by Arfrever [the <<[use]>>]). It will be hard thinking...

And one thing certainly needing discussing is extracting some
common-python code to a separate eclass, without the distutils part.
To be honest, I'd rather move the whole 'optionality' of Python there.

And lastly, the name. Considering the amount of work that needs to be
done, we might also decide to 'lastrite' the eclass and work on a new
one, replacing 'ng' with something saner.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-11  3:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-08 22:00 [gentoo-python] python-distutils-ng -- the future? Michał Górny
2012-09-08 22:00 ` [gentoo-python] [PATCH python-distutils-ng 1/4] Mark the eclass as work-in-progress Michał Górny
2012-09-08 22:00 ` [gentoo-python] [PATCH python-distutils-ng 2/4] Drop pointless default S assignment Michał Górny
2012-09-08 22:00 ` [gentoo-python] [PATCH python-distutils-ng 3/4] Move EXPORT_FUNCTIONS after the EAPI switch Michał Górny
2012-09-08 22:00 ` [gentoo-python] [PATCH python-distutils-ng 4/4] Temporarily remove PYTHON_OPTIONAL -- it is mis-designed Michał Górny
2012-09-11  3:23 ` [gentoo-python] python-distutils-ng -- the future? Ben de Groot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox