Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2015 13:27:56 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Warner Losh <imp@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r402210 - head/sysutils/py-dlipower
Message-ID:  <5651282C.5020009@FreeBSD.org>
In-Reply-To: <201511220109.tAM19ne8049272@repo.freebsd.org>
References:  <201511220109.tAM19ne8049272@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/11/2015 12:09 PM, Warner Losh wrote:
> 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@FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME=	dlipower
> +PORTVERSION=	20151118
> +CATEGORIES=	sysutils python
> +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> +
> +MAINTAINER=	imp@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
> 

Since this exists in PyPI [1], references a version 0.7.117 (March
2015), it's probably worth asking the author for a new release.

<datestamp> doesn't appear to match the version format mentioned/used
elsewhere.

I'd also ask for proper upstream (github) repository 'tags' for each
version, at a minimum for current versions and going forward, so those
can be used instead of having to make versions up.

[1] https://pypi.python.org/pypi/dlipower



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5651282C.5020009>