Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 09:45:09 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474723 - head/devel/py-virtualenv
Message-ID:  <201807160945.w6G9j9Dw087992@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Mon Jul 16 09:45:09 2018
New Revision: 474723
URL: https://svnweb.freebsd.org/changeset/ports/474723

Log:
  - Update to 16.0.0
  - Add NO_ARCH
  - Use options helpers
  
  Changes:	https://virtualenv.pypa.io/en/stable/changes/

Modified:
  head/devel/py-virtualenv/Makefile
  head/devel/py-virtualenv/distinfo

Modified: head/devel/py-virtualenv/Makefile
==============================================================================
--- head/devel/py-virtualenv/Makefile	Mon Jul 16 09:37:43 2018	(r474722)
+++ head/devel/py-virtualenv/Makefile	Mon Jul 16 09:45:09 2018	(r474723)
@@ -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}
+DOCS_PORTDOCS=	*
+DOCS_VARS=	PYDISTUTILS_BUILD_TARGET+=build_sphinx
 
-USES=		python
-USE_GITHUB=	yes
-USE_PYTHON=	autoplist concurrent distutils
-
 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
 
-post-install:
+USES=		python
+USE_GITHUB=	yes
+USE_PYTHON=	autoplist concurrent distutils
+
+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

Modified: head/devel/py-virtualenv/distinfo
==============================================================================
--- head/devel/py-virtualenv/distinfo	Mon Jul 16 09:37:43 2018	(r474722)
+++ head/devel/py-virtualenv/distinfo	Mon Jul 16 09:45:09 2018	(r474723)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807160945.w6G9j9Dw087992>