From nobody Sun Jul 21 16:26:33 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WRphB0QmVz5RmgX; Sun, 21 Jul 2024 16:26:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRph9719Tz4q53; Sun, 21 Jul 2024 16:26:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721579194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pIcwso+VqZziBcpIi2bMlyCRXBhvNDgTpVhM2MTOk4E=; b=TVsNi21uPn9VX60q2n4PdUa5Cv1mpWY2BHRCsbJKeE9lr/yxeM6O0Hmb3jRtegKH5+N480 kU6CYR0iZtbw5kJtuoxBLAaRAX7ip+KtlaWcWNnHFjf43jEnI0503K8cE3ipaKneOeZxIT BCbBy97WDwqsxj8uUGL48VdCKm6Enyp5xmddClERnXYNbUdetBUWPMKLZ1NdniNK5AA9sV cPZTOCgKd0k1N71gVHh/FiRTSDou3TeZtOGjTuXt7pCST5SV0183Z8tRTtoPvrAOj8Qz5O ROOU+Cu0Y8MIDjeW8AEbV2O2tRCRJrrJcS+jMGdLmW5er04hvcYsdSXqLdY28g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721579194; a=rsa-sha256; cv=none; b=QydhX8OIUdegmtRPzizOb81flMMBTd5erTyRjYoY7nSnBjWR90dbpJ3XW8fiu+aBl8M0Nb VTlQeVwihXi7cTIaN1IjGHs44AzKLI3h652t8ZLn2gkD/zX9aQjJKKSOMZcXYgeLl/Pvz+ 8gP7ZTrUtqhDwtY7KO7aHd2GDlEH8DXdyKjrUWg96tXk1ZoIRE6jWVhq849k8qco9xYIPR VSYSPFjw+u6sADwt5B/cFotjp4o23OGzsEcEPHecX4ePa1Luo0O2H/UyV+r5wfjr0Q+8Jg fjKuU20WE01WaMmwfaZ9pruOm4WItFGC5jsv+4JP5fxEsq8qaOnqjSs5fZaL2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721579194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pIcwso+VqZziBcpIi2bMlyCRXBhvNDgTpVhM2MTOk4E=; b=Hr5+ylmfWw7oQxp9HNS56p7RW4bQSTUKBbdQC6VDVYMYi2b+JPrzn3EETUD1Hde5YuMYc0 b/67zA0wq5dHQLZecR6XoXpReqDfddUE9+P7QbuzcFoSICw1txeBlHZtXyNbC9q+N8cwra hZVJPhUjjyYq814SRGmEuGGBI0kbbsQLd0VAojlWSHQcd3D+VsEWIIYpMvm0d2jupGwLvV TxevoQ0Q3ijj0pwK7gJq2Cpcos9uckqGXRZcpt5pc1u+SuOvjmTt+frL/tygil8XJCvXoM 2LPFy9O/ThTCzKrv98aqb/2wo5tfbjuJoP6yIIZJKLiHsb60aQPVPB3VDZUgmg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WRph96V0dz161m; Sun, 21 Jul 2024 16:26:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46LGQXVK045599; Sun, 21 Jul 2024 16:26:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46LGQXYG045596; Sun, 21 Jul 2024 16:26:33 GMT (envelope-from git) Date: Sun, 21 Jul 2024 16:26:33 GMT Message-Id: <202407211626.46LGQXYG045596@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ryan Steinmetz Subject: git: a683636597d3 - main - net-mgmt/py-pypowerwall: Update to 0.10.8 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a683636597d314b9db9025f8c780450c9e510d8c Auto-Submitted: auto-generated The branch main has been updated by zi: URL: https://cgit.FreeBSD.org/ports/commit/?id=a683636597d314b9db9025f8c780450c9e510d8c commit a683636597d314b9db9025f8c780450c9e510d8c Author: Ryan Steinmetz AuthorDate: 2024-07-21 16:26:25 +0000 Commit: Ryan Steinmetz CommitDate: 2024-07-21 16:26:25 +0000 net-mgmt/py-pypowerwall: Update to 0.10.8 --- net-mgmt/py-pypowerwall/Makefile | 11 ++++++++--- net-mgmt/py-pypowerwall/distinfo | 6 +++--- net-mgmt/py-pypowerwall/files/pypowerwall_proxy.in | 5 ++++- net-mgmt/py-pypowerwall/pkg-plist | 4 ++++ 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/net-mgmt/py-pypowerwall/Makefile b/net-mgmt/py-pypowerwall/Makefile index a78a6333ee0c..e6630c2a3836 100644 --- a/net-mgmt/py-pypowerwall/Makefile +++ b/net-mgmt/py-pypowerwall/Makefile @@ -1,5 +1,5 @@ PORTNAME= pypowerwall -PORTVERSION= 0.7.12 +PORTVERSION= 0.10.8 DISTVERSIONPREFIX= v CATEGORIES= net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -29,8 +29,13 @@ GH_ACCOUNT= jasonacox # disable cloud support for the moment (additional deps needed--teslapy) post-patch: @${REINPLACE_CMD} -E -e '/teslapy/d' ${WRKSRC}/setup.py - @${RM} ${WRKSRC}/pypowerwall/cloud.py - @${TOUCH} ${WRKSRC}/pypowerwall/cloud.py + @${REINPLACE_CMD} -E \ + -e '/PyPowerwallCloud/d' \ + -e '/pypowerwall_cloud/d' \ + ${WRKSRC}/pypowerwall/__main__.py \ + ${WRKSRC}/pypowerwall/__init__.py + @${RM} ${WRKSRC}/pypowerwall/cloud/pypowerwall_cloud.py + @${TOUCH} ${WRKSRC}/pypowerwall/cloud/pypowerwall_cloud.py post-install: @${MKDIR} ${STAGEDIR}${DATADIR} diff --git a/net-mgmt/py-pypowerwall/distinfo b/net-mgmt/py-pypowerwall/distinfo index 3e47647f65aa..97217f9bc7ae 100644 --- a/net-mgmt/py-pypowerwall/distinfo +++ b/net-mgmt/py-pypowerwall/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711718902 -SHA256 (jasonacox-pypowerwall-v0.7.12_GH0.tar.gz) = aafa12ef1ec1e889a01fc25812e3c6c907ef34c6a743ec0c99eb81ea22c50d27 -SIZE (jasonacox-pypowerwall-v0.7.12_GH0.tar.gz) = 2451373 +TIMESTAMP = 1721576944 +SHA256 (jasonacox-pypowerwall-v0.10.8_GH0.tar.gz) = 008971d79f59d1e63598989dfdde6072f95537d03322b061b669b67aa6d45e45 +SIZE (jasonacox-pypowerwall-v0.10.8_GH0.tar.gz) = 2531870 diff --git a/net-mgmt/py-pypowerwall/files/pypowerwall_proxy.in b/net-mgmt/py-pypowerwall/files/pypowerwall_proxy.in index 63a244323f8f..1f4b93b715bc 100644 --- a/net-mgmt/py-pypowerwall/files/pypowerwall_proxy.in +++ b/net-mgmt/py-pypowerwall/files/pypowerwall_proxy.in @@ -23,6 +23,8 @@ # Default is "". # pypowerwall_proxy_timezone (string): Set timezone that pypowerwall_proxy will use # Default is "America/New_York". +# pypowerwall_proxy_cachefile (string): Set path to cachefile hat pypowerwall_proxy will use +# Default is "/var/tmp/.pypowerwall_cache". . /etc/rc.subr @@ -40,11 +42,12 @@ load_rc_config $name : ${pypowerwall_proxy_timezone:="America/New_York"} : ${pypowerwall_proxy_password:=""} : ${pypowerwall_proxy_port:="8675"} +: ${pypowerwall_proxy_cachefile:="/var/tmp/.pypowerwall_cache"} pidfile=/var/run/pypowerwall_proxy.pid command="/usr/sbin/daemon" pypowerwall_proxy_command="%%DATADIR%%/server.py" -command_args="-u ${pypowerwall_proxy_username} -rP ${pidfile} -S -t ${name} -T ${name} /usr/bin/env PW_EMAIL=${pypowerwall_proxy_email} PW_PASSWORD=${pypowerwall_proxy_password} PW_TIMEZONE=${pypowerwall_proxy_timezone} PW_HOST=${pypowerwall_proxy_host} PW_BIND_ADDRESS=${pypowerwall_proxy_listen} PW_PORT=${pypowerwall_proxy_port} ${pypowerwall_proxy_command}" +command_args="-u ${pypowerwall_proxy_username} -rP ${pidfile} -S -t ${name} -T ${name} /usr/bin/env PW_EMAIL=${pypowerwall_proxy_email} PW_PASSWORD=${pypowerwall_proxy_password} PW_TIMEZONE=${pypowerwall_proxy_timezone} PW_HOST=${pypowerwall_proxy_host} PW_BIND_ADDRESS=${pypowerwall_proxy_listen} PW_PORT=${pypowerwall_proxy_port} PW_CACHE_FILE=${pypowerwall_proxy_cachefile} ${pypowerwall_proxy_command}" load_rc_config $name run_rc_command "$1" diff --git a/net-mgmt/py-pypowerwall/pkg-plist b/net-mgmt/py-pypowerwall/pkg-plist index 5b3b395032c7..6d67fbd36fe7 100644 --- a/net-mgmt/py-pypowerwall/pkg-plist +++ b/net-mgmt/py-pypowerwall/pkg-plist @@ -1,3 +1,7 @@ +@comment %%DATADIR%%/beta.txt +@comment %%DATADIR%%/requirements.txt +@comment %%DATADIR%%/upload-beta.sh +@comment %%DATADIR%%/Dockerfile.beta %%DATADIR%%/HELP.md %%DATADIR%%/README.md %%DATADIR%%/RELEASE.md