Imported Upstream version 3.1.0

This commit is contained in:
Mario Fetka
2023-07-01 11:54:39 +02:00
parent 9f2d889ce3
commit 8a6603ece7
18 changed files with 142 additions and 111 deletions

View File

@@ -9,7 +9,7 @@ lint:
.PHONY: test
test:
coverage run -m py.test
coverage run -m pytest
coverage report
.PHONY: clean
@@ -49,15 +49,11 @@ check-docs:
deb-local: clean sdist
docker build -t afancontrol-debuild -f ./Dockerfile.debian .
docker run -it --rm \
-e DEBFULLNAME="`git config --global user.name`" \
-e DEBEMAIL="`git config --global user.email`" \
-v `pwd`/dist:/afancontrol/dist \
-v `pwd`/debian:/afancontrol/debian \
afancontrol-debuild sh -ex -c '\
tar xaf /afancontrol/dist/afancontrol-*.tar.gz --strip 1; \
dch -v `python3 setup.py --version` -b --distribution=unstable; \
debuild -us -uc -b; \
cp debian/changelog /afancontrol/debian/; \
cd ../; \
ls -alh; \
mkdir /afancontrol/dist/debian; \