Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Initial python-r1.eclass & distutils-r1.eclass
Date: Thu, 25 Oct 2012 16:42:43
Message-Id: 50896BCB.6080402@gentoo.org
In Reply to: [gentoo-dev] [RFC] Initial python-r1.eclass & distutils-r1.eclass by "Michał Górny"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 1. there is still no way to convert shebangs via python-r1
5 2. there are no equivalent functions to the python_get_* stuff which
6 are sometimes necessary for broken build systems or test phases
7 3. there is no equivalent for python_mod_optimize. Having that in
8 distutils-r1 does not suffice for non-distutils packages where I might
9 have to do that stuff manually.
10 5. distutils-r1_rename_scripts does not allow to specify a location
11 possibly breaking non-standard locations (e.g. games location)
12 6. How can I make the python dependencies optional, e.g. that
13 python:3.2 is only pulled in when gtk useflag for this package is set?
14 7. are we sure now that it's safe to ship the .pyc/.pyo files inside
15 the package without side-effects?
16 8. how would I manually generate implementation-suffixed scripts
17 without distutils-r1?
18 example: x11-misc/redshift-1.7-r1
19 -----BEGIN PGP SIGNATURE-----
20 Version: GnuPG v2.0.19 (GNU/Linux)
21 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
22
23 iQEcBAEBAgAGBQJQiWvKAAoJEFpvPKfnPDWzwicIALNXQl4CySuYUhtcFdCuPC9X
24 Dcckhf8cJ1SvHl88MV2NJAg5GmoW+ZYB3BPxPY6z/QS1JD8Qxig/ZLBcvo3hfNoL
25 yAds48rRDr11TWpABNP+2HWxOkvNo2WyxXIxGKbqWJHqInYiSdZnjCBbdee/iVYt
26 DGazs/H2vrv59QPKvDVVoDCuGHBQ84Be4DUHBDoyLAi+Zao2br/vtbq8WMFSoaJn
27 IV7jwlnyoajQyLwcXH35f5Avx5pSqQmVe52JHe0z5sYs/irFtnH0EdUpyQQKp4Pt
28 YOE3HrMG5NHpoI089rSHRfMO6HwKTc4hZJP4Cr/NB+NB3+wmgR1fmGKswiTgQ6c=
29 =Kwhu
30 -----END PGP SIGNATURE-----

Replies