diff options
Diffstat (limited to '')
-rw-r--r-- | misc/py-pyowm/Makefile | 26 | ||||
-rw-r--r-- | misc/py-pyowm/distinfo | 3 | ||||
-rw-r--r-- | misc/py-pyowm/pkg-descr | 3 |
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. |