From 319e368afeb4ccbd11e28f29b5e70da490463753 Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Sun, 10 Apr 2016 09:37:11 +0000 Subject: [PATCH] - Update to 0.5.4 - Fix Python version - Make use of options helpers --- graphics/py-actdiag/Makefile | 20 ++++++++------------ graphics/py-actdiag/distinfo | 4 ++-- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/graphics/py-actdiag/Makefile b/graphics/py-actdiag/Makefile index 00b58d92e376..0ea7671e3129 100644 --- a/graphics/py-actdiag/Makefile +++ b/graphics/py-actdiag/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= actdiag -PORTVERSION= 0.5.3 +PORTVERSION= 0.5.4 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,10 +14,10 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PKGNAMEPREFIX}pillow>=2.2.1:graphics/py-pillow \ - ${PKGNAMEPREFIX}blockdiag>=1.4.1:graphics/py-blockdiag \ + ${PKGNAMEPREFIX}blockdiag>=1.5.0:graphics/py-blockdiag \ ${PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib -USES= python +USES= python:-3.4 USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} @@ -25,16 +25,12 @@ PORTDOCS= README.rst OPTIONS_DEFINE= DOCS -.include - -.if ${PYTHON_VER} == 3.1 -IGNORE= does not support in ${PYTHON_VERSION} -.endif - post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST} -.include +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/graphics/py-actdiag/distinfo b/graphics/py-actdiag/distinfo index c5182ea9fcf2..67517bcb9ac3 100644 --- a/graphics/py-actdiag/distinfo +++ b/graphics/py-actdiag/distinfo @@ -1,2 +1,2 @@ -SHA256 (actdiag-0.5.3.tar.gz) = caed06165657f38972835ca3ed8b132b09d0d91e1835e6d5dd9b3d90a78524ef -SIZE (actdiag-0.5.3.tar.gz) = 23803 +SHA256 (actdiag-0.5.4.tar.gz) = 983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af +SIZE (actdiag-0.5.4.tar.gz) = 2577258