From owner-svn-ports-head@freebsd.org Sun Nov 22 02:56:17 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17A87A35AE1 for ; Sun, 22 Nov 2015 02:56:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x232.google.com (mail-qg0-x232.google.com [IPv6:2607:f8b0:400d:c04::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B851A1CAA for ; Sun, 22 Nov 2015 02:56:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qgeb1 with SMTP id b1so96918773qge.1 for ; Sat, 21 Nov 2015 18:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XCNmPe/rlAJTHlWSpiT49YO0OEQ7E7JIFq25p1t1hTQ=; b=y0lPrFbqNQpDUtJREvbR/bdu5+JJMBzeCJQBSpSB4D1+xqONI7qGsF89VNhBhFqcm6 LgnqYvMhqRWRdQdW2v9544bSWv//YpNfW9pWdL9Kr5RRw1KqGii0bRkEqIREFYVnoF1a 8uX+c7AeNqF/Dm2rHkA31JRQP0np9k/DfpaOtcTM+A4zci89kQeRT836K64h3KgGO11Q qgfp7KdmWo6of/GyqI2JwT4Yu9qf79cv8GEtRXlv6vZu2RYoM3b1AxiiJmIcK4jLDil6 ULz/pLSDWjQbIRrmq670WlO3xYZo9uyTjEx8KnwRvn+U0ZQX0c/SwhFGdeWOU+41Mn2n B13g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XCNmPe/rlAJTHlWSpiT49YO0OEQ7E7JIFq25p1t1hTQ=; b=T6P2JhR1aicMtZKJo26VbX7pZXwCijEkdWEJXEw8cJilcq3kqBEUXAX3fOehtGecZ+ b9wIuIZXP8ZbuCk8ndTukdk3EQp2Zf2FP5RgKVg0lXEpv6yUJCSkskDjtV0S0UuDK7mp Uwj4Pb4fdX1Wbb0hfkiAjZcnsqFnfTAOupJhoLX4nRVucH5xmTq1sPoB4QJx49UpbzT1 aWAYO1E4MKQJlYlL80Bnt6rqf/l1TdDo59EAe1F0/2bpSpoqjs3amza/H4fVMENHAfpm t4Rg+A1jC5JwR/DnN50meG8s9MmJgdE3kqNb2v/jOwESa8tLb+LUv9ezq4nC2ITv7TRk w9zA== X-Gm-Message-State: ALoCoQmVEMVzfqpq4AcUHc+3xjxfyrK3mNrI2OmG8a/wq0xZtjBIl4SGHAi3HcpHA+WPUOP8Bikp MIME-Version: 1.0 X-Received: by 10.140.250.70 with SMTP id v67mr22422763qhc.43.1448160975020; Sat, 21 Nov 2015 18:56:15 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Sat, 21 Nov 2015 18:56:14 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <5651282C.5020009@FreeBSD.org> References: <201511220109.tAM19ne8049272@repo.freebsd.org> <5651282C.5020009@FreeBSD.org> Date: Sat, 21 Nov 2015 19:56:14 -0700 X-Google-Sender-Auth: g3ZKxMprJ1Pqh1tFqXGvDBu5cZg Message-ID: Subject: Re: svn commit: r402210 - head/sysutils/py-dlipower From: Warner Losh To: koobs@freebsd.org Cc: Warner Losh , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2015 02:56:17 -0000 On Sat, Nov 21, 2015 at 7:27 PM, Kubilay Kocak wrote: > 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 > > +# $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 > > > > 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. > > doesn't appear to match the version format mentioned/used > elsewhere. > Maybe I'll just use the version from march. The changes since then aren't all that important for 2.7... Is there any issue with just switching to this version? > 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 > I can try. But the 0.7.117 version is fine. >Is also missing 'six' as a dependency, as per setup.py:install_requires: > >https://github.com/dwighthubbard/python-dlipower/blob/master/setup.py#L90 I wonder why i didn't fail for me. I'll add it. >Could probably do with USE_PYTHON=concurrent as well, to support >multiple python versions with correctly version suffixed console scripts [1] > >[1] >https://github.com/dwighthubbard/python-dlipower/blob/master/setup.py#L104 I'm not familiar with that. How important is that?