commit:     23f7b4dbcab1a11d46822ed3c40ebf222d1434cd
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 08:25:37 2017 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 08:26:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23f7b4db

sys-kernel/ck-sources: correctly use python to support deblob #610620

Package-Manager: portage-2.3.0

 sys-kernel/ck-sources/ck-sources-4.10.0.ebuild   | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.10.ebuild   | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.11.ebuild   | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.4.ebuild    | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.5.ebuild    | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.6.ebuild    | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.7.ebuild    | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.8.ebuild    | 10 +++++++++-
 sys-kernel/ck-sources/ck-sources-4.9.9.ebuild    | 10 +++++++++-
 10 files changed, 90 insertions(+), 10 deletions(-)

diff --git a/sys-kernel/ck-sources/ck-sources-4.10.0.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.10.0.ebuild
index 074216b213..1213b6ae46 100644
--- a/sys-kernel/ck-sources/ck-sources-4.10.0.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.10.0.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="1"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -42,6 +45,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.10.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.10.ebuild
index 72d3a2906e..c9184a2f56 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.10.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.10.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="12"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.11.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.11.ebuild
index ba953fbeb5..71e0ce6bf1 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.11.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.11.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="13"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.4.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.4.ebuild
index 94e58e748f..63b7abfa6a 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.4.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.4.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="5"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.5.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.5.ebuild
index 6b87702a67..0f02d474c4 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.5.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.5.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="6"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild
index b0c16030b0..c5c283932e 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="8"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.6.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.6.ebuild
index de9fb562ec..523a2c2a58 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.6.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.6.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="7"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.7.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.7.ebuild
index b00538bf7e..8452438f1b 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.7.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.7.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="9"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.8.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.8.ebuild
index c57334db8d..602c45363f 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.8.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.8.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="10"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

diff --git a/sys-kernel/ck-sources/ck-sources-4.9.9.ebuild 
b/sys-kernel/ck-sources/ck-sources-4.9.9.ebuild
index 4c4d742ca1..4df3133ee7 100644
--- a/sys-kernel/ck-sources/ck-sources-4.9.9.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-4.9.9.ebuild
@@ -16,10 +16,13 @@ K_GENPATCHES_VER="11"
 K_SECURITY_UNSUPPORTED="1"
 K_DEBLOB_AVAILABLE="1"
 
-inherit kernel-2
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 kernel-2
 detect_version
 detect_arch
 
+DEPEND="deblob? ( ${PYTHON_DEPS} )"
+
 K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
 
 DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches 
for Linux ${K_BRANCH_ID}"
@@ -78,6 +81,11 @@ UNIPATCH_STRICTORDER="yes"
 
 K_EXP_GENPATCHES_LIST="5010_*.patch*"
 
+pkg_setup() {
+       use deblob && python-any-r1_pkg_setup
+       kernel-2_pkg_setup
+}
+
 src_prepare() {
 
 #-- Comment out CK's EXTRAVERSION in Makefile ---------------------------------

Reply via email to