aboutsummaryrefslogtreecommitdiff
path: root/astro/py-metar
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-29 19:46:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-29 19:46:07 +0000
commitabd6b7819c5149992ab44a5f7cf3259fedd682ae (patch)
tree279154d8c73cbb4a9bd67b5d24ad59957f978c14 /astro/py-metar
parent8931507aaad004da20056385188b2bd315421428 (diff)
downloadports-abd6b7819c5149992ab44a5f7cf3259fedd682ae.tar.gz
ports-abd6b7819c5149992ab44a5f7cf3259fedd682ae.zip
Notes
Diffstat (limited to 'astro/py-metar')
-rw-r--r--astro/py-metar/Makefile19
-rw-r--r--astro/py-metar/distinfo3
-rw-r--r--astro/py-metar/pkg-descr12
3 files changed, 34 insertions, 0 deletions
diff --git a/astro/py-metar/Makefile b/astro/py-metar/Makefile
new file mode 100644
index 000000000000..21d9492e06d9
--- /dev/null
+++ b/astro/py-metar/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= metar
+PORTVERSION= 1.5.0
+CATEGORIES= astro python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Parse METAR-coded weather reports
+
+LICENSE= MIT
+
+NO_ARCH= yes
+USE_PYTHON= autoplist concurrent distutils
+USES= python
+
+.include <bsd.port.mk>
diff --git a/astro/py-metar/distinfo b/astro/py-metar/distinfo
new file mode 100644
index 000000000000..54319d4300ea
--- /dev/null
+++ b/astro/py-metar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1524959591
+SHA256 (metar-1.5.0.tar.gz) = 1a1cc2047b7fe0fd3444ad0fb4d432c2950bc67e9904f29cc4349270802c287a
+SIZE (metar-1.5.0.tar.gz) = 24058
diff --git a/astro/py-metar/pkg-descr b/astro/py-metar/pkg-descr
new file mode 100644
index 000000000000..1f1616163526
--- /dev/null
+++ b/astro/py-metar/pkg-descr
@@ -0,0 +1,12 @@
+Metar is a python package for interpreting METAR and SPECI weather reports.
+
+This module extracts the data recorded in the main-body groups of reports that
+follow the WMO spec or the US conventions, except for the runway state and trend
+groups, which are parsed but ignored. The most useful remark groups defined in
+the US spec are parsed, as well, such as the cumulative precipitation, min/max
+temperature, peak wind and sea-level pressure groups. No other regional
+conventions are formally supported, but a large number of variant formats found
+in international reports are accepted.
+
+WWW: https://pypi.org/project/metar/
+WWW: https://github.com/tomp/python-metar