diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-06-02 12:26:05 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:28 +0100 |
commit | caf553b1ac243d8e6d14ab0ba4ad87130c4d9cfe (patch) | |
tree | 272bc11d03cec5e5d3ec59ec0f1313fc624b129e /meta/recipes-support | |
parent | cc95c793415f374f5f5a176c2f438e44c3693bb0 (diff) | |
download | poky-caf553b1ac243d8e6d14ab0ba4ad87130c4d9cfe.tar.gz |
libcap-ng: move to Python 3
(From OE-Core rev: 671a8e58aba0a01ad8571995dadbf569706df954)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb index 5715467664..5608f495e6 100644 --- a/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb +++ b/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb | |||
@@ -10,16 +10,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
10 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ | 10 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ |
11 | file://python.patch" | 11 | file://python.patch" |
12 | 12 | ||
13 | inherit lib_package autotools pythonnative | 13 | inherit lib_package autotools python3native |
14 | 14 | ||
15 | SRC_URI[md5sum] = "3d7d126b29e2869a0257c17c8b0d9b2e" | 15 | SRC_URI[md5sum] = "3d7d126b29e2869a0257c17c8b0d9b2e" |
16 | SRC_URI[sha256sum] = "615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b" | 16 | SRC_URI[sha256sum] = "615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b" |
17 | 17 | ||
18 | DEPENDS += "swig-native python" | 18 | DEPENDS += "swig-native python3" |
19 | 19 | ||
20 | EXTRA_OECONF += "--without-python3" | 20 | export PYTHON |
21 | 21 | export STAGING_INCDIR | |
22 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" | 22 | export STAGING_LIBDIR |
23 | EXTRA_OECONF += "--with-python --with-python3" | ||
24 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}${PYTHON_ABI}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" | ||
23 | 25 | ||
24 | PACKAGES += "${PN}-python" | 26 | PACKAGES += "${PN}-python" |
25 | 27 | ||