Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
Remove import sensors from setup.py
Don't import sensors in setup.py to avoid adding a dependency on host
lm-sensors. Instead, move __version__, __author__, __contact__ and
__license__ to setup.py
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Upstream: upstream is dead since 2019
diff '--color=auto' -Nura PySensors-0.0.4.orig/sensors/__init__.py PySensors-0.0.4/sensors/__init__.py
--- PySensors-0.0.4.orig/sensors/__init__.py 2024-01-04 13:47:07.114179107 +0100
+++ PySensors-0.0.4/sensors/__init__.py 2024-01-04 14:07:24.701178768 +0100
@@ -6,12 +6,6 @@
from sensors import stdc
-__version__ = "0.0.4"
-__date__ = "2019-09-19"
-__author__ = "Marc 'BlackJack' Rintsch"
-__contact__ = 'marc@rintsch.de'
-__license__ = 'LGPL v2.1'
-
API_VERSION = 4
DEFAULT_CONFIG_FILENAME = b"/etc/sensors3.conf"
diff '--color=auto' -Nura PySensors-0.0.4.orig/setup.py PySensors-0.0.4/setup.py
--- PySensors-0.0.4.orig/setup.py 2024-01-04 13:47:07.114179107 +0100
+++ PySensors-0.0.4/setup.py 2024-01-04 14:07:04.657260411 +0100
@@ -1,17 +1,21 @@
#!/usr/bin/env python3
from setuptools import setup
-import sensors
+
+__version__ = "0.0.4"
+__author__ = "Marc 'BlackJack' Rintsch"
+__contact__ = 'marc@rintsch.de'
+__license__ = 'LGPL v2.1'
setup(
name='PySensors',
- version=sensors.__version__,
- author=sensors.__author__,
- author_email=sensors.__contact__,
+ version=__version__,
+ author=__author__,
+ author_email=__contact__,
packages=['sensors'],
# scripts=[],
url='http://pypi.python.org/pypi/PySensors/',
# download_url='',
- license=sensors.__license__,
+ license=__license__,
description='Python bindings to libsensors (via ctypes)',
long_description=open('README.rst').read(),
long_description_content_type="text/x-rst",

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_PYSENSORS
bool "python-pysensors"
select BR2_PACKAGE_LM_SENSORS # runtime
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))