All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-pysensors: new package
@ 2023-09-19 17:15 Brandon Maier via buildroot
  2023-11-04 22:14 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Brandon Maier via buildroot @ 2023-09-19 17:15 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Brandon Maier, Asaf Kahlon, Thomas Petazzoni

pysensors 0.0.4 from https://pypi.org/project/PySensors/

Signed-off-by: Brandon Maier <brandon.maier@collins.com>
---
 DEVELOPERS                                     |  1 +
 package/Config.in                              |  1 +
 package/python-pysensors/Config.in             |  9 +++++++++
 package/python-pysensors/python-pysensors.hash |  3 +++
 package/python-pysensors/python-pysensors.mk   | 13 +++++++++++++
 5 files changed, 27 insertions(+)
 create mode 100644 package/python-pysensors/Config.in
 create mode 100644 package/python-pysensors/python-pysensors.hash
 create mode 100644 package/python-pysensors/python-pysensors.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index e8b78a8d46..9fa91f5c89 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -513,6 +513,7 @@ F:	package/iftop/
 F:	package/ncdu/
 
 N:	Brandon Maier <brandon.maier@collins.com>
+F:	package/python-pysensors/
 F:	package/vmtouch/
 
 N:	Brock Williams <brock@cottonwoodcomputer.com>
diff --git a/package/Config.in b/package/Config.in
index e8dbadadf3..d9961268b1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1245,6 +1245,7 @@ menu "External python modules"
 	source "package/python-pyroute2/Config.in"
 	source "package/python-pyrsistent/Config.in"
 	source "package/python-pysendfile/Config.in"
+	source "package/python-pysensors/Config.in"
 	source "package/python-pysftp/Config.in"
 	source "package/python-pysmb/Config.in"
 	source "package/python-pysmi/Config.in"
diff --git a/package/python-pysensors/Config.in b/package/python-pysensors/Config.in
new file mode 100644
index 0000000000..f8e056506b
--- /dev/null
+++ b/package/python-pysensors/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_PYSENSORS
+	bool "python-pysensors"
+	select BR2_PACKAGE_LM_SENSORS
+	help
+	  Python bindings for libsensors.so from the lm-sensors project
+	  via ctypes. Supports API version 4, i.e. libsensors version
+	  3.x.
+
+	  https://pypi.org/project/PySensors
diff --git a/package/python-pysensors/python-pysensors.hash b/package/python-pysensors/python-pysensors.hash
new file mode 100644
index 0000000000..b98c08602d
--- /dev/null
+++ b/package/python-pysensors/python-pysensors.hash
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/PySensors/json
+md5  af5ca440297b45bd440d32a7c8341c0f  PySensors-0.0.4.tar.gz
+sha256  beb0def410d29ee46fe196a7811124772abf84cbe3a0d8b01d80b81fba31dae5  PySensors-0.0.4.tar.gz
diff --git a/package/python-pysensors/python-pysensors.mk b/package/python-pysensors/python-pysensors.mk
new file mode 100644
index 0000000000..b38c47f0c8
--- /dev/null
+++ b/package/python-pysensors/python-pysensors.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-pysensors
+#
+################################################################################
+
+PYTHON_PYSENSORS_VERSION = 0.0.4
+PYTHON_PYSENSORS_SOURCE = PySensors-$(PYTHON_PYSENSORS_VERSION).tar.gz
+PYTHON_PYSENSORS_SITE = https://files.pythonhosted.org/packages/76/31/d3383a192f31ce1d79f27ec3d047cca23dd82a1bf0939e774386aba37cf5
+PYTHON_PYSENSORS_SETUP_TYPE = setuptools
+PYTHON_PYSENSORS_LICENSE = LGPL-2.1
+
+$(eval $(python-package))
-- 
2.41.0

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

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

* Re: [Buildroot] [PATCH 1/1] package/python-pysensors: new package
  2023-09-19 17:15 [Buildroot] [PATCH 1/1] package/python-pysensors: new package Brandon Maier via buildroot
@ 2023-11-04 22:14 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-11-04 22:14 UTC (permalink / raw)
  To: Brandon Maier via buildroot; +Cc: James Hilliard, Asaf Kahlon, Brandon Maier

On Tue, 19 Sep 2023 17:15:05 +0000
Brandon Maier via buildroot <buildroot@buildroot.org> wrote:

> pysensors 0.0.4 from https://pypi.org/project/PySensors/
> 
> Signed-off-by: Brandon Maier <brandon.maier@collins.com>
> ---
>  DEVELOPERS                                     |  1 +
>  package/Config.in                              |  1 +
>  package/python-pysensors/Config.in             |  9 +++++++++
>  package/python-pysensors/python-pysensors.hash |  3 +++
>  package/python-pysensors/python-pysensors.mk   | 13 +++++++++++++
>  5 files changed, 27 insertions(+)
>  create mode 100644 package/python-pysensors/Config.in
>  create mode 100644 package/python-pysensors/python-pysensors.hash
>  create mode 100644 package/python-pysensors/python-pysensors.mk

Applied to master, 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] 2+ messages in thread

end of thread, other threads:[~2023-11-04 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 17:15 [Buildroot] [PATCH 1/1] package/python-pysensors: new package Brandon Maier via buildroot
2023-11-04 22:14 ` 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.