Summary: | net-im/pymsn-t: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Gentoo Net-im project <net-im> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | idella4 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 | ||
Attachments: |
ebuild patch
revised ebuild patch revised ebuild patch |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
![]() I've retired as a gentoo dev. Reassigning to herd. Created attachment 293965 [details, diff]
ebuild patch
(In reply to comment #2) pkg_setup() { python_set_active_version 2 python_pkg_setup } ${FILESDIR}/pymsn-t-initd should be fixed to not explicitly call /usr/bin/python. ${ED}$(python_get_sitedir)/pymsn-t/pymsn-t.py should be executable. Shebang in this script should be fixed. Created attachment 294021 [details, diff]
revised ebuild patch
(In reply to comment #4) It's better to directly change the file in ${FILESDIR}. ${ED} should be quoted. (In reply to comment #4) Since pymsn-t.py script is in site-packages, it should have less generic shebang: python_convert_shebangs ${PYTHON_ABI} "${ED}$(python_get_sitedir)/pymsn-t/pymsn-t.py" Created attachment 294133 [details, diff]
revised ebuild patch
was ported to new eclasses at some point |