Skip to contentSkip to conversation

package/python-pysensors: new package

PATCH Applied Brandon Maier via buildroot 1 participant 2 messages Sep 19, 2023 – Nov 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-pysensors: new package

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

---
 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
DEVELOPERS +1 -0
index e8b78a8d46..9fa91f5c89 100644
@@ -513,6 +513,7 @@ F:	package/iftop/
 F:	package/ncdu/
 
 N:	Brandon Maier <[email protected]>
+F:	package/python-pysensors/
 F:	package/vmtouch/
 
 N:	Brock Williams <[email protected]>
package/Config.in +1 -0
index e8dbadadf3..d9961268b1 100644
@@ -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"
package/python-pysensors/Config.in new file +9 -0
new file mode 100644
index 0000000000..f8e056506b
@@ -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
package/python-pysensors/python-pysensors.hash new file +3 -0
new file mode 100644
index 0000000000..b98c08602d
@@ -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
package/python-pysensors/python-pysensors.mk new file +13 -0
new file mode 100644
index 0000000000..b38c47f0c8
@@ -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))
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 13 lines · On Tue, 19 Sep 2023 17:15:05 +0000 Brandon Maier via buildroot…

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

---
 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

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