aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-11-20 01:02:30 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-11-20 01:02:30 +0800
commita038e212a7036b7a55576251b5f057d8b4ee3a7c (patch)
tree2214ac7c5c8d2fb3ae450aa8a8df9358ed16a00c /astro
parentddf390aae11167153aa010fc405b9eb08055dd77 (diff)
downloadfreebsd-ports-gnome-a038e212a7036b7a55576251b5f057d8b4ee3a7c.tar.gz
freebsd-ports-gnome-a038e212a7036b7a55576251b5f057d8b4ee3a7c.tar.zst
freebsd-ports-gnome-a038e212a7036b7a55576251b5f057d8b4ee3a7c.zip
- Update to 2.3
Changes: http://fungi.yuggoth.org/weather/src/weather/NEWS
Diffstat (limited to 'astro')
-rw-r--r--astro/weather/Makefile11
-rw-r--r--astro/weather/distinfo5
2 files changed, 8 insertions, 8 deletions
diff --git a/astro/weather/Makefile b/astro/weather/Makefile
index 3d5f79ed8a98..bc86b77b57d6 100644
--- a/astro/weather/Makefile
+++ b/astro/weather/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= weather
-PORTVERSION= 2.0
-PORTREVISION= 1
+PORTVERSION= 2.3
CATEGORIES= astro python
MASTER_SITES= http://fungi.yuggoth.org/weather/src/ \
LOCAL/sunpoet
@@ -19,7 +18,7 @@ USES= python shebangfix tar:xz
PLIST_FILES= bin/${PORTNAME} \
%%PYTHON_SITELIBDIR%%/${PORTNAME}.py \
%%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.pyc \
- %%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.${PYOEXTENSION} \
+ %%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.${PYTHON_PYOEXTENSION} \
man/man1/${PORTNAME}.1.gz \
man/man5/${PORTNAME}rc.5.gz
PORTDATA= airports places stations zctas zones
@@ -37,9 +36,9 @@ PYCACHE_FILE= ${PORTNAME}.cpython-${PYTHON_SUFFIX}
.endif
.if ${PYTHON_REL} < 3500
-PYOEXTENSION= pyo
+PYTHON_PYOEXTENSION= pyo
.else
-PYOEXTENSION= opt-1.pyc
+PYTHON_PYOEXTENSION= opt-1.pyc
.endif
do-build:
@@ -51,7 +50,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PYTHON_SITELIBDIR}/
${INSTALL_DATA} ${WRKSRC}/${PYCACHE_DIR}${PYCACHE_FILE}.pyc ${STAGEDIR}${PYTHON_SITELIBDIR}/${PYCACHE_DIR}
- ${INSTALL_DATA} ${WRKSRC}/${PYCACHE_DIR}${PYCACHE_FILE}.${PYOEXTENSION} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PYCACHE_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PYCACHE_DIR}${PYCACHE_FILE}.${PYTHON_PYOEXTENSION} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PYCACHE_DIR}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}rc.5 ${STAGEDIR}${MANPREFIX}/man/man5/${PORTNAME}rc.5
${MKDIR} ${STAGEDIR}${DATADIR}/
diff --git a/astro/weather/distinfo b/astro/weather/distinfo
index d18d1d47423d..8d25ca44cb6a 100644
--- a/astro/weather/distinfo
+++ b/astro/weather/distinfo
@@ -1,2 +1,3 @@
-SHA256 (weather-2.0.tar.xz) = 807aff002d31cd81aeaae096981c28900323c405b8f7d36625d9c7e48719347a
-SIZE (weather-2.0.tar.xz) = 8928144
+TIMESTAMP = 1479551333
+SHA256 (weather-2.3.tar.xz) = 86148d2f1d59867f637f52558cc2a6b3280fac94df55c6e5af0ce37cc190d146
+SIZE (weather-2.3.tar.xz) = 7056760