diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 17:15:51 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 14:00:52 +0000 |
commit | 0b120d29c801516aa901a0a57d909ddf36003d02 (patch) | |
tree | 21425bc25a85dfa289b8b55ea78dd57f40baae8d /meta/recipes-devtools/python/python-async.inc | |
parent | 6fb21ec84e6ce173ba132f64f4790da3f929326b (diff) | |
download | poky-0b120d29c801516aa901a0a57d909ddf36003d02.tar.gz |
python-async: use pypi.bbclass
* Simplify by using pypi.bbclass
* Use PYTHON_PN for RDEPENDS in .inc to avoid duplication
(From OE-Core rev: 57c67b740b25a72cc6fdde68368f49496eabb872)
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-async.inc')
-rw-r--r-- | meta/recipes-devtools/python/python-async.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python-async.inc b/meta/recipes-devtools/python/python-async.inc index 2c5cb4d191..0874667e0c 100644 --- a/meta/recipes-devtools/python/python-async.inc +++ b/meta/recipes-devtools/python/python-async.inc | |||
@@ -4,12 +4,11 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD" | 4 | LICENSE = "BSD" |
5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e" | 5 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e" |
6 | 6 | ||
7 | SRC_URI = "https://files.pythonhosted.org/packages/source/a/async/async-${PV}.tar.gz" | 7 | inherit pypi |
8 | |||
8 | SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" | 9 | SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b" |
9 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" | 10 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" |
10 | 11 | ||
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/async/" | 12 | RDEPENDS_${PN} += "${PYTHON_PN}-threading ${PYTHON_PN}-lang" |
12 | |||
13 | S = "${WORKDIR}/async-${PV}" | ||
14 | 13 | ||
15 | BBCLASSEXTEND = "nativesdk" | 14 | BBCLASSEXTEND = "nativesdk" |