Skip to contentSkip to conversation

python3-gitdb: remove python3-async dependency

PATCH In review [email protected] 2 participants 3 messages May 18, 2023 – May 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-gitdb: remove python3-async dependency

From: Ross Burton <[email protected]>

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.

---
 meta/recipes-devtools/python/python-gitdb.inc | 23 -------------------
 .../python/python3-gitdb_4.0.10.bb            | 23 +++++++++++++++++--
 2 files changed, 21 insertions(+), 25 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-gitdb.inc
meta/recipes-devtools/python/python-gitdb.inc deleted +0 -23
deleted file mode 100644
index d92d6453d84..00000000000
@@ -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"
meta/recipes-devtools/python/python3-gitdb_4.0.10.bb +21 -2
index 2dcd9c8affb..3a430c30f09 100644
@@ -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"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 python3-async: remove recipe

From: Ross Burton <[email protected]>

This is part of the same project as GitPython, but hasn't been used by gitdb (the sole user) since 2014.

---
 meta/recipes-devtools/python/python-async.inc      | 14 --------------
 .../recipes-devtools/python/python3-async_0.6.2.bb |  2 --
 2 files changed, 16 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-async.inc
 delete mode 100644 meta/recipes-devtools/python/python3-async_0.6.2.bb
meta/recipes-devtools/python/python-async.inc deleted +0 -14
deleted file mode 100644
index fde864601c6..00000000000
@@ -1,14 +0,0 @@
-SUMMARY = "Python framework to process interdependent tasks in a pool of workers"
-HOMEPAGE = "http://github.com/gitpython-developers/async"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e"
-
-inherit pypi
-
-SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b"
-SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051"
-
-RDEPENDS:${PN} += "${PYTHON_PN}-threading"
-
-BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-async_0.6.2.bb deleted +0 -2
deleted file mode 100644
index 0da5fdecdc8..00000000000
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-async.inc
Signature · 1 line
2.34.1
#2 lore raw

Re: [OE-core] [PATCH 2/2] python3-async: remove recipe

Thank you, Ross. Nice to see some cruft get jettisoned.

Quoted 7 lines · Ross Burton

From: Ross Burton <[email protected]>

This is part of the same project as GitPython, but hasn't been used by gitdb (the sole user) since 2014.

Quoted 55 lines
---
 meta/recipes-devtools/python/python-async.inc      | 14 --------------
 .../recipes-devtools/python/python3-async_0.6.2.bb |  2 --
 2 files changed, 16 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-async.inc
 delete mode 100644 meta/recipes-devtools/python/python3-async_0.6.2.bb
meta/recipes-devtools/python/python-async.inc deleted +0 -1
deleted file mode 100644
index fde864601c6..00000000000
@@ -1,14 +0,0 @@
-SUMMARY = "Python framework to process interdependent tasks in a pool of

workers"

meta/recipes-devtools/python/python-async.inc deleted +0 -4
-HOMEPAGE = "http://github.com/gitpython-developers/async"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM =

"file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e"

meta/recipes-devtools/python/python-async.inc deleted +0 -5
-
-inherit pypi
-
-SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b"
-SRC_URI[sha256sum] =

"ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051"

meta/recipes-devtools/python/python-async.inc deleted +0 -4
-
-RDEPENDS:${PN} += "${PYTHON_PN}-threading"
-
-BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-async_0.6.2.bb deleted +0 -3
deleted file mode 100644
index 0da5fdecdc8..00000000000
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-async.inc
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#181526):
https://lists.openembedded.org/g/openembedded-core/message/181526
Mute This Topic: https://lists.openembedded.org/mt/98994591/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-