diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/python/python-git.inc')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-devtools/python/python-git.inc | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/python/python-git.inc b/import-layers/yocto-poky/meta/recipes-devtools/python/python-git.inc index 777608c1b..8d3769396 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/python/python-git.inc +++ b/import-layers/yocto-poky/meta/recipes-devtools/python/python-git.inc @@ -8,14 +8,25 @@ 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" -SRC_URI[md5sum] = "df94212b19d270a625b67b4c84ac9a41" -SRC_URI[sha256sum] = "5c00cbd256e2b1d039381d4f7d71fcb7ee5cc196ca10c101ff7191bd82ab5d9c" +inherit pypi -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/GitPython/" -UPSTREAM_CHECK_REGEX = "/GitPython/(?P<pver>(\d+[\.\-_]*)+)" +SRC_URI[md5sum] = "7a94ee1b923fb772a2a0c6649430a17c" +SRC_URI[sha256sum] = "ad61bc25deadb535b047684d06f3654c001d9415e1971e51c9c20f5b510076e9" -S = "${WORKDIR}/GitPython-${PV}" +DEPENDS = "${PYTHON_PN}-gitdb" +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-gitdb \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-unittest \ + ${PYTHON_PN}-unixadmin \ + git \ +" BBCLASSEXTEND = "nativesdk" |