1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

sysutils/py-liquidctl: Update to 1.12.1

- Switch to DISTVERSION
 - Use pep517 build
 - Add pytest
 - Take maintainership

ChangeLog: https://github.com/liquidctl/liquidctl/blob/main/CHANGELOG.md
This commit is contained in:
Nuno Teixeira 2023-06-24 21:35:14 +01:00
parent 7711e7088d
commit 40623911ff
3 changed files with 11 additions and 14 deletions

View File

@ -1,24 +1,28 @@
PORTNAME= liquidctl
PORTVERSION= 1.10.0
DISTVERSION= 1.12.1
CATEGORIES= sysutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Cross-platform tool and drivers for liquid coolers and other devices
WWW= https://pypi.org/project/liquidctl/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorlog>=0:devel/py-colorlog@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}crcmod>0:devel/py-crcmod@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docopt>=0:devel/py-docopt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hidapi>=0.10.1:comms/py-hidapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1656914659
SHA256 (liquidctl-1.10.0.tar.gz) = f9dc1dacaf1d3a44b80000baac490b44c5fa7443159bd8d2ef4dbb1af49cc7ba
SIZE (liquidctl-1.10.0.tar.gz) = 1807672
TIMESTAMP = 1687635433
SHA256 (liquidctl-1.12.1.tar.gz) = 3f98b8400c9cd3e47925cafbe34b9d7a51705bf85ce1ec8d95d107a360f6f29e
SIZE (liquidctl-1.12.1.tar.gz) = 1842721

View File

@ -1,7 +0,0 @@
--- setup.py.orig 2022-04-09 15:13:54 UTC
+++ setup.py
@@ -0,0 +1,4 @@
+from setuptools import setup
+
+if __name__ == "__main__":
+ setup()