From 23f7b4dbcab1a11d46822ed3c40ebf222d1434cd Mon Sep 17 00:00:00 2001 From: Göktürk Yüksek Date: Fri, 24 Feb 2017 03:25:37 -0500 Subject: 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(-) (limited to 'sys-kernel/ck-sources') 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 074216b21312..1213b6ae46ea 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 72d3a2906e9d..c9184a2f56ef 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 ba953fbeb576..71e0ce6bf133 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 94e58e748f0e..63b7abfa6aa3 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 6b87702a6763..0f02d474c4d5 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 b0c16030b053..c5c283932e85 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 de9fb562ec4f..523a2c2a5862 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 b00538bf7e9e..8452438f1b53 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 c57334db8d67..602c45363f13 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 4c4d742ca19e..4df3133ee78e 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 --------------------------------- -- cgit v1.2.3-65-gdbad