Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610622 - Correctly use python in aufs-sources kernel ebuilds to support deblob script
Summary: Correctly use python in aufs-sources kernel ebuilds to support deblob script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 610008
  Show dependency tree
 
Reported: 2017-02-23 00:04 UTC by Mike Pagano
Modified: 2017-02-25 19:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Pagano gentoo-dev 2017-02-23 00:04:33 UTC
As per bug #610008 , the kernel-2 eclass incorrectly uses python-any-r1.
Before I fix that, I need the ebuilds who support the deblob script to make some changes.

For reference: https://wiki.gentoo.org/wiki/Project:Python/python-any-r1

Add PYTHON_COMPAT=( pythonX_X pythonX_Y ) for the particular python versions supported

e.g. 

PYTHON_COMPAT=( python3_5 )

Add python-any-r1 to lists of inherited ebuilds.
e.g.

inherit kernel-2 python-any-r1

Add PYTHON_DEPS to the DEPEND variable

e.g.

DEPEND+=" deblob? ( ${PYTHON_DEPS} )"

Call python-any-r1_pkg_setup in pkg_setup

e.g.

pkg_setup() { 
    use deblob && python-any-r1_pkg_setup
}
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2017-02-25 19:40:21 UTC
commit 30b4c7a527d0267dd92e862fcfc954be235476c2
Author: Justin Lecher <jlec@gentoo.org>
Date:   Sat Feb 25 19:38:30 2017 +0000

    sys-kernel/aufs-sources: Drop deblob support completely

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=610622

    Package-Manager: Portage-2.3.3, Repoman-2.3.1
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b4c7a527d0267dd92e862fcfc954be235476c2