summaryrefslogtreecommitdiff
path: root/astro/py-pymetar
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-11 11:45:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-11 11:45:50 +0000
commitd0456c757215d6b295b2f089e37dd9d40c7f3b2a (patch)
tree2b83ab07f739003ac92f8e3e16b5677133a713af /astro/py-pymetar
parent- Add LICENSE (diff)
- Move astro/py-metar to astro/py-pymetar
- Add LICENSE_FILE
Notes
Notes: svn path=/head/; revision=403519
Diffstat (limited to 'astro/py-pymetar')
-rw-r--r--astro/py-pymetar/Makefile22
-rw-r--r--astro/py-pymetar/distinfo2
-rw-r--r--astro/py-pymetar/files/patch-setup.py11
-rw-r--r--astro/py-pymetar/pkg-descr5
4 files changed, 40 insertions, 0 deletions
diff --git a/astro/py-pymetar/Makefile b/astro/py-pymetar/Makefile
new file mode 100644
index 000000000000..f4bb73ed008f
--- /dev/null
+++ b/astro/py-pymetar/Makefile
@@ -0,0 +1,22 @@
+# Created by: Hye-Shik Chang <perky@fallin.lv>
+# $FreeBSD$
+
+PORTNAME= pymetar
+PORTVERSION= 0.20
+CATEGORIES= astro python geography
+MASTER_SITES= http://www.schwarzvogel.de/pkgs/ \
+ LOCAL/sunpoet
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python module that provides access to NOAA METAR weather reports
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USE_PYTHON= autoplist distutils
+USES= python:2 shebangfix
+
+SHEBANG_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/astro/py-pymetar/distinfo b/astro/py-pymetar/distinfo
new file mode 100644
index 000000000000..ce7c3068e103
--- /dev/null
+++ b/astro/py-pymetar/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pymetar-0.20.tar.gz) = bcbf3b08558a92c38553fb3b07bfd87b552e1270b8e37b08b3e6b262487abee7
+SIZE (pymetar-0.20.tar.gz) = 22738
diff --git a/astro/py-pymetar/files/patch-setup.py b/astro/py-pymetar/files/patch-setup.py
new file mode 100644
index 000000000000..4bbc4f22030c
--- /dev/null
+++ b/astro/py-pymetar/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2015-04-20 08:17:26 UTC
++++ setup.py
+@@ -26,7 +26,5 @@ setup(name="pymetar", version=pymetar.__
+ packages=[""],
+ py_modules=["pymetar"],
+ scripts=["bin/pymetar"],
+- data_files=[("share/doc/pymetar-%s" % pymetar.__version__,
+- ['README', 'COPYING', 'THANKS', 'librarydoc.txt']),
+- ("share/man/man1", ['pymetar.1'])]
++ data_files=[("man/man1", ['pymetar.1'])]
+ )
diff --git a/astro/py-pymetar/pkg-descr b/astro/py-pymetar/pkg-descr
new file mode 100644
index 000000000000..feef7d4ff479
--- /dev/null
+++ b/astro/py-pymetar/pkg-descr
@@ -0,0 +1,5 @@
+Pymetar is a python module and command line tool designed to fetch Metar
+reports from the NOAA (http://www.noaa.gov) and allow access to the
+included weather information.
+
+WWW: http://www.schwarzvogel.de/software-pymetar.shtml