This commit is contained in:
Mario Fetka
2021-10-27 08:44:51 +02:00
parent 38ddc53c2c
commit 6efd4c00f8
39 changed files with 872 additions and 722 deletions

11
debian/changelog vendored
View File

@@ -1,3 +1,14 @@
afancontrol (3.0.0-1) unstable; urgency=medium
* Drop support for prometheus-client < 0.1.0 (debian stretch)
* Drop support for Python 3.5 (debian stretch)
* Add support for Python 3.9
* config: add `ipmi_sensors` location property
* Add dh-systemd (would automatically (re)start the systemd service upon
package (re)installation)
-- Kostya Esmukov <kostya@esmukov.ru> Sat, 10 Oct 2020 14:43:01 +0000
afancontrol (2.2.1-1) unstable; urgency=medium
* Fix compatibility with py3.5

5
debian/control vendored
View File

@@ -4,12 +4,13 @@ Priority: optional
Maintainer: Kostya Esmukov <kostya@esmukov.ru>
Build-Depends: debhelper (>= 9),
dh-python,
debhelper (>= 9.20160709) | dh-systemd,
python3-all,
python3-setuptools
Build-Depends-Indep: python3-pytest,
python3-requests,
python3-click,
python3-prometheus-client,
python3-prometheus-client (>= 0.1.0),
python3-serial
Standards-Version: 3.9.8
Homepage: https://github.com/KostyaEsmukov/afancontrol
@@ -27,7 +28,7 @@ Depends: ${python3:Depends},
lm-sensors,
python3-click,
python3-pkg-resources,
python3-prometheus-client,
python3-prometheus-client (>= 0.1.0),
python3-serial
Suggests: freeipmi-tools,
Description: Advanced Fan Control program (Python 3)

7
debian/rules vendored
View File

@@ -8,10 +8,5 @@ export PYBUILD_NAME=afancontrol
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS={dir}/tests/
override_dh_auto_test:
# the test suite does not 100% pass at present,
# but the output is useful documentation for users
(dh_auto_test; echo $?) > test-results
%:
dh $@ --with python3 --buildsystem=pybuild
dh $@ --with systemd,python3 --buildsystem=pybuild