python3-gitdb: remove python3-async dependency

The dependency on the async module was removed back in 0.6.0 (November
2014).

Whilst here, also merge the bb/inc and stop using PYTHON_PN, as we only
support Python 3.

(From OE-Core rev: 5fc09287ec8ca4332614eaa6b0dd5aabf10f6a31)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2023-05-18 17:08:20 +01:00
committed by Richard Purdie
parent 70f38fa6a7
commit 00a0136c3b
2 changed files with 21 additions and 25 deletions

View File

@@ -1,23 +0,0 @@
SUMMARY = "A pure-Python git object database"
HOMEPAGE = "http://github.com/gitpython-developers/gitdb"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528"
inherit pypi
PYPI_PACKAGE = "gitdb"
SRC_URI[sha256sum] = "6eb990b69df4e15bad899ea868dc46572c3f75339735663b81de79b06f17eb9a"
DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-setuptools-native ${PYTHON_PN}-smmap"
RDEPENDS:${PN} += "${PYTHON_PN}-async \
${PYTHON_PN}-compression \
${PYTHON_PN}-crypt \
${PYTHON_PN}-io \
${PYTHON_PN}-mmap \
${PYTHON_PN}-shell \
${PYTHON_PN}-smmap \
"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,3 +1,22 @@
inherit setuptools3
require python-gitdb.inc
SUMMARY = "A pure-Python git object database"
HOMEPAGE = "http://github.com/gitpython-developers/gitdb"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528"
DEPENDS = "python3-smmap"
inherit pypi setuptools3
PYPI_PACKAGE = "gitdb"
SRC_URI[sha256sum] = "6eb990b69df4e15bad899ea868dc46572c3f75339735663b81de79b06f17eb9a"
RDEPENDS:${PN} += "python3-compression \
python3-crypt \
python3-io \
python3-mmap \
python3-shell \
python3-smmap \
"
BBCLASSEXTEND = "native nativesdk"