diff options
author | nivit <nivit@FreeBSD.org> | 2018-07-16 17:45:09 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2018-07-16 17:45:09 +0800 |
commit | 442880fa0a592913f04cc772b1a79141fef3d765 (patch) | |
tree | 375f67ae1bdf630260eeadb09f5b111b70e498a9 | |
parent | 4200bdb39f03ae60149751f53786498c76581761 (diff) | |
download | freebsd-ports-gnome-442880fa0a592913f04cc772b1a79141fef3d765.tar.gz freebsd-ports-gnome-442880fa0a592913f04cc772b1a79141fef3d765.tar.zst freebsd-ports-gnome-442880fa0a592913f04cc772b1a79141fef3d765.zip |
- Update to 16.0.0
- Add NO_ARCH
- Use options helpers
Changes: https://virtualenv.pypa.io/en/stable/changes/
-rw-r--r-- | devel/py-virtualenv/Makefile | 24 | ||||
-rw-r--r-- | devel/py-virtualenv/distinfo | 6 |
2 files changed, 13 insertions, 17 deletions
diff --git a/devel/py-virtualenv/Makefile b/devel/py-virtualenv/Makefile index 4320322768a1..6ebaed73aead 100644 --- a/devel/py-virtualenv/Makefile +++ b/devel/py-virtualenv/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= virtualenv -PORTVERSION= 15.1.0 +PORTVERSION= 16.0.0 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,28 +13,24 @@ LICENSE= MIT TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} -OPTIONS_DEFINE= DOCS - DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx@${PY_FLAVOR} - -USES= python -USE_GITHUB= yes -USE_PYTHON= autoplist concurrent distutils +DOCS_PORTDOCS= * +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+=build_sphinx GH_ACCOUNT= pypa -.include <bsd.port.options.mk> +NO_ARCH= yes -.if ${PORT_OPTIONS:MDOCS} -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -PORTDOCS= * -PYDISTUTILS_BUILD_TARGET+= build_sphinx +OPTIONS_DEFINE= DOCS + +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist concurrent distutils -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -or -name objects.inv") -.endif regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test diff --git a/devel/py-virtualenv/distinfo b/devel/py-virtualenv/distinfo index 50674599dfce..a6e666caf444 100644 --- a/devel/py-virtualenv/distinfo +++ b/devel/py-virtualenv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1487413224 -SHA256 (pypa-virtualenv-15.1.0_GH0.tar.gz) = aea627d114a3863d6374c5a3fc3cdd08907e0ac951cf93b458e5ba5998c516de -SIZE (pypa-virtualenv-15.1.0_GH0.tar.gz) = 1865011 +TIMESTAMP = 1531728288 +SHA256 (pypa-virtualenv-16.0.0_GH0.tar.gz) = 5a597f845cf785d46c3ae39d6cb18ef0b6af4ca366da40682364f78f7fe00d22 +SIZE (pypa-virtualenv-16.0.0_GH0.tar.gz) = 1968312 |