mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
sysutils/py-power
Python library that allows you get current power source type (AC, Battery or UPS), warning level (none, <22%, <10min) and remaining minutes. You can also observe changes of power source and remaining time. WWW: https://github.com/Kentzo/Power PR: 192494 Submitted by: cederom tlen pl
This commit is contained in:
parent
16b76c5b3f
commit
fc2a931701
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364335
@ -742,6 +742,7 @@
|
||||
SUBDIR += py-ploy_ezjail
|
||||
SUBDIR += py-ploy_fabric
|
||||
SUBDIR += py-plumbum
|
||||
SUBDIR += py-power
|
||||
SUBDIR += py-psutil
|
||||
SUBDIR += py-psutil121
|
||||
SUBDIR += py-pytsk
|
||||
|
18
sysutils/py-power/Makefile
Normal file
18
sysutils/py-power/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= power
|
||||
PORTVERSION= 1.3
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= https://github.com/Kentzo/Power/releases/download/v${PORTVERSION}/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= cederom@tlen.pl
|
||||
COMMENT= Cross-platform system power status information for Python
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/py-power/distinfo
Normal file
2
sysutils/py-power/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (power-1.3.tar.gz) = 0e4bcf083f6f7ec1568ed1db552f7a922e0ef99259e7b04177c3027cfb7014c0
|
||||
SIZE (power-1.3.tar.gz) = 9615
|
5
sysutils/py-power/pkg-descr
Normal file
5
sysutils/py-power/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Python library that allows you get current power source type (AC, Battery or
|
||||
UPS), warning level (none, <22%, <10min) and remaining minutes.
|
||||
You can also observe changes of power source and remaining time.
|
||||
|
||||
WWW: https://github.com/Kentzo/Power
|
Loading…
Reference in New Issue
Block a user