diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 17:11:21 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 14:00:52 +0000 |
commit | 6fb21ec84e6ce173ba132f64f4790da3f929326b (patch) | |
tree | 555448c9728eae0bbafe447af3f3cf6fce4a4c79 /meta/recipes-devtools/python/python-six.inc | |
parent | a61146fe9d129f28985ab28db56f7d4af71d34d1 (diff) | |
download | poky-6fb21ec84e6ce173ba132f64f4790da3f929326b.tar.gz |
python-six: use pypi.bbclass
* Simplify python3-six by using pypi.bbclass
- Use PYTHON_PN in .inc to avoid duplication in RDEPENDS
(From OE-Core rev: 38993c3fac841e8e6a01cca43d0d4cecda05439e)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-six.inc')
-rw-r--r-- | meta/recipes-devtools/python/python-six.inc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-devtools/python/python-six.inc b/meta/recipes-devtools/python/python-six.inc index f9e7d6429d..c77498457d 100644 --- a/meta/recipes-devtools/python/python-six.inc +++ b/meta/recipes-devtools/python/python-six.inc | |||
@@ -4,13 +4,11 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=35cec5bf04dd0820d0a18533ea7c774a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=35cec5bf04dd0820d0a18533ea7c774a" |
6 | 6 | ||
7 | SRC_URI = "https://files.pythonhosted.org/packages/source/s/six/six-${PV}.tar.gz" | ||
8 | SRC_URI[md5sum] = "d12789f9baf7e9fb2524c0c64f1773f8" | 7 | SRC_URI[md5sum] = "d12789f9baf7e9fb2524c0c64f1773f8" |
9 | SRC_URI[sha256sum] = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" | 8 | SRC_URI[sha256sum] = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" |
10 | 9 | ||
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/six/" | 10 | inherit pypi |
12 | UPSTREAM_CHECK_REGEX = "/six/(?P<pver>(\d+[\.\-_]*)+)" | ||
13 | 11 | ||
14 | BBCLASSEXTEND = "native nativesdk" | 12 | RDEPENDS_${PN} = "${PYTHON_PN}-io" |
15 | 13 | ||
16 | S = "${WORKDIR}/six-${PV}" | 14 | BBCLASSEXTEND = "native nativesdk" |