Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2025 08:29:41 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: eea35404271c - main - misc/py-pyowm: New port: Python wrapper around OpenWeatherMap web APIs
Message-ID:  <202510060829.5968Tf7O042691@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit eea35404271c4791ba9bdf4a0d55293fcab1d6e5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-04 08:16:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-06 08:25:50 +0000

    misc/py-pyowm: New port: Python wrapper around OpenWeatherMap web APIs
---
 misc/Makefile           |  1 +
 misc/py-pyowm/Makefile  | 26 ++++++++++++++++++++++++++
 misc/py-pyowm/distinfo  |  3 +++
 misc/py-pyowm/pkg-descr |  3 +++
 4 files changed, 33 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 8e2331094070..c19991989023 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -541,6 +541,7 @@
     SUBDIR += py-pyfiglet
     SUBDIR += py-pykml
     SUBDIR += py-pymatreader
+    SUBDIR += py-pyowm
     SUBDIR += py-pypatent
     SUBDIR += py-pyprind
     SUBDIR += py-pyqir
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.


home | help

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