Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2024 19:33:53 GMT
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 42fc20620294 - main - net-mgmt/py-pypowerwall: Update to v0.7.10
Message-ID:  <202403161933.42GJXrRo001441@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by zi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42fc206202946b0e493ad9218685591280f69a2d

commit 42fc206202946b0e493ad9218685591280f69a2d
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2024-03-16 19:33:43 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2024-03-16 19:33:43 +0000

    net-mgmt/py-pypowerwall: Update to v0.7.10
---
 net-mgmt/py-pypowerwall/Makefile  | 10 ++++-
 net-mgmt/py-pypowerwall/distinfo  |  6 +--
 net-mgmt/py-pypowerwall/pkg-plist | 79 +++++++++++++++++++++++++++++++++++----
 3 files changed, 83 insertions(+), 12 deletions(-)

diff --git a/net-mgmt/py-pypowerwall/Makefile b/net-mgmt/py-pypowerwall/Makefile
index b2130b438718..66d56765963a 100644
--- a/net-mgmt/py-pypowerwall/Makefile
+++ b/net-mgmt/py-pypowerwall/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pypowerwall
-PORTVERSION=	0.6.1
+PORTVERSION=	0.7.10
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net-mgmt python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,13 +19,19 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FL
 
 USES=		python shebangfix
 USE_PYTHON=	autoplist distutils
-SHEBANG_FILES=	proxy/server.py proxy/server-r.py
+SHEBANG_FILES=	proxy/server.py proxy/transform.py
 
 USE_RC_SUBR=	${PORTNAME}_proxy
 
 USE_GITHUB=	yes
 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
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	@${RM} ${WRKSRC}/proxy/Dockerfile
diff --git a/net-mgmt/py-pypowerwall/distinfo b/net-mgmt/py-pypowerwall/distinfo
index 714fa8fd0413..aff4ee88223d 100644
--- a/net-mgmt/py-pypowerwall/distinfo
+++ b/net-mgmt/py-pypowerwall/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678552679
-SHA256 (jasonacox-pypowerwall-v0.6.1_GH0.tar.gz) = 0bceb7c7971f4561ca6abac30c46c1b10a6c1725ccdc40e8a0eed4064847ff7a
-SIZE (jasonacox-pypowerwall-v0.6.1_GH0.tar.gz) = 197774
+TIMESTAMP = 1710615741
+SHA256 (jasonacox-pypowerwall-v0.7.10_GH0.tar.gz) = d723d88dc3dbfb05636d46ad7204f90314ab5f1d73e9ceea9917df6f1627c883
+SIZE (jasonacox-pypowerwall-v0.7.10_GH0.tar.gz) = 2447648
diff --git a/net-mgmt/py-pypowerwall/pkg-plist b/net-mgmt/py-pypowerwall/pkg-plist
index 58f13bdb6cf6..7d0170da84be 100644
--- a/net-mgmt/py-pypowerwall/pkg-plist
+++ b/net-mgmt/py-pypowerwall/pkg-plist
@@ -4,12 +4,77 @@
 @comment %%DATADIR%%/localhost.pem
 @mode 555
 %%DATADIR%%/server.py
-%%DATADIR%%/server-r.py
 @mode
 %%DATADIR%%/transform.py
-%%DATADIR%%/web/black.js
-%%DATADIR%%/web/clear.js
-%%DATADIR%%/web/dakboard.js
-%%DATADIR%%/web/example.html
-%%DATADIR%%/web/grafana.js
-%%DATADIR%%/web/white.js
+@comment %%DATADIR%%/web/012955c70685614a5639d326f41890bd.png
+@comment %%DATADIR%%/web/1.17c71172308436a079d1.js
+@comment %%DATADIR%%/web/124f233cfa9945f861dcaca7acedd308.otf
+@comment %%DATADIR%%/web/230aeae00823cd3b622d093948d9c433.png
+@comment %%DATADIR%%/web/2bf15a1686c7a1bf7b577337a07d7049.otf
+@comment %%DATADIR%%/web/39.17c71172308436a079d1.js
+@comment %%DATADIR%%/web/40.17c71172308436a079d1.js
+@comment %%DATADIR%%/web/448c34a56d699c29117adc64c43affeb.woff2
+@comment %%DATADIR%%/web/4e28cc8f2bdf3ba640331daa2c453341.png
+@comment %%DATADIR%%/web/653969a51632a4df33358a39d7012f79.otf
+@comment %%DATADIR%%/web/722c5f898bbca8b2eb3fce0287688326.otf
+@comment %%DATADIR%%/web/86a6894da889a3db781418529403290f.otf
+@comment %%DATADIR%%/web/89889688147bd7575d6327160d64e760.svg
+@comment %%DATADIR%%/web/89aec2cc0b804667e95b1adc02e1ac4a.otf
+@comment %%DATADIR%%/web/LICENSE
+@comment %%DATADIR%%/web/a3b0d611359e6fa8356cd88aa9035268.otf
+@comment %%DATADIR%%/web/ac2944015a17576924af7c56d88751cb.otf
+@comment %%DATADIR%%/web/app.css
+@comment %%DATADIR%%/web/app.js
+@comment %%DATADIR%%/web/b8d72cb0ef934ba1fe847c692d9dfed1.otf
+@comment %%DATADIR%%/web/bceda3fae660177ae570735feec62811.otf
+@comment %%DATADIR%%/web/befdfda70624c396169873b05de57f8a.otf
+@comment %%DATADIR%%/web/black.js
+@comment %%DATADIR%%/web/bogus/api.auth.toggle.supported.json
+@comment %%DATADIR%%/web/bogus/api.customer.json
+@comment %%DATADIR%%/web/bogus/api.customer.registration.json
+@comment %%DATADIR%%/web/bogus/api.installer.json
+@comment %%DATADIR%%/web/bogus/api.meters.aggregates.json
+@comment %%DATADIR%%/web/bogus/api.meters.json
+@comment %%DATADIR%%/web/bogus/api.meters.readings.json
+@comment %%DATADIR%%/web/bogus/api.meters.site.json
+@comment %%DATADIR%%/web/bogus/api.meters.solar.json
+@comment %%DATADIR%%/web/bogus/api.networks.json
+@comment %%DATADIR%%/web/bogus/api.operation.json
+@comment %%DATADIR%%/web/bogus/api.powerwalls.json
+@comment %%DATADIR%%/web/bogus/api.site_info.grid_codes.json
+@comment %%DATADIR%%/web/bogus/api.site_info.json
+@comment %%DATADIR%%/web/bogus/api.site_info.site_name.json
+@comment %%DATADIR%%/web/bogus/api.sitemaster.json
+@comment %%DATADIR%%/web/bogus/api.solars.brands.json
+@comment %%DATADIR%%/web/bogus/api.solars.json
+@comment %%DATADIR%%/web/bogus/api.status.json
+@comment %%DATADIR%%/web/bogus/api.synchrometer.ct_voltage_references.json
+@comment %%DATADIR%%/web/bogus/api.system.networks.json
+@comment %%DATADIR%%/web/bogus/api.system.update.status.json
+@comment %%DATADIR%%/web/bogus/api.system_status.grid_faults.json
+@comment %%DATADIR%%/web/bogus/api.system_status.grid_status.json
+@comment %%DATADIR%%/web/bogus/api.system_status.grid_status.json-offline
+@comment %%DATADIR%%/web/bogus/api.system_status.grid_status.json-transition
+@comment %%DATADIR%%/web/bogus/api.system_status.json
+@comment %%DATADIR%%/web/bogus/api.system_status.soe.json
+@comment %%DATADIR%%/web/bogus/api.troubleshooting.problems.json
+@comment %%DATADIR%%/web/box.png
+@comment %%DATADIR%%/web/cb0da8a8999c06735455bf5056a5cd78.png
+@comment %%DATADIR%%/web/clear.js
+@comment %%DATADIR%%/web/d859fee2eba0e67c75c4c92e719d0630.otf
+@comment %%DATADIR%%/web/dakboard.js
+@comment %%DATADIR%%/web/e19c20e966bde501f94e41cd0322dbe8.otf
+@comment %%DATADIR%%/web/ec6b35b07448e1624cb09323b5fb6e32.otf
+@comment %%DATADIR%%/web/ec89c09b066f57efc7687540c998845b.otf
+@comment %%DATADIR%%/web/eca1317ee8a99162d0d0e2df77330cec.otf
+@comment %%DATADIR%%/web/example.html
+@comment %%DATADIR%%/web/f4769f9bdb7466be65088239c12046d1.eot
+@comment %%DATADIR%%/web/favicon-16x16.png
+@comment %%DATADIR%%/web/favicon-32x32.png
+@comment %%DATADIR%%/web/favicon.ico
+@comment %%DATADIR%%/web/grafana-dark.js
+@comment %%DATADIR%%/web/grafana.js
+@comment %%DATADIR%%/web/index.html
+@comment %%DATADIR%%/web/solar.js
+@comment %%DATADIR%%/web/vendor.js
+@comment %%DATADIR%%/web/white.js



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