diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 18:17:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 14:00:52 +0000 |
commit | 9f8525721672577cbaab96081094211479db4c76 (patch) | |
tree | f1e69b8116ea84b4ea02c283c0f892bfc9ef3eeb | |
parent | 13f34dfc55cad2f218822a9c765625e47d0b340a (diff) | |
download | poky-9f8525721672577cbaab96081094211479db4c76.tar.gz |
python3-iniparse: use pypi.bbclass
* Simplify recipe by using pypi.bbclass
(From OE-Core rev: aa458b5fdb8d5d0ac93ced3b198bef2daa4e24b4)
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>
-rw-r--r-- | meta/recipes-devtools/python/python3-iniparse_0.4.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python3-iniparse_0.4.bb b/meta/recipes-devtools/python/python3-iniparse_0.4.bb index f51ce647c9..4eba9ecd34 100644 --- a/meta/recipes-devtools/python/python3-iniparse_0.4.bb +++ b/meta/recipes-devtools/python/python3-iniparse_0.4.bb | |||
@@ -4,17 +4,14 @@ LICENSE = "MIT & PSF" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE-PSF;md5=1c78a5bb3584b353496d5f6f34edb4b2 \ | 4 | LIC_FILES_CHKSUM = "file://LICENSE-PSF;md5=1c78a5bb3584b353496d5f6f34edb4b2 \ |
5 | file://LICENSE;md5=52f28065af11d69382693b45b5a8eb54" | 5 | file://LICENSE;md5=52f28065af11d69382693b45b5a8eb54" |
6 | 6 | ||
7 | SRC_URI = "https://files.pythonhosted.org/packages/source/i/iniparse/iniparse-${PV}.tar.gz \ | 7 | SRC_URI = "file://0001-Add-python-3-compatibility.patch " |
8 | file://0001-Add-python-3-compatibility.patch " | 8 | |
9 | SRC_URI[md5sum] = "5e573e9e9733d97623881ce9bbe5eca6" | 9 | SRC_URI[md5sum] = "5e573e9e9733d97623881ce9bbe5eca6" |
10 | SRC_URI[sha256sum] = "abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054" | 10 | SRC_URI[sha256sum] = "abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054" |
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/iniparse/" | ||
12 | 11 | ||
13 | inherit distutils3 | 12 | inherit pypi distutils3 |
14 | 13 | ||
15 | RDEPENDS_${PN} += "python3-core python3-six" | 14 | RDEPENDS_${PN} += "python3-core python3-six" |
16 | DEPENDS += "python3-six" | 15 | DEPENDS += "python3-six" |
17 | 16 | ||
18 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" |
19 | |||
20 | S = "${WORKDIR}/iniparse-${PV}" | ||