Summary: | app-crypt/openvpn-blacklist: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Hanno Böck <hanno> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | idella4 |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 | ||
Attachments: |
ebuild patch
r revised ebuild patch revised ebuild patch revised ebuild patch |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
![]() Created attachment 292221 [details, diff]
ebuild patch
python 2.6.6-r2, 2.7.2-r3, 3.1, 3.2
All tested and correct. bumped to EAPI 3.
(In reply to comment #1) Use PYTHON_DEPEND="2". Remove dev-lang/python from DEPEND set in ebuilds. Such pkg_setup() is not needed. Created attachment 293093 [details, diff]
r
(In reply to comment #3) Read second suggestion from comment #2. Created attachment 293339 [details, diff]
revised ebuild patch
(In reply to comment #5) python_convert_shebangs() is probably still needed. Created attachment 293709 [details, diff]
revised ebuild patch
(In reply to comment #7) ${ED} should be quoted. Created attachment 293827 [details, diff]
revised ebuild patch
This approach was changed by the -r1 python eclasses |