svn commit: r400732 - head/devel/py-virtualenvwrapper
Kubilay Kocak
koobs at FreeBSD.org
Wed Nov 4 09:57:32 UTC 2015
Author: koobs
Date: Wed Nov 4 09:57:30 2015
New Revision: 400732
URL: https://svnweb.freebsd.org/changeset/ports/400732
Log:
devel/py-virtualenvwrapper: Update to 4.7.1
- Update PORTVERSION and distinfo checksum (4.7.1)
- Remove *_DEPENDS versions (no longer version specific upstream)
- Add support for concurrent (Python 2/3) use
- Update sphinx docs output directory
- Convert all conditionals to options helpers
Approved by: nivit (maintainer)
Differential Revision: https://reviews.freebsd.org/D3539
Modified:
head/devel/py-virtualenvwrapper/Makefile
head/devel/py-virtualenvwrapper/distinfo
Modified: head/devel/py-virtualenvwrapper/Makefile
==============================================================================
--- head/devel/py-virtualenvwrapper/Makefile Wed Nov 4 08:43:43 2015 (r400731)
+++ head/devel/py-virtualenvwrapper/Makefile Wed Nov 4 09:57:30 2015 (r400732)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= virtualenvwrapper
-PORTVERSION= 4.3.2
+PORTVERSION= 4.7.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +13,10 @@ COMMENT= Set of extensions to virtualenv
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.5.19:${PORTSDIR}/devel/py-pbr
-RUN_DEPENDS= ${PKGNAMEPREFIX}stevedore>=0.3:${PORTSDIR}/devel/py-stevedore \
- ${PKGNAMEPREFIX}virtualenv>=1.4.8:${PORTSDIR}/devel/py-virtualenv \
- ${PKGNAMEPREFIX}virtualenv-clone>=0.2.4:${PORTSDIR}/devel/py-virtualenv-clone
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:${PORTSDIR}/devel/py-pbr
+RUN_DEPENDS= ${PKGNAMEPREFIX}stevedore>0:${PORTSDIR}/devel/py-stevedore \
+ ${PKGNAMEPREFIX}virtualenv>0:${PORTSDIR}/devel/py-virtualenv \
+ ${PKGNAMEPREFIX}virtualenv-clone>0:${PORTSDIR}/devel/py-virtualenv-clone
OPTIONS_DEFINE= DOCS
@@ -24,21 +24,18 @@ DOCS_BUILD_DEPENDS= sphinx-build:${PORTS
${PYTHON_PKGNAMEPREFIX}sphinxcontrib-bitbucket>=1.0:${PORTSDIR}/textproc/py-sphinxcontrib-bitbucket
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist concurrent distutils
-.include <bsd.port.pre.mk>
+DOCS_VARS= DOCSDIR=${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} \
+ PYDISTUTILS_BUILD_TARGET+=build_sphinx \
+ PYDISTUTILS_BUILDARGS="-a -E"
-.if ${PORT_OPTIONS:MDOCS}
-DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-PYDISTUTILS_BUILD_TARGET+= build_sphinx -a -E
-
-post-patch:
+post-patch-DOCS-on:
@${REINPLACE_CMD} -e 's|python setup.py|${PYTHON_CMD} setup.py|' \
${WRKSRC}/docs/source/conf.py
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.endif
+ @cd ${WRKSRC}/docs/build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/devel/py-virtualenvwrapper/distinfo
==============================================================================
--- head/devel/py-virtualenvwrapper/distinfo Wed Nov 4 08:43:43 2015 (r400731)
+++ head/devel/py-virtualenvwrapper/distinfo Wed Nov 4 09:57:30 2015 (r400732)
@@ -1,2 +1,2 @@
-SHA256 (virtualenvwrapper-4.3.2.tar.gz) = ee545ade2e6bc5433284388afde6ec6417a4d819ba7b0d65d0ce8c4d3fcc11fd
-SIZE (virtualenvwrapper-4.3.2.tar.gz) = 86495
+SHA256 (virtualenvwrapper-4.7.1.tar.gz) = 3bf73ede42a689adeedc8ac85662cb539665d3d029459bc8d3e6835ecd81ffde
+SIZE (virtualenvwrapper-4.7.1.tar.gz) = 89930
More information about the svn-ports-all
mailing list