All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-varlink: new package
@ 2025-11-24 14:05 Marcus Hoffmann via buildroot
  2025-11-24 14:05 ` [Buildroot] [PATCH 2/2] support/testing: python-varlink: new runtime test Marcus Hoffmann
  2025-12-27 20:56 ` [Buildroot] [PATCH 1/2] package/python-varlink: new package Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Marcus Hoffmann via buildroot @ 2025-11-24 14:05 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Thomas Petazzoni, Marcus Hoffmann

There are currently problems in updating the pypi.org release[1], so we
pull the package from the github generated tarball instead. This in turn
then requires manually setting the version for setuptools_scm in the
environment.

[1] https://github.com/varlink/python/issues/81

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-varlink/Config.in           |  6 ++++++
 package/python-varlink/python-varlink.hash |  3 +++
 package/python-varlink/python-varlink.mk   | 15 +++++++++++++++
 5 files changed, 26 insertions(+)
 create mode 100644 package/python-varlink/Config.in
 create mode 100644 package/python-varlink/python-varlink.hash
 create mode 100644 package/python-varlink/python-varlink.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index db001d6bb0..658023a4f4 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2273,6 +2273,7 @@ F:	package/python-ruamel-yaml-clib/
 F:	package/python-typing-inspection/
 F:	package/python-tzlocal/
 F:	package/python-sdbus-modemmanager/
+F:	package/python-varlink/
 F:	package/python-waitress/
 F:	package/python-whitenoise/
 F:	support/testing/tests/package/test_python_apscheduler.py
diff --git a/package/Config.in b/package/Config.in
index 12f327cb27..2fb9cd8472 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1476,6 +1476,7 @@ menu "External python modules"
 	source "package/python-uvicorn/Config.in"
 	source "package/python-uvloop/Config.in"
 	source "package/python-validators/Config.in"
+	source "package/python-varlink/Config.in"
 	source "package/python-versiontools/Config.in"
 	source "package/python-visitor/Config.in"
 	source "package/python-waitress/Config.in"
diff --git a/package/python-varlink/Config.in b/package/python-varlink/Config.in
new file mode 100644
index 0000000000..609fa22219
--- /dev/null
+++ b/package/python-varlink/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_VARLINK
+	bool "python-varlink"
+	help
+	  Python implementation of the Varlink protocol.
+
+	  https://github.com/varlink/python
diff --git a/package/python-varlink/python-varlink.hash b/package/python-varlink/python-varlink.hash
new file mode 100644
index 0000000000..5d8dfa9d8e
--- /dev/null
+++ b/package/python-varlink/python-varlink.hash
@@ -0,0 +1,3 @@
+# Locally computed sha256 checksums
+sha256  d31aee370ded51bc2bf8ad375fcd8b4cf3b7587306c0e05cffb45026ea9b9c40  python-varlink-32.1.0.tar.gz
+sha256  b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1  LICENSE.txt
diff --git a/package/python-varlink/python-varlink.mk b/package/python-varlink/python-varlink.mk
new file mode 100644
index 0000000000..1180cc4cc3
--- /dev/null
+++ b/package/python-varlink/python-varlink.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-varlink
+#
+################################################################################
+
+PYTHON_VARLINK_VERSION = 32.1.0
+PYTHON_VARLINK_SITE = $(call github,varlink,python,$(PYTHON_VARLINK_VERSION))
+PYTHON_VARLINK_SETUP_TYPE = setuptools
+PYTHON_VARLINK_DEPENDENCIES = host-python-setuptools-scm
+PYTHON_VARLINK_LICENSE = Apache-2.0
+PYTHON_VARLINK_LICENSE_FILES = LICENSE.txt
+PYTHON_VARLINK_ENV = SETUPTOOLS_SCM_PRETEND_VERSION_FOR_VARLINK=$(PYTHON_VARLINK_VERSION)
+
+$(eval $(python-package))
-- 
2.52.0

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

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

end of thread, other threads:[~2025-12-27 20:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-24 14:05 [Buildroot] [PATCH 1/2] package/python-varlink: new package Marcus Hoffmann via buildroot
2025-11-24 14:05 ` [Buildroot] [PATCH 2/2] support/testing: python-varlink: new runtime test Marcus Hoffmann
2025-12-27 20:57   ` Thomas Petazzoni via buildroot
2025-12-27 20:56 ` [Buildroot] [PATCH 1/2] package/python-varlink: new package Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.