update to py-metar-0.10
This commit is contained in:
parent
406d198305
commit
5a89264b0f
@ -1,8 +1,8 @@
|
|||||||
# $OpenBSD: Makefile,v 1.3 2004/07/30 08:49:47 xsa Exp $
|
# $OpenBSD: Makefile,v 1.4 2004/08/02 20:59:38 xsa Exp $
|
||||||
|
|
||||||
COMMENT= "Python module to access the NOAA's METAR weather reports"
|
COMMENT= "Python module to access the NOAA's METAR weather reports"
|
||||||
|
|
||||||
DISTNAME= pymetar-0.9
|
DISTNAME= pymetar-0.10
|
||||||
PKGNAME= ${DISTNAME:S/py/py-/}
|
PKGNAME= ${DISTNAME:S/py/py-/}
|
||||||
CATEGORIES= astro
|
CATEGORIES= astro
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ MODULES= python
|
|||||||
NO_REGRESS= Yes
|
NO_REGRESS= Yes
|
||||||
|
|
||||||
pre-build:
|
pre-build:
|
||||||
cp ${WRKSRC}/bin/pymet2.py ${WRKSRC}/bin/pymet2
|
cp ${WRKSRC}/bin/weather.py ${WRKSRC}/bin/pymet
|
||||||
@perl -pi -e 's,bin/pymet2.py,bin/pymet2,g' ${WRKSRC}/setup.py
|
@perl -pi -e 's,bin/weather.py,bin/pymet,g' ${WRKSRC}/setup.py
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
MD5 (pymetar-0.9.tar.gz) = 17a9acb1cba6c6a5d1bccd04190e5e9a
|
MD5 (pymetar-0.10.tar.gz) = 9d5613785dc60103f7d2b37ece216098
|
||||||
RMD160 (pymetar-0.9.tar.gz) = a5ff7219ecfed3b2dbf3c3a97e7406b3bb3c85a2
|
RMD160 (pymetar-0.10.tar.gz) = 1ee5f12175d8679e331649b74925f79d3a12290a
|
||||||
SHA1 (pymetar-0.9.tar.gz) = 5aa1b562d87b6e9072f1a64acc3cd9a052bdd719
|
SHA1 (pymetar-0.10.tar.gz) = 0b753c3aa0e6bd6b322cca0da0a9a7a10049f957
|
||||||
|
13
astro/py-metar/patches/patch-setup_py
Normal file
13
astro/py-metar/patches/patch-setup_py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
$OpenBSD: patch-setup_py,v 1.1 2004/08/02 20:59:38 xsa Exp $
|
||||||
|
--- setup.py.orig Mon Aug 2 12:15:19 2004
|
||||||
|
+++ setup.py Mon Aug 2 22:55:43 2004
|
||||||
|
@@ -26,6 +26,7 @@ setup(name = "pymetar", version = pymeta
|
||||||
|
packages= [ "" ],
|
||||||
|
py_modules=["pymetar"],
|
||||||
|
scripts = [ "bin/weather.py" ],
|
||||||
|
- data_files = [("share/doc/pymetar-%s/"%pymetar.__version__,
|
||||||
|
- ['README', 'COPYING', 'THANKS', 'TODO', 'bin/example.py', 'librarydoc.txt'])]
|
||||||
|
+ data_files = [("share/doc/py-metar",
|
||||||
|
+ ['README', 'COPYING', 'THANKS', 'TODO', 'librarydoc.txt']),
|
||||||
|
+ ("share/examples/py-metar", ['bin/example.py'])]
|
||||||
|
)
|
@ -6,6 +6,4 @@ To find a station ID, visit http://www.nws.noaa.gov/tg/siteloc.shtml
|
|||||||
For instance, "Belgium/Bruxelles National" has the EBBR ID so a common
|
For instance, "Belgium/Bruxelles National" has the EBBR ID so a common
|
||||||
usage of pymet2 would be:
|
usage of pymet2 would be:
|
||||||
|
|
||||||
$ pymet2 EBBR
|
$ pymet EBBR
|
||||||
|
|
||||||
The default ID taken if none supplied in the command line is NZCM.
|
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/02/03 18:23:20 xsa Exp $
|
@comment $OpenBSD: PLIST,v 1.2 2004/08/02 20:59:38 xsa Exp $
|
||||||
bin/pymet2
|
bin/pymet
|
||||||
lib/python${MODPY_VERSION}/site-packages/pymetar.py
|
lib/python${MODPY_VERSION}/site-packages/pymetar.py
|
||||||
lib/python${MODPY_VERSION}/site-packages/pymetar.pyc
|
lib/python${MODPY_VERSION}/site-packages/pymetar.pyc
|
||||||
|
share/doc/py-metar/
|
||||||
|
share/doc/py-metar/COPYING
|
||||||
|
share/doc/py-metar/README
|
||||||
|
share/doc/py-metar/THANKS
|
||||||
|
share/doc/py-metar/TODO
|
||||||
|
share/doc/py-metar/librarydoc.txt
|
||||||
|
share/examples/py-metar/
|
||||||
|
share/examples/py-metar/example.py
|
||||||
|
Loading…
Reference in New Issue
Block a user