On Thu, 25 Oct 2012 18:41:47 +0200 hasufell <hasuf...@gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 1. there is still no way to convert shebangs via python-r1 What conversion do you expect? The docs say it clearly that the eclass will be extended on request, so please file a clear request what you want with an example use case. > 2. there are no equivalent functions to the python_get_* stuff which > are sometimes necessary for broken build systems or test phases There is python_export(). I will be happy to extend it / add python_get*() wrappers when someone makes a clear list of what is needed. Example use cases will be appreciated again. Good examples will make it possible to choose good variable names. > 3. there is no equivalent for python_mod_optimize. Having that in > distutils-r1 does not suffice for non-distutils packages where I might > have to do that stuff manually. There is a lot of stuff missing for packages which try to install Python stuff by hand rather than using proper setup. I will be happy to provide more when I know what is actually needed and how it will be used. > 5. distutils-r1_rename_scripts does not allow to specify a location > possibly breaking non-standard locations (e.g. games location) It's a quick function. Adding additional paths or changing the algorithm won't be hard. Just don't expect me to do random stuff just because someone may want that someday. FYI: I've added that mindless games/bin to the paths. > 6. How can I make the python dependencies optional, e.g. that > python:3.2 is only pulled in when gtk useflag for this package is set? inherit python-r1 RDEPEND='gtk? ( ${PYTHON_DEPS} )' > 7. are we sure now that it's safe to ship the .pyc/.pyo files inside > the package without side-effects? There are side effects and they are well known. Still, none of them is an issue important enough to outweigh the benefit. > 8. how would I manually generate implementation-suffixed scripts > without distutils-r1? You would use the function I would introduce when I got the request filed and potential discussion done. Most importantly, whether there should be a way to call 2to3 on the scripts. By the way, did you just request two partial features instead of requesting a way to manually install Python scripts? > example: x11-misc/redshift-1.7-r1 Thanks. I will take a look at that package and see what is necessary to make it buildable with python-r1. By the way, do I understand correctly that right now you are building stuff for a random Python implementation and removing it afterwards? I believe that's something really worth fixing. -- Best regards, Michał Górny
signature.asc
Description: PGP signature