svn commit: r364335 - in head/sysutils: . py-power
William Grzybowski
wg at FreeBSD.org
Fri Aug 8 01:19:08 UTC 2014
Author: wg
Date: Fri Aug 8 01:19:07 2014
New Revision: 364335
URL: http://svnweb.freebsd.org/changeset/ports/364335
QAT: https://qat.redports.org/buildarchive/r364335/
Log:
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
Added:
head/sysutils/py-power/
head/sysutils/py-power/Makefile (contents, props changed)
head/sysutils/py-power/distinfo (contents, props changed)
head/sysutils/py-power/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Thu Aug 7 23:58:42 2014 (r364334)
+++ head/sysutils/Makefile Fri Aug 8 01:19:07 2014 (r364335)
@@ -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
Added: head/sysutils/py-power/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-power/Makefile Fri Aug 8 01:19:07 2014 (r364335)
@@ -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 at 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>
Added: head/sysutils/py-power/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-power/distinfo Fri Aug 8 01:19:07 2014 (r364335)
@@ -0,0 +1,2 @@
+SHA256 (power-1.3.tar.gz) = 0e4bcf083f6f7ec1568ed1db552f7a922e0ef99259e7b04177c3027cfb7014c0
+SIZE (power-1.3.tar.gz) = 9615
Added: head/sysutils/py-power/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/py-power/pkg-descr Fri Aug 8 01:19:07 2014 (r364335)
@@ -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
More information about the svn-ports-all
mailing list