Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-distlib: new host package
@ 2023-08-27 19:40 James Hilliard
  2023-08-27 19:40 ` [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency James Hilliard
  2023-09-02 15:58 ` [Buildroot] [PATCH 1/2] package/python-distlib: new host package Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 6+ messages in thread
From: James Hilliard @ 2023-08-27 19:40 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Romain Naour, Thomas Petazzoni, Asaf Kahlon

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 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

diff --git a/package/python-distlib/python-distlib.hash b/package/python-distlib/python-distlib.hash
new file mode 100644
index 0000000000..506d10824c
--- /dev/null
+++ b/package/python-distlib/python-distlib.hash
@@ -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
diff --git a/package/python-distlib/python-distlib.mk b/package/python-distlib/python-distlib.mk
new file mode 100644
index 0000000000..cae025dbdb
--- /dev/null
+++ b/package/python-distlib/python-distlib.mk
@@ -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))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency
  2023-08-27 19:40 [Buildroot] [PATCH 1/2] package/python-distlib: new host package James Hilliard
@ 2023-08-27 19:40 ` James Hilliard
  2023-08-28 19:57   ` Thomas Petazzoni via buildroot
  2023-09-02 15:59   ` Thomas Petazzoni via buildroot
  2023-09-02 15:58 ` [Buildroot] [PATCH 1/2] package/python-distlib: new host package Thomas Petazzoni via buildroot
  1 sibling, 2 replies; 6+ messages in thread
From: James Hilliard @ 2023-08-27 19:40 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Romain Naour, Thomas Petazzoni, Asaf Kahlon

The qemu documentation recommends depending on this package.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/qemu/qemu.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 84166958bb..4d2135a3c6 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -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
 
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency
  2023-08-27 19:40 ` [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency James Hilliard
@ 2023-08-28 19:57   ` Thomas Petazzoni via buildroot
  2023-08-28 20:31     ` James Hilliard
  2023-09-02 15:59   ` Thomas Petazzoni via buildroot
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-28 19:57 UTC (permalink / raw)
  To: James Hilliard; +Cc: Romain Naour, Asaf Kahlon, buildroot

On Sun, 27 Aug 2023 13:40:03 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> 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
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency
  2023-08-28 19:57   ` Thomas Petazzoni via buildroot
@ 2023-08-28 20:31     ` James Hilliard
  0 siblings, 0 replies; 6+ messages in thread
From: James Hilliard @ 2023-08-28 20:31 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Romain Naour, Asaf Kahlon, buildroot

On Mon, Aug 28, 2023 at 3:57 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Sun, 27 Aug 2023 13:40:03 -0600
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > 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.

>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/python-distlib: new host package
  2023-08-27 19:40 [Buildroot] [PATCH 1/2] package/python-distlib: new host package James Hilliard
  2023-08-27 19:40 ` [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency James Hilliard
@ 2023-09-02 15:58 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-09-02 15:58 UTC (permalink / raw)
  To: James Hilliard; +Cc: Romain Naour, Asaf Kahlon, buildroot

On Sun, 27 Aug 2023 13:40:02 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency
  2023-08-27 19:40 ` [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency James Hilliard
  2023-08-28 19:57   ` Thomas Petazzoni via buildroot
@ 2023-09-02 15:59   ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-09-02 15:59 UTC (permalink / raw)
  To: James Hilliard; +Cc: Romain Naour, Asaf Kahlon, buildroot

On Sun, 27 Aug 2023 13:40:03 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> The qemu documentation recommends depending on this package.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/qemu/qemu.mk | 2 ++
>  1 file changed, 2 insertions(+)

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

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-02 15:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-27 19:40 [Buildroot] [PATCH 1/2] package/python-distlib: new host package James Hilliard
2023-08-27 19:40 ` [Buildroot] [PATCH 2/2] package/qemu: add host-python-distlib dependency James Hilliard
2023-08-28 19:57   ` Thomas Petazzoni via buildroot
2023-08-28 20:31     ` James Hilliard
2023-09-02 15:59   ` Thomas Petazzoni via buildroot
2023-09-02 15:58 ` [Buildroot] [PATCH 1/2] package/python-distlib: new host package Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox