aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py-pyowm
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /misc/py-pyowm
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'misc/py-pyowm')
-rw-r--r--misc/py-pyowm/Makefile26
-rw-r--r--misc/py-pyowm/distinfo3
-rw-r--r--misc/py-pyowm/pkg-descr3
3 files changed, 32 insertions, 0 deletions
diff --git a/misc/py-pyowm/Makefile b/misc/py-pyowm/Makefile
new file mode 100644
index 000000000000..5e82284ce815
--- /dev/null
+++ b/misc/py-pyowm/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= pyowm
+DISTVERSION= 3.5.0
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python wrapper around OpenWeatherMap web APIs
+WWW= https://pyowm.readthedocs.io/en/latest/ \
+ https://github.com/csparpa/pyowm
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geojson>0:devel/py-geojson@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pysocks>=1.7.1,<2:net/py-pysocks@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0,<3:www/py-requests@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+# tests as of 3.5.0: tests available but require network access and API keys, skipped for packaging
+
+.include <bsd.port.mk>
diff --git a/misc/py-pyowm/distinfo b/misc/py-pyowm/distinfo
new file mode 100644
index 000000000000..363416e8a8aa
--- /dev/null
+++ b/misc/py-pyowm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759556541
+SHA256 (pyowm-3.5.0.tar.gz) = 9a44d6d43941419a73fd9dbe16066ad8a25204ea906774fd5bf5b0ec52d2a1a4
+SIZE (pyowm-3.5.0.tar.gz) = 4516427
diff --git a/misc/py-pyowm/pkg-descr b/misc/py-pyowm/pkg-descr
new file mode 100644
index 000000000000..ba107f69359b
--- /dev/null
+++ b/misc/py-pyowm/pkg-descr
@@ -0,0 +1,3 @@
+PyOWM is a client Python wrapper library for OpenWeatherMap (OWM) web APIs.
+It allows quick and easy consumption of OWM data from Python applications
+via a simple object model and in a human-friendly fashion.