Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308333 - app-crypt/openssl-blacklist: Verify and potentially improve Python-related code
Summary: app-crypt/openssl-blacklist: Verify and potentially improve Python-related code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Highest normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 308257
  Show dependency tree
 
Reported: 2010-03-07 17:23 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2014-02-13 13:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch (openssl-blacklist.patch,3.14 KB, patch)
2011-11-11 20:21 UTC, Ian Delaney (RETIRED)
Details | Diff
revised ebuild patch (openssl-blacklist.patch,1.87 KB, patch)
2011-11-18 18:24 UTC, Ian Delaney (RETIRED)
Details | Diff
revised ebuild patch (openssl-blacklist.patch,2.31 KB, patch)
2011-11-21 14:51 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-07 17:23:51 UTC
- If this package could support installation for multiple versions of Python,
  then please try to adjust the ebuilds to support it.
- Ensure that the ebuilds do not use deprecated functions or variables.
- Please check if Python 3 is supported by this package.
- If this package does not support Python 3:
  - Specify dependency on Python 2.
    You can use PYTHON_DEPEND helper variable, which should be set before
    inheriting of python eclass.
  - If this package cannot support installation for multiple versions of
    Python, then set active version of Python using
    python_set_active_version().
  - Ensure that shebangs in installed scripts specify correct version of
    Python. If shebangs are too generic (e.g. '#!/usr/bin/python'), then you
    can use python_convert_shebangs() to convert shebangs.
    (Wrapper scripts generated by python_generate_wrapper_scripts() do not
    require any changes.)

Please see documentation [1] for more details.
[1] http://www.gentoo.org/proj/en/Python/developersguide.xml
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-11-11 20:21:51 UTC
Created attachment 292217 [details, diff]
ebuild patch
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-11-11 20:24:02 UTC
used python-2.6.6, 2,7,2-r3, 3.1, 3.2
Tested, bumped to EAPI 3, both work aok.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2011-11-11 21:30:13 UTC
(In reply to comment #2)

Use PYTHON_DEPEND="2". Remove dev-lang/python from DEPEND/RDEPEND set in ebuilds. Such pkg_setup() is not needed.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-11-18 18:24:58 UTC
Created attachment 293003 [details, diff]
revised ebuild patch
Comment 5 Arfrever Frehtes Taifersar Arahesis 2011-11-20 03:44:53 UTC
(In reply to comment #4)

Shebang in /usr/bin/openssl-vulnkey should be fixed.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2011-11-21 14:51:38 UTC
Created attachment 293321 [details, diff]
revised ebuild patch
Comment 7 Hanno Böck gentoo-dev 2014-02-13 13:25:54 UTC
done and ported to python-single-r1 eclass