sys-kernel/ck-sources: correctly use python to support deblob #610620
authorGöktürk Yüksek <gokturk@gentoo.org>
Fri, 24 Feb 2017 08:25:37 +0000 (03:25 -0500)
committerGöktürk Yüksek <gokturk@gentoo.org>
Fri, 24 Feb 2017 08:26:22 +0000 (03:26 -0500)
Package-Manager: portage-2.3.0

sys-kernel/ck-sources/ck-sources-4.10.0.ebuild
sys-kernel/ck-sources/ck-sources-4.9.10.ebuild
sys-kernel/ck-sources/ck-sources-4.9.11.ebuild
sys-kernel/ck-sources/ck-sources-4.9.4.ebuild
sys-kernel/ck-sources/ck-sources-4.9.5.ebuild
sys-kernel/ck-sources/ck-sources-4.9.6-r1.ebuild
sys-kernel/ck-sources/ck-sources-4.9.6.ebuild
sys-kernel/ck-sources/ck-sources-4.9.7.ebuild
sys-kernel/ck-sources/ck-sources-4.9.8.ebuild
sys-kernel/ck-sources/ck-sources-4.9.9.ebuild

index 074216b21312f5ec42f863540ff460b8a9fc940c..1213b6ae46eae48e6313eed7729c3ba4905a34a9 100644 (file)
@@ -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 ---------------------------------
index 72d3a2906e9d7df5f170be962fcfac6b0cbdbe23..c9184a2f56efc43d3d04cd21b328ec47f0cc0487 100644 (file)
@@ -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 ---------------------------------
index ba953fbeb576067eab28fb17af35eabfbfcd997f..71e0ce6bf133ae345c07d5c9eaa7d2b2f1d8c292 100644 (file)
@@ -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 ---------------------------------
index 94e58e748f0e2d38a251157154fb171338161243..63b7abfa6aa3ad4ee2c7dcc1aca716cf3385a3df 100644 (file)
@@ -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 ---------------------------------
index 6b87702a6763017f19ed8f6e18c3d8da3555380e..0f02d474c4d5fd06d9f98e78e1118dcd1bacd280 100644 (file)
@@ -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 ---------------------------------
index b0c16030b05375ca40781224eb6e933ab0e062d6..c5c283932e850915a71d452b638be4999569492e 100644 (file)
@@ -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 ---------------------------------
index de9fb562ec4ff974f9ffc54573c722c92effa794..523a2c2a586274d12eae6c19e3b162c7df81cd50 100644 (file)
@@ -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 ---------------------------------
index b00538bf7e9eb00aaaa64c28c9577118c90939ca..8452438f1b53d593511ee79eb39738daaef6dfe6 100644 (file)
@@ -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 ---------------------------------
index c57334db8d67563fcaca3950aa539dbddcc5d1d2..602c45363f13592fe02350539c12cf6717c4b02c 100644 (file)
@@ -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 ---------------------------------
index 4c4d742ca19ef1c5596651a20c4c8a61a329b24d..4df3133ee78e03fa9f0464ccfc03ee1b37ce895b 100644 (file)
@@ -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 ---------------------------------