diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 18:14:01 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 14:00:52 +0000 |
commit | 43140b571b3f13773633262e34a09ecda887d302 (patch) | |
tree | ebb88b9c6f7d5f10d1909cdecc57ab08388fdad9 /meta | |
parent | a357f8b6249b47a273deebe56eb18206d3299a23 (diff) | |
download | poky-43140b571b3f13773633262e34a09ecda887d302.tar.gz |
python-gitdb: use pypi.bbclass
* Simplify python3-gitdb using pypi.bbclass
* Consolidate common content in .inc
(From OE-Core rev: e7083207684b18dd55d6b4dc88fc1ffc90d16476)
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')
-rw-r--r-- | meta/recipes-devtools/python/python-gitdb.inc | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-gitdb_0.6.4.bb | 7 |
2 files changed, 12 insertions, 10 deletions
diff --git a/meta/recipes-devtools/python/python-gitdb.inc b/meta/recipes-devtools/python/python-gitdb.inc index 08193fbf25..5fa8885eb9 100644 --- a/meta/recipes-devtools/python/python-gitdb.inc +++ b/meta/recipes-devtools/python/python-gitdb.inc | |||
@@ -4,13 +4,20 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528" |
6 | 6 | ||
7 | SRC_URI = "https://files.pythonhosted.org/packages/source/g/gitdb/gitdb-${PV}.tar.gz" | 7 | inherit pypi |
8 | 8 | ||
9 | SRC_URI[md5sum] = "44e4366b8bdfd306b075c3a52c96ae1a" | 9 | SRC_URI[md5sum] = "44e4366b8bdfd306b075c3a52c96ae1a" |
10 | SRC_URI[sha256sum] = "a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658" | 10 | SRC_URI[sha256sum] = "a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658" |
11 | 11 | ||
12 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/gitdb/" | 12 | DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-smmap" |
13 | |||
14 | S = "${WORKDIR}/gitdb-${PV}" | ||
15 | 13 | ||
14 | RDEPENDS_${PN} += "${PYTHON_PN}-async \ | ||
15 | ${PYTHON_PN}-compression \ | ||
16 | ${PYTHON_PN}-crypt \ | ||
17 | ${PYTHON_PN}-io \ | ||
18 | ${PYTHON_PN}-lang \ | ||
19 | ${PYTHON_PN}-mmap \ | ||
20 | ${PYTHON_PN}-shell \ | ||
21 | ${PYTHON_PN}-smmap \ | ||
22 | " | ||
16 | BBCLASSEXTEND = "nativesdk" | 23 | BBCLASSEXTEND = "nativesdk" |
diff --git a/meta/recipes-devtools/python/python3-gitdb_0.6.4.bb b/meta/recipes-devtools/python/python3-gitdb_0.6.4.bb index 80d9d469af..e46a438757 100644 --- a/meta/recipes-devtools/python/python3-gitdb_0.6.4.bb +++ b/meta/recipes-devtools/python/python3-gitdb_0.6.4.bb | |||
@@ -1,7 +1,2 @@ | |||
1 | require python-gitdb.inc | ||
2 | |||
3 | DEPENDS = "python3-async python3-smmap" | ||
4 | |||
5 | inherit distutils3 | 1 | inherit distutils3 |
6 | 2 | require python-gitdb.inc | |
7 | RDEPENDS_${PN} += "python3-smmap python3-async python3-mmap python3-lang python3-io python3-shell python3-crypt python3-compression" | ||