Imported Upstream version 3.0.0

This commit is contained in:
Mario Fetka
2021-10-26 12:58:36 +02:00
commit 27b4629279
87 changed files with 7722 additions and 0 deletions

3
debian/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
afancontrol/
debhelper-build-stamp
files

78
debian/changelog vendored Normal file
View File

@@ -0,0 +1,78 @@
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
-- Kostya Esmukov <kostya@esmukov.ru> Mon, 28 Sep 2020 22:39:46 +0000
afancontrol (2.2.0-1) unstable; urgency=medium
* FileTemp: add support for glob patterns in paths
* Add `readonly_fan` section, allow exporter-only mode (i.e. no fans and mappings)
* Add a readonly IPMI speed fan
* Add filters, collect temperatures simultaneously
-- Kostya Esmukov <kostya@esmukov.ru> Mon, 28 Sep 2020 22:12:04 +0000
afancontrol (2.1.0-1) unstable; urgency=medium
* Move PID file under /run (#3)
-- Kostya Esmukov <kostya@esmukov.ru> Fri, 12 Jun 2020 15:12:15 +0000
afancontrol (2.0.0-1) unstable; urgency=medium
* Switch Debian distribution from stretch to unstable
-- Kostya Esmukov <kostya@esmukov.ru> Sat, 09 May 2020 13:30:44 +0000
afancontrol (2.0.0~b5-1) unstable; urgency=medium
* Fix LinuxPWMFan spuriously raising "Couldn't disable PWM on the fan"
-- Kostya Esmukov <kostya@esmukov.ru> Sat, 15 Jun 2019 23:18:33 +0000
afancontrol (2.0.0~b4-1) unstable; urgency=medium
* Fix Arduino connection recovery not working
* Fantest: fix arduino pins being asked when they equal 0
-- Kostya Esmukov <kostya@esmukov.ru> Thu, 02 May 2019 11:55:29 +0000
afancontrol (2.0.0~b3-1) unstable; urgency=medium
* Manager: remove a redundant processing of the fans which are absent in mappings
* Fans: fix a bug when a single failing fan would prevent other fans' speed change
* afancontrol daemon: remove the `--daemon` switch (it doesn't work correctly)
* Config parser: strip spaces around fan name and speed modifier in mappings
-- Kostya Esmukov <kostya@esmukov.ru> Wed, 01 May 2019 12:40:13 +0000
afancontrol (2.0.0~b2-1) unstable; urgency=medium
* Fix hddtemp not expanding glob
-- Kostya Esmukov <kostya@esmukov.ru> Mon, 29 Apr 2019 19:04:42 +0000
afancontrol (2.0.0~b1-1) unstable; urgency=medium
* Initial release
-- Kostya Esmukov <kostya@esmukov.ru> Sun, 28 Apr 2019 11:58:16 +0000

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

38
debian/control vendored Normal file
View File

@@ -0,0 +1,38 @@
Source: afancontrol
Section: utils
Priority: optional
Maintainer: Kostya Esmukov <kostya@esmukov.ru>
Build-Depends: debhelper (>= 9),
dh-python,
dh-systemd,
python3-all,
python3-setuptools
Build-Depends-Indep: python3-pytest,
python3-requests,
python3-click,
python3-prometheus-client (>= 0.1.0),
python3-serial
Standards-Version: 3.9.8
Homepage: https://github.com/KostyaEsmukov/afancontrol
X-Python3-Version: >= 3.5
#Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python3-afancontrol.git
#Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python3-afancontrol.git/
#Testsuite: autopkgtest-pkg-python
Package: afancontrol
Architecture: all
Depends: ${python3:Depends},
${misc:Depends},
hddtemp,
lm-sensors,
python3-click,
python3-pkg-resources,
python3-prometheus-client (>= 0.1.0),
python3-serial
Suggests: freeipmi-tools,
Description: Advanced Fan Control program (Python 3)
afancontrol is an Advanced Fan Control program, which controls PWM
fans according to the current temperatures of the system components.
.
This package installs the library for Python 3.

33
debian/copyright vendored Normal file
View File

@@ -0,0 +1,33 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: afancontrol
Source: https://github.com/KostyaEsmukov/afancontrol
Files-Excluded: *.pyc
Files: *
Copyright: 2019 Kostya Esmukov <kostya@esmukov.ru>
License: Expat
Files: debian/*
Copyright: 2019 Kostya Esmukov <kostya@esmukov.ru>
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

2
debian/install vendored Normal file
View File

@@ -0,0 +1,2 @@
pkg/afancontrol.conf /etc/afancontrol
pkg/afancontrol.service /lib/systemd/system

View File

@@ -0,0 +1,15 @@
The files in the data_files list are already installed by the deb
package, so they need not to be installed by the Python package.
Index: afancontrol/setup.py
===================================================================
--- afancontrol.orig/setup.py
+++ afancontrol/setup.py
@@ -9,8 +9,4 @@ with open("src/afancontrol/__init__.py",
setup(
version=version,
- data_files=[
- ("etc/afancontrol", ["pkg/afancontrol.conf"]),
- ("etc/systemd/system", ["pkg/afancontrol.service"]),
- ],
)

1
debian/patches/series vendored Normal file
View File

@@ -0,0 +1 @@
remove-setup-py-data-files.patch

12
debian/rules vendored Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/make -f
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export PYTHONWARNINGS=d
export PYBUILD_NAME=afancontrol
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS={dir}/tests/
%:
dh $@ --with systemd,python3 --buildsystem=pybuild

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/options vendored Normal file
View File

@@ -0,0 +1 @@
extend-diff-ignore = "^[^/]*[.]egg-info/"

3
debian/watch vendored Normal file
View File

@@ -0,0 +1,3 @@
version=3
opts=uversionmangle=s/(rc|a|b|c)/~$1/,pgpsigurlmangle=s/$/.asc/ \
https://pypi.debian.net/afancontrol/afancontrol-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))