diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-05-01 20:42:57 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-05-01 20:42:57 +0000 |
commit | 35dce6f3e8272ec631cc8c925d094cdb70999a44 (patch) | |
tree | 70f69d48d672e5bbbb4d1d130326e209d21b2112 /security/py-python-registry | |
parent | 4e57088e0b9d6055ba300e7499eea4c68bb94ad5 (diff) |
Notes
Diffstat (limited to 'security/py-python-registry')
-rw-r--r-- | security/py-python-registry/Makefile | 12 | ||||
-rw-r--r-- | security/py-python-registry/distinfo | 4 |
2 files changed, 11 insertions, 5 deletions
diff --git a/security/py-python-registry/Makefile b/security/py-python-registry/Makefile index 51ac7cabf6fd..009f85590801 100644 --- a/security/py-python-registry/Makefile +++ b/security/py-python-registry/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= python-registry -PORTVERSION= 1.0.1 +PORTVERSION= 1.0.3 CATEGORIES= security devel python MASTER_SITES= GH \ LOCAL/antoine @@ -16,7 +16,7 @@ LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= williballenthin GH_TAGNAME= v${PORTVERSION} -GH_COMMIT= 0817990 +GH_COMMIT= 24afb86 USES= shebangfix SHEBANG_FILES= samples/*.py @@ -31,6 +31,12 @@ OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 340 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:${PORTSDIR}/devel/py-enum34 +.endif + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.TXT ${WRKSRC}/CONTRIBUTORS.TXT ${WRKSRC}/README.txt \ @@ -38,4 +44,4 @@ post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/security/py-python-registry/distinfo b/security/py-python-registry/distinfo index c62fc0ed5d38..015f1f16cf81 100644 --- a/security/py-python-registry/distinfo +++ b/security/py-python-registry/distinfo @@ -1,2 +1,2 @@ -SHA256 (python-registry-1.0.1.tar.gz) = 0c4c857e4ed0617df8bdf2dd875f36163e8754df939e8402650214fb7dc07f03 -SIZE (python-registry-1.0.1.tar.gz) = 137118 +SHA256 (python-registry-1.0.3.tar.gz) = 6db4520d26fb3bc2c69f35a59aedc411ec95a1b42a845870b7ee619dd6534516 +SIZE (python-registry-1.0.3.tar.gz) = 125980 |