diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2008-12-04 10:36:29 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2008-12-04 10:36:29 +0000 |
commit | 3b4ade80b47f3182a8069e11f0328e1b6642075c (patch) | |
tree | a54bdafd600a664529356adbc0a43b9213f616d6 /astro | |
parent | Update to 0.8. (diff) |
Update to 0.14
PR: 128995
Submitted by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
Notes
Notes:
svn path=/head/; revision=223751
Diffstat (limited to 'astro')
-rw-r--r-- | astro/py-metar/Makefile | 17 | ||||
-rw-r--r-- | astro/py-metar/distinfo | 6 | ||||
-rw-r--r-- | astro/py-metar/pkg-plist | 11 |
3 files changed, 18 insertions, 16 deletions
diff --git a/astro/py-metar/Makefile b/astro/py-metar/Makefile index a6cf77a69a7b..f979656a5676 100644 --- a/astro/py-metar/Makefile +++ b/astro/py-metar/Makefile @@ -6,7 +6,7 @@ # PORTNAME= metar -PORTVERSION= 0.13 +PORTVERSION= 0.14 CATEGORIES= astro python geography MASTER_SITES= http://www.schwarzvogel.de/pkgs/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,6 +18,19 @@ COMMENT= Python module that provides access to NOAA's METAR weather reports USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= pymetar -PLIST_SUB= VER=${PORTVERSION} + +PLIST_FILES= bin/weather.py \ + %%PYTHON_SITELIBDIR%%/pymetar.py \ + %%PYTHON_SITELIBDIR%%/pymetar.pyc \ + %%PYTHON_SITELIBDIR%%/pymetar.pyo + +PORTDOCS= COPYING README THANKS librarydoc.txt + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} + +post-patch: + @${REINPLACE_CMD} \ + -e 's|"share/doc/pymetar-%s/"%pymetar.__version__|"${DOCSDIR}"|' \ + ${WRKSRC}/setup.py .include <bsd.port.mk> diff --git a/astro/py-metar/distinfo b/astro/py-metar/distinfo index f13853f93b49..a5c6bae4a6d2 100644 --- a/astro/py-metar/distinfo +++ b/astro/py-metar/distinfo @@ -1,3 +1,3 @@ -MD5 (pymetar-0.13.tar.gz) = 84b6737b101daf5647a60d0d93d7783a -SHA256 (pymetar-0.13.tar.gz) = 565b3e2cb203ab13b65b861adf4f9df5ed949874f1ba7f49e35cf50c95999f6d -SIZE (pymetar-0.13.tar.gz) = 20100 +MD5 (pymetar-0.14.tar.gz) = 024fb0b46c0cb8cf21d63c68d2014796 +SHA256 (pymetar-0.14.tar.gz) = 46d21122cd200099271e8377cf40c7a4dd005b0a3867a792632715de812c47fe +SIZE (pymetar-0.14.tar.gz) = 21722 diff --git a/astro/py-metar/pkg-plist b/astro/py-metar/pkg-plist deleted file mode 100644 index 71110ebec3f3..000000000000 --- a/astro/py-metar/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -bin/weather.py -%%PYTHON_SITELIBDIR%%/pymetar.py -%%PYTHON_SITELIBDIR%%/pymetar.pyc -%%PYTHON_SITELIBDIR%%/pymetar.pyo -share/doc/pymetar-%%VER%%/COPYING -share/doc/pymetar-%%VER%%/README -share/doc/pymetar-%%VER%%/THANKS -share/doc/pymetar-%%VER%%/TODO -share/doc/pymetar-%%VER%%/example.py -share/doc/pymetar-%%VER%%/librarydoc.txt -@dirrm share/doc/pymetar-%%VER%% |