svn commit: r402210 - head/sysutils/py-dlipower

Warner Losh imp at FreeBSD.org
Sun Nov 22 01:09:51 UTC 2015


Author: imp
Date: Sun Nov 22 01:09:49 2015
New Revision: 402210
URL: https://svnweb.freebsd.org/changeset/ports/402210

Log:
  Create dlipower, a python-based control program for Data Logger Inc's
  various web-based power strips.

Added:
  head/sysutils/py-dlipower/
  head/sysutils/py-dlipower/Makefile   (contents, props changed)
  head/sysutils/py-dlipower/distinfo   (contents, props changed)
  head/sysutils/py-dlipower/pkg-descr   (contents, props changed)

Added: head/sysutils/py-dlipower/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-dlipower/Makefile	Sun Nov 22 01:09:49 2015	(r402210)
@@ -0,0 +1,27 @@
+# Created by: M. Warner Losh <imp at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	dlipower
+PORTVERSION=	20151118
+CATEGORIES=	sysutils python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	imp at FreeBSD.org
+COMMENT=	CLI interface to Digital Logger's (DLI) Power Strips
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.0:${PORTSDIR}/www/py-beautifulsoup \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.0:${PORTSDIR}/www/py-requests
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dwighthubbard
+GH_PROJECT=	python-dlipower
+GH_TAGNAME=	9c3bb94
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/sysutils/py-dlipower/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-dlipower/distinfo	Sun Nov 22 01:09:49 2015	(r402210)
@@ -0,0 +1,2 @@
+SHA256 (dwighthubbard-python-dlipower-20151118-9c3bb94_GH0.tar.gz) = aeeb36d5ae497f31bbfb3b09149f56c3d47889f3d00ffed879ea5d852c904ce2
+SIZE (dwighthubbard-python-dlipower-20151118-9c3bb94_GH0.tar.gz) = 19810

Added: head/sysutils/py-dlipower/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-dlipower/pkg-descr	Sun Nov 22 01:09:49 2015	(r402210)
@@ -0,0 +1,10 @@
+This is a python module and a script to mange the Digital Loggers Web
+Power switch.
+
+The module provides a python class named PowerSwitch that allows
+managing the web power switch from python programs.
+
+When run as a script this acts as a command line utility to manage the
+DLI Power switch.
+
+WWW: https://github.com/dwighthubbard/python-dlipower


More information about the svn-ports-all mailing list