Summary: | x11-misc/denu: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dabbott, idella4 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 | ||
Attachments: |
denu-2.3.2.ebuild
denu-2.3.2.ebuild ebuild patch revised ebuild patch |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2010-04-24 18:43:00 UTC
Created attachment 233963 [details]
denu-2.3.2.ebuild
Python script from 2005, only works with Python 2. Tested up to python 2.6.
QA Security Notice:
- /var/cache/denu/new_sysprgms.p will be a world writable file.
- This may or may not be a security problem, most of the time it is one.
- Please double check that denu-2.3.2 really needs a world writeable bit and file bugs accordingly.
Also this error with Python 3 as active;
denu --help
File "/usr/bin/denu", line 363
wm = string.replace(wm, '.p', '')
^
TabError: inconsistent use of tabs and spaces in indentation
Created attachment 233965 [details]
denu-2.3.2.ebuild
It will install with Python 3 set as active version, I forgot to add;
SUPPORT_PYTHON_ABIS="1"
Comment on attachment 233965 [details]
denu-2.3.2.ebuild
It won't work.
Created attachment 293715 [details, diff]
ebuild patch
(In reply to comment #4) PYTHON_DEPEND="2:2.6" Created attachment 293829 [details, diff]
revised ebuild patch
+*denu-2.3.2-r1 (26 Nov 2011) + + 26 Nov 2011; Mike Gilbert <floppym@gentoo.org> +denu-2.3.2-r1.ebuild: + Python-related improvements by Ian Delaney. Bug 317005. + |