package/python-pysensors: new package

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

Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Brandon Maier 2023-09-19 17:15:05 +00:00 committed by Thomas Petazzoni
parent deb0b8e2b2
commit c8ff8d41c0
5 changed files with 27 additions and 0 deletions

View File

@ -525,6 +525,7 @@ F: package/ncdu/
N: Brandon Maier <brandon.maier@collins.com>
F: board/freescale/ls1046a-frwy/
F: configs/ls1046a-frwy_defconfig
F: package/python-pysensors/
F: package/qoriq-fm-ucode/
F: package/unifdef/
F: package/vmtouch/

View File

@ -1252,6 +1252,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"

View File

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

View File

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

View File

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