summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2017-11-18 18:14:01 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-13 14:00:52 +0000
commit43140b571b3f13773633262e34a09ecda887d302 (patch)
treeebb88b9c6f7d5f10d1909cdecc57ab08388fdad9 /meta
parenta357f8b6249b47a273deebe56eb18206d3299a23 (diff)
downloadpoky-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.inc15
-rw-r--r--meta/recipes-devtools/python/python3-gitdb_0.6.4.bb7
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"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528"
6 6
7SRC_URI = "https://files.pythonhosted.org/packages/source/g/gitdb/gitdb-${PV}.tar.gz" 7inherit pypi
8 8
9SRC_URI[md5sum] = "44e4366b8bdfd306b075c3a52c96ae1a" 9SRC_URI[md5sum] = "44e4366b8bdfd306b075c3a52c96ae1a"
10SRC_URI[sha256sum] = "a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658" 10SRC_URI[sha256sum] = "a3ebbc27be035a2e874ed904df516e35f4a29a778a764385de09de9e0f139658"
11 11
12UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/gitdb/" 12DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-smmap"
13
14S = "${WORKDIR}/gitdb-${PV}"
15 13
14RDEPENDS_${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"
16BBCLASSEXTEND = "nativesdk" 23BBCLASSEXTEND = "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 @@
1require python-gitdb.inc
2
3DEPENDS = "python3-async python3-smmap"
4
5inherit distutils3 1inherit distutils3
6 2require python-gitdb.inc
7RDEPENDS_${PN} += "python3-smmap python3-async python3-mmap python3-lang python3-io python3-shell python3-crypt python3-compression"