mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 01:06:37 +01:00
python-git: use pypi.bbclass
* Simplify python3-git by using pypi.bbclass * Consolidate common content in .inc (From OE-Core rev: 5288e401c769a80f499d0775dd9bd1304e2298f4) 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>
This commit is contained in:
committed by
Richard Purdie
parent
43140b571b
commit
13f34dfc55
@@ -8,14 +8,30 @@ SECTION = "devel/python"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183"
|
||||
|
||||
SRC_URI = "https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-${PV}.tar.gz"
|
||||
PYPI_PACKAGE = "GitPython"
|
||||
|
||||
inherit pypi
|
||||
|
||||
SRC_URI[md5sum] = "a63fdd2a650694ea23e268fd0c952034"
|
||||
SRC_URI[sha256sum] = "13c7cd99c2bf277fc99accfc25148752fa90e7cc6c6d08a3f01d229dacb461d9"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/GitPython/"
|
||||
UPSTREAM_CHECK_REGEX = "/GitPython/(?P<pver>(\d+[\.\-_]*)+)"
|
||||
|
||||
S = "${WORKDIR}/GitPython-${PV}"
|
||||
DEPENDS = "${PYTHON_PN}-gitdb"
|
||||
|
||||
RDEPENDS_${PN} += "${PYTHON_PN}-argparse \
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-enum \
|
||||
${PYTHON_PN}-gitdb \
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-lang \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-math \
|
||||
${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-re \
|
||||
${PYTHON_PN}-shell \
|
||||
${PYTHON_PN}-stringold \
|
||||
${PYTHON_PN}-subprocess \
|
||||
${PYTHON_PN}-unittest \
|
||||
${PYTHON_PN}-unixadmin \
|
||||
git \
|
||||
"
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user