diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2010-05-29 21:48:24 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2010-05-29 21:48:24 +0800 |
commit | ef8ef78c2f9e9cecc27f3ca4e91691cab816d24c (patch) | |
tree | e905f467dd584b6ee9ffb8f7b8c709b785d32cc4 | |
parent | b11ed2b4fa1513de0478a8ffb1163c911e9c2a9f (diff) | |
download | freebsd-ports-gnome-ef8ef78c2f9e9cecc27f3ca4e91691cab816d24c.tar.gz freebsd-ports-gnome-ef8ef78c2f9e9cecc27f3ca4e91691cab816d24c.tar.zst freebsd-ports-gnome-ef8ef78c2f9e9cecc27f3ca4e91691cab816d24c.zip |
- Update to 0.16
- Claim python version explicitly
- Pass maintainership to submitter
PR: ports/147186
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net>
-rw-r--r-- | astro/py-metar/Makefile | 29 | ||||
-rw-r--r-- | astro/py-metar/distinfo | 6 |
2 files changed, 19 insertions, 16 deletions
diff --git a/astro/py-metar/Makefile b/astro/py-metar/Makefile index 5e0866f05c2b..b89339433b61 100644 --- a/astro/py-metar/Makefile +++ b/astro/py-metar/Makefile @@ -6,30 +6,33 @@ # PORTNAME= metar -PORTVERSION= 0.14 +PORTVERSION= 0.16 CATEGORIES= astro python geography -MASTER_SITES= http://www.schwarzvogel.de/pkgs/ +MASTER_SITES= http://www.schwarzvogel.de/pkgs/ \ + http://sunpoet.net/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= pymetar-${PORTVERSION} +DISTNAME= ${REALPORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@sunpoet.net COMMENT= Python module that provides access to NOAA's METAR weather reports -USE_PYTHON= yes +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PYDISTUTILS_PKGNAME= ${REALPORTNAME} USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= pymetar - -PLIST_FILES= bin/weather.py \ - %%PYTHON_SITELIBDIR%%/pymetar.py \ - %%PYTHON_SITELIBDIR%%/pymetar.pyc \ - %%PYTHON_SITELIBDIR%%/pymetar.pyo +USE_PYTHON= -2.6 +PLIST_FILES= bin/${REALPORTNAME} \ + %%PYTHON_SITELIBDIR%%/${REALPORTNAME}.py \ + %%PYTHON_SITELIBDIR%%/${REALPORTNAME}.pyc \ + %%PYTHON_SITELIBDIR%%/${REALPORTNAME}.pyo PORTDOCS= COPYING README THANKS librarydoc.txt -DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +REALPORTNAME= pymetar post-patch: -.ifndef NOPORTDOCS + @${REINPLACE_CMD} -E '1 s|/usr/bin/(env *)?python|${PYTHON_CMD}|' \ + ${WRKSRC}/setup.py ${WRKSRC}/bin/${REALPORTNAME} +.if !defined(NOPORTDOCS) @${REINPLACE_CMD} \ -e 's|"share/doc/pymetar-%s/"%pymetar.__version__|"${DOCSDIR}"|' \ ${WRKSRC}/setup.py diff --git a/astro/py-metar/distinfo b/astro/py-metar/distinfo index a5c6bae4a6d2..c269d3b6cafe 100644 --- a/astro/py-metar/distinfo +++ b/astro/py-metar/distinfo @@ -1,3 +1,3 @@ -MD5 (pymetar-0.14.tar.gz) = 024fb0b46c0cb8cf21d63c68d2014796 -SHA256 (pymetar-0.14.tar.gz) = 46d21122cd200099271e8377cf40c7a4dd005b0a3867a792632715de812c47fe -SIZE (pymetar-0.14.tar.gz) = 21722 +MD5 (pymetar-0.16.tar.gz) = 6a054899484c13848da258e537ae545b +SHA256 (pymetar-0.16.tar.gz) = 315f62db08df5745792a0e3a903528a4c02c66378c6a627fdc79cfa6499a13dc +SIZE (pymetar-0.16.tar.gz) = 22653 |