From 6a770926bc7869641978ee8058b32aa42093f70c Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Wed, 23 Dec 2020 11:37:00 +0300 Subject: [PATCH] devel/py-metno-locationforecast: add port Private patch. --- devel/py-metno-locationforecast/Makefile | 20 ++++++++++++++++++++ devel/py-metno-locationforecast/distinfo | 3 +++ devel/py-metno-locationforecast/pkg-descr | 13 +++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 devel/py-metno-locationforecast/Makefile create mode 100644 devel/py-metno-locationforecast/distinfo create mode 100644 devel/py-metno-locationforecast/pkg-descr diff --git a/devel/py-metno-locationforecast/Makefile b/devel/py-metno-locationforecast/Makefile new file mode 100644 index 000000000000..8fee3b759834 --- /dev/null +++ b/devel/py-metno-locationforecast/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= metno-locationforecast +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= A Python interface for MET Norway's Locationforecast 2.0 service + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +.include diff --git a/devel/py-metno-locationforecast/distinfo b/devel/py-metno-locationforecast/distinfo new file mode 100644 index 000000000000..63b66b67e920 --- /dev/null +++ b/devel/py-metno-locationforecast/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1606001071 +SHA256 (metno-locationforecast-1.0.0.tar.gz) = 03b140e1970bab945416d79769974d9f668775755419e0a26dd49cc6ee30fc37 +SIZE (metno-locationforecast-1.0.0.tar.gz) = 46993 diff --git a/devel/py-metno-locationforecast/pkg-descr b/devel/py-metno-locationforecast/pkg-descr new file mode 100644 index 000000000000..7dbf82942478 --- /dev/null +++ b/devel/py-metno-locationforecast/pkg-descr @@ -0,0 +1,13 @@ +MET Norway Location Forecast + +A Python interface for the MET Norway Locationforecast/2.0 service. +This is a free weather data service provided by the Norwegian +Meteorological Institute. + +Features + - Get weather data for anywhere in the world + - Automatically take care of caching data + - Helpful classes for managing forecast data + - Convert between units of measurement + +WWW: https://github.com/Rory-Sullivan/metno-locationforecast