diff --git a/net-mgmt/py-pypowerwall/Makefile b/net-mgmt/py-pypowerwall/Makefile index c37785498f66..457993740ad4 100644 --- a/net-mgmt/py-pypowerwall/Makefile +++ b/net-mgmt/py-pypowerwall/Makefile @@ -1,46 +1,46 @@ PORTNAME= pypowerwall -PORTVERSION= 0.10.8 -PORTREVISION= 1 +PORTVERSION= 0.14.10 DISTVERSIONPREFIX= v CATEGORIES= net-mgmt python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= zi@FreeBSD.org COMMENT= Python interface for Tesla Powerwall and solar power data WWW= https://github.com/jasonacox/pypowerwall LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>0:devel/py-googleapis-common-protos@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>0:devel/py-googleapis-common-protos@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} USES= python shebangfix USE_PYTHON= autoplist distutils SHEBANG_FILES= proxy/server.py proxy/transform.py +NO_ARCH= yes 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 @${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} @${RM} ${WRKSRC}/proxy/Dockerfile (cd ${WRKSRC}/proxy && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include diff --git a/net-mgmt/py-pypowerwall/distinfo b/net-mgmt/py-pypowerwall/distinfo index 97217f9bc7ae..bbee55cf9cf6 100644 --- a/net-mgmt/py-pypowerwall/distinfo +++ b/net-mgmt/py-pypowerwall/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1721576944 -SHA256 (jasonacox-pypowerwall-v0.10.8_GH0.tar.gz) = 008971d79f59d1e63598989dfdde6072f95537d03322b061b669b67aa6d45e45 -SIZE (jasonacox-pypowerwall-v0.10.8_GH0.tar.gz) = 2531870 +TIMESTAMP = 1774449110 +SHA256 (jasonacox-pypowerwall-v0.14.10_GH0.tar.gz) = 0fc1255849b5051aecf58e554132c2b56b6be896a433120ae1cb8853d606d984 +SIZE (jasonacox-pypowerwall-v0.14.10_GH0.tar.gz) = 4982283 diff --git a/net-mgmt/py-pypowerwall/pkg-plist b/net-mgmt/py-pypowerwall/pkg-plist index 6d67fbd36fe7..5f2f9a75eb5c 100644 --- a/net-mgmt/py-pypowerwall/pkg-plist +++ b/net-mgmt/py-pypowerwall/pkg-plist @@ -1,84 +1,91 @@ @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 @comment %%DATADIR%%/localhost.pem @mode 555 %%DATADIR%%/server.py @mode +%%DATADIR%%/API.md +%%DATADIR%%/__init__.py +%%DATADIR%%/perf_test.py +%%DATADIR%%/tests/__init__.py +%%DATADIR%%/tests/test_api_endpoints.py +%%DATADIR%%/tests/test_csv_endpoints.py %%DATADIR%%/transform.py -%%DATADIR%%/web/012955c70685614a5639d326f41890bd.png -%%DATADIR%%/web/1.17c71172308436a079d1.js -%%DATADIR%%/web/124f233cfa9945f861dcaca7acedd308.otf -%%DATADIR%%/web/230aeae00823cd3b622d093948d9c433.png -%%DATADIR%%/web/2bf15a1686c7a1bf7b577337a07d7049.otf -%%DATADIR%%/web/39.17c71172308436a079d1.js -%%DATADIR%%/web/40.17c71172308436a079d1.js -%%DATADIR%%/web/448c34a56d699c29117adc64c43affeb.woff2 -%%DATADIR%%/web/4e28cc8f2bdf3ba640331daa2c453341.png -%%DATADIR%%/web/653969a51632a4df33358a39d7012f79.otf -%%DATADIR%%/web/722c5f898bbca8b2eb3fce0287688326.otf -%%DATADIR%%/web/86a6894da889a3db781418529403290f.otf -%%DATADIR%%/web/89889688147bd7575d6327160d64e760.svg -%%DATADIR%%/web/89aec2cc0b804667e95b1adc02e1ac4a.otf %%DATADIR%%/web/LICENSE -%%DATADIR%%/web/a3b0d611359e6fa8356cd88aa9035268.otf -%%DATADIR%%/web/ac2944015a17576924af7c56d88751cb.otf -%%DATADIR%%/web/app.css -%%DATADIR%%/web/app.js -%%DATADIR%%/web/b8d72cb0ef934ba1fe847c692d9dfed1.otf -%%DATADIR%%/web/bceda3fae660177ae570735feec62811.otf -%%DATADIR%%/web/befdfda70624c396169873b05de57f8a.otf -%%DATADIR%%/web/black.js %%DATADIR%%/web/bogus/api.auth.toggle.supported.json %%DATADIR%%/web/bogus/api.customer.json %%DATADIR%%/web/bogus/api.customer.registration.json %%DATADIR%%/web/bogus/api.installer.json %%DATADIR%%/web/bogus/api.meters.aggregates.json %%DATADIR%%/web/bogus/api.meters.json %%DATADIR%%/web/bogus/api.meters.readings.json %%DATADIR%%/web/bogus/api.meters.site.json %%DATADIR%%/web/bogus/api.meters.solar.json %%DATADIR%%/web/bogus/api.networks.json %%DATADIR%%/web/bogus/api.operation.json %%DATADIR%%/web/bogus/api.powerwalls.json %%DATADIR%%/web/bogus/api.site_info.grid_codes.json %%DATADIR%%/web/bogus/api.site_info.json %%DATADIR%%/web/bogus/api.site_info.site_name.json %%DATADIR%%/web/bogus/api.sitemaster.json %%DATADIR%%/web/bogus/api.solars.brands.json %%DATADIR%%/web/bogus/api.solars.json %%DATADIR%%/web/bogus/api.status.json %%DATADIR%%/web/bogus/api.synchrometer.ct_voltage_references.json %%DATADIR%%/web/bogus/api.system.networks.json %%DATADIR%%/web/bogus/api.system.update.status.json %%DATADIR%%/web/bogus/api.system_status.grid_faults.json %%DATADIR%%/web/bogus/api.system_status.grid_status.json %%DATADIR%%/web/bogus/api.system_status.grid_status.json-offline %%DATADIR%%/web/bogus/api.system_status.grid_status.json-transition %%DATADIR%%/web/bogus/api.system_status.json %%DATADIR%%/web/bogus/api.system_status.soe.json %%DATADIR%%/web/bogus/api.troubleshooting.problems.json %%DATADIR%%/web/box.png -%%DATADIR%%/web/cb0da8a8999c06735455bf5056a5cd78.png -%%DATADIR%%/web/clear.js -%%DATADIR%%/web/d859fee2eba0e67c75c4c92e719d0630.otf -%%DATADIR%%/web/dakboard.js -%%DATADIR%%/web/e19c20e966bde501f94e41cd0322dbe8.otf -%%DATADIR%%/web/ec6b35b07448e1624cb09323b5fb6e32.otf -%%DATADIR%%/web/ec89c09b066f57efc7687540c998845b.otf -%%DATADIR%%/web/eca1317ee8a99162d0d0e2df77330cec.otf %%DATADIR%%/web/example.html -%%DATADIR%%/web/f4769f9bdb7466be65088239c12046d1.eot %%DATADIR%%/web/favicon-16x16.png %%DATADIR%%/web/favicon-32x32.png %%DATADIR%%/web/favicon.ico -%%DATADIR%%/web/grafana-dark.js -%%DATADIR%%/web/grafana.js %%DATADIR%%/web/index.html -%%DATADIR%%/web/solar.js -%%DATADIR%%/web/vendor.js -%%DATADIR%%/web/white.js +%%DATADIR%%/web/viz-static/012955c70685614a5639d326f41890bd.png +%%DATADIR%%/web/viz-static/1.17c71172308436a079d1.js +%%DATADIR%%/web/viz-static/124f233cfa9945f861dcaca7acedd308.otf +%%DATADIR%%/web/viz-static/230aeae00823cd3b622d093948d9c433.png +%%DATADIR%%/web/viz-static/2bf15a1686c7a1bf7b577337a07d7049.otf +%%DATADIR%%/web/viz-static/2cd211ee063a3608ab501624f326d61e.png +%%DATADIR%%/web/viz-static/39.17c71172308436a079d1.js +%%DATADIR%%/web/viz-static/40.17c71172308436a079d1.js +%%DATADIR%%/web/viz-static/448c34a56d699c29117adc64c43affeb.woff2 +%%DATADIR%%/web/viz-static/4e28cc8f2bdf3ba640331daa2c453341.png +%%DATADIR%%/web/viz-static/653969a51632a4df33358a39d7012f79.otf +%%DATADIR%%/web/viz-static/722c5f898bbca8b2eb3fce0287688326.otf +%%DATADIR%%/web/viz-static/86a6894da889a3db781418529403290f.otf +%%DATADIR%%/web/viz-static/89889688147bd7575d6327160d64e760.svg +%%DATADIR%%/web/viz-static/89aec2cc0b804667e95b1adc02e1ac4a.otf +%%DATADIR%%/web/viz-static/a3b0d611359e6fa8356cd88aa9035268.otf +%%DATADIR%%/web/viz-static/ac2944015a17576924af7c56d88751cb.otf +%%DATADIR%%/web/viz-static/app.css +%%DATADIR%%/web/viz-static/app.js +%%DATADIR%%/web/viz-static/b8d72cb0ef934ba1fe847c692d9dfed1.otf +%%DATADIR%%/web/viz-static/bceda3fae660177ae570735feec62811.otf +%%DATADIR%%/web/viz-static/befdfda70624c396169873b05de57f8a.otf +%%DATADIR%%/web/viz-static/black.js +%%DATADIR%%/web/viz-static/cb0da8a8999c06735455bf5056a5cd78.png +%%DATADIR%%/web/viz-static/clear.js +%%DATADIR%%/web/viz-static/d859fee2eba0e67c75c4c92e719d0630.otf +%%DATADIR%%/web/viz-static/dakboard.js +%%DATADIR%%/web/viz-static/e19c20e966bde501f94e41cd0322dbe8.otf +%%DATADIR%%/web/viz-static/ec6b35b07448e1624cb09323b5fb6e32.otf +%%DATADIR%%/web/viz-static/ec89c09b066f57efc7687540c998845b.otf +%%DATADIR%%/web/viz-static/eca1317ee8a99162d0d0e2df77330cec.otf +%%DATADIR%%/web/viz-static/f4769f9bdb7466be65088239c12046d1.eot +%%DATADIR%%/web/viz-static/grafana-dark.js +%%DATADIR%%/web/viz-static/grafana.js +%%DATADIR%%/web/viz-static/solar.js +%%DATADIR%%/web/viz-static/vendor.js +%%DATADIR%%/web/viz-static/white.js