diff options
Diffstat (limited to 'misc/py-pyowm/Makefile')
-rw-r--r-- | misc/py-pyowm/Makefile | 26 |
1 files changed, 26 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> |