diff options
author | William Grzybowski <wg@FreeBSD.org> | 2014-08-08 01:19:07 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2014-08-08 01:19:07 +0000 |
commit | fc2a931701ddd1c54294aca397050926e8f58db7 (patch) | |
tree | 57af4f1bc1d318c89f832489b34ec912e5e6313d /sysutils/py-power | |
parent | 16b76c5b3f20180ebc01a60e6ba87aa1f03aedec (diff) |
Notes
Diffstat (limited to 'sysutils/py-power')
-rw-r--r-- | sysutils/py-power/Makefile | 18 | ||||
-rw-r--r-- | sysutils/py-power/distinfo | 2 | ||||
-rw-r--r-- | sysutils/py-power/pkg-descr | 5 |
3 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/py-power/Makefile b/sysutils/py-power/Makefile new file mode 100644 index 000000000000..e3734148b7ad --- /dev/null +++ b/sysutils/py-power/Makefile @@ -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> diff --git a/sysutils/py-power/distinfo b/sysutils/py-power/distinfo new file mode 100644 index 000000000000..dc1a7105fab4 --- /dev/null +++ b/sysutils/py-power/distinfo @@ -0,0 +1,2 @@ +SHA256 (power-1.3.tar.gz) = 0e4bcf083f6f7ec1568ed1db552f7a922e0ef99259e7b04177c3027cfb7014c0 +SIZE (power-1.3.tar.gz) = 9615 diff --git a/sysutils/py-power/pkg-descr b/sysutils/py-power/pkg-descr new file mode 100644 index 000000000000..c7aa5fddfe7e --- /dev/null +++ b/sysutils/py-power/pkg-descr @@ -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 |