Skip to contentSkip to conversation

package/python-distlib: new host package

PATCH Applied James Hilliard 2 participants 6 messages Aug 27, 2023 – Sep 2, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-distlib: new host package

---
 package/python-distlib/python-distlib.hash |  5 +++++
 package/python-distlib/python-distlib.mk   | 14 ++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 package/python-distlib/python-distlib.hash
 create mode 100644 package/python-distlib/python-distlib.mk
package/python-distlib/python-distlib.hash new file +5 -0
new file mode 100644
index 0000000000..506d10824c
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/distlib/json
+md5  44e4357e35bbd77fdf1b81e174e34f20  distlib-0.3.7.tar.gz
+sha256  9dafe54b34a028eafd95039d5e5d4851a13734540f1331060d31c9916e7147a8  distlib-0.3.7.tar.gz
+# Locally computed sha256 checksums
+sha256  808e10c8a6ab8deb149ff9b3fb19f447a808094606d712a9ca57fead3552599d  LICENSE.txt
package/python-distlib/python-distlib.mk new file +14 -0
new file mode 100644
index 0000000000..cae025dbdb
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-distlib
+#
+################################################################################
+
+PYTHON_DISTLIB_VERSION = 0.3.7
+PYTHON_DISTLIB_SOURCE = distlib-$(PYTHON_DISTLIB_VERSION).tar.gz
+PYTHON_DISTLIB_SITE = https://files.pythonhosted.org/packages/29/34/63be59bdf57b3a8a8dcc252ef45c40f3c018777dc8843d45dd9b869868f0
+PYTHON_DISTLIB_SETUP_TYPE = setuptools
+PYTHON_DISTLIB_LICENSE = PSF-2.0
+PYTHON_DISTLIB_LICENSE_FILES = LICENSE.txt
+
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/qemu: add host-python-distlib dependency

The qemu documentation recommends depending on this package.

---
 package/qemu/qemu.mk | 2 ++
 1 file changed, 2 insertions(+)
package/qemu/qemu.mk +2 -0
index 84166958bb..4d2135a3c6 100644
@@ -26,6 +26,7 @@ QEMU_DEPENDENCIES = \
 	host-meson \
 	host-pkgconf \
 	host-python3 \
+	host-python-distlib \
 	libglib2 \
 	zlib
 
@@ -339,6 +340,7 @@ HOST_QEMU_DEPENDENCIES = \
 	host-pixman \
 	host-pkgconf \
 	host-python3 \
+	host-python-distlib \
 	host-slirp \
 	host-zlib
 
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency

Quoted 1 line · On Sun, 27 Aug 2023 13:40:03 -0600 James Hilliard <[email protected]>…

The qemu documentation recommends depending on this package.

Recommends for what? Does it work without it, or not? If it isn't there, what is the consequence?

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency

Quoted 8 lines · Thomas Petazzoni
Quoted 1 line · On Sun, 27 Aug 2023 13:40:03 -0600 James Hilliard <[email protected]>…

The qemu documentation recommends depending on this package.

Recommends for what? Does it work without it, or not? If it isn't there, what is the consequence?

The docs here:
https://wiki.qemu.org/ChangeLog/8.1#Build_Dependencies

Indicate:
It is recommended to install distlib as well, but the build process tries to cope with its absence and it shouldn't be necessary.

It does appear to work without it when I tested but seems would be a good idea to depend on it.

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

Re: [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency

In reply to James Hilliard
Quoted 6 lines · On Sun, 27 Aug 2023 13:40:03 -0600 James Hilliard <[email protected]>…

The qemu documentation recommends depending on this package.

---
 package/qemu/qemu.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to next with a slightly extended commit message. Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw
In reply to James Hilliard
Quoted 7 lines · On Sun, 27 Aug 2023 13:40:02 -0600 James Hilliard <[email protected]>…
---
 package/python-distlib/python-distlib.hash |  5 +++++
 package/python-distlib/python-distlib.mk   | 14 ++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 package/python-distlib/python-distlib.hash
 create mode 100644 package/python-distlib/python-distlib.mk

Applied to next after adding an entry in the DEVELOPERS file. Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot