From owner-svn-ports-all@FreeBSD.ORG Sun Jun 21 05:00:12 2015 Return-Path: Delivered-To: svn-ports-all@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32859C52; Sun, 21 Jun 2015 05:00:12 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 20A3AA11; Sun, 21 Jun 2015 05:00:12 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5L50BKh001191; Sun, 21 Jun 2015 05:00:11 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5L50BoV001188; Sun, 21 Jun 2015 05:00:11 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201506210500.t5L50BoV001188@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sun, 21 Jun 2015 05:00:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390182 - in head/devel/py-virtualenv: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2015 05:00:12 -0000 Author: koobs Date: Sun Jun 21 05:00:10 2015 New Revision: 390182 URL: https://svnweb.freebsd.org/changeset/ports/390182 Log: devel/py-virtualenv: Update to 13.0.3 - Update to 13.0.3 - Update TEST_DEPENDS - USE_GITHUB to get the test suite, since the sdist doesnt (yet) include it [1] - Temporarily patch out versioned console_script (virtualenv) until USE_PYTHON=concurrent supports more granularity (coming soon) - Add USE_PYTHON=concurrent support to virtualenv can be used for multiple python versioned - Patch setup.py to fix test command invocation. Report upstream. [2] - Tweak regression-test target to use the canonical setup.py variable Changes: https://virtualenv.pypa.io/en/latest/changes.html [1] https://github.com/pypa/virtualenv/issues/714 [2] https://github.com/pypa/virtualenv/pull/773 Differential Revision: https://reviews.freebsd.org/D2703 Reviewed by: nivit (maintainer) Approved by: nivit (maintainer) Added: head/devel/py-virtualenv/files/ head/devel/py-virtualenv/files/patch-setup.py (contents, props changed) Modified: head/devel/py-virtualenv/Makefile head/devel/py-virtualenv/distinfo Modified: head/devel/py-virtualenv/Makefile ============================================================================== --- head/devel/py-virtualenv/Makefile Sun Jun 21 03:33:49 2015 (r390181) +++ head/devel/py-virtualenv/Makefile Sun Jun 21 05:00:10 2015 (r390182) @@ -1,10 +1,8 @@ # $FreeBSD$ PORTNAME= virtualenv -PORTVERSION= 12.0.7 -PORTREVISION= 0 +PORTVERSION= 13.0.3 CATEGORIES= devel python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org @@ -12,15 +10,18 @@ COMMENT= Tool for creating isolated Pyth LICENSE= MIT -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose:${PORTSDIR}/devel/py-nose \ - ${PYTHON_PKGNAMEPREFIX}mock:${PORTSDIR}/devel/py-mock +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \ + ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx USES= python -USE_PYTHON= autoplist distutils +USE_GITHUB= yes +USE_PYTHON= autoplist concurrent distutils + +GH_ACCOUNT= pypa .include @@ -36,6 +37,6 @@ post-install: .endif regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Modified: head/devel/py-virtualenv/distinfo ============================================================================== --- head/devel/py-virtualenv/distinfo Sun Jun 21 03:33:49 2015 (r390181) +++ head/devel/py-virtualenv/distinfo Sun Jun 21 05:00:10 2015 (r390182) @@ -1,2 +1,2 @@ -SHA256 (virtualenv-12.0.7.tar.gz) = d681db1766cdc8aa1b37eb18252c264b775f971166c2bf658a9618c1f3d28741 -SIZE (virtualenv-12.0.7.tar.gz) = 1829757 +SHA256 (pypa-virtualenv-13.0.3_GH0.tar.gz) = 5b9ae6a5417173c7a1441ac85d462ce4e1b308bd410dd5aa89694b98b323f7af +SIZE (pypa-virtualenv-13.0.3_GH0.tar.gz) = 1711711 Added: head/devel/py-virtualenv/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-virtualenv/files/patch-setup.py Sun Jun 21 05:00:10 2015 (r390182) @@ -0,0 +1,24 @@ +From 1f137150f8d4e01386c8c8ffacdcf5e556cea427 Mon Sep 17 00:00:00 2001 +Date: Sun, 21 Jun 2015 14:52:38 +1000 +Subject: [PATCH] Fix test command invocation causing ERROR +https://patch-diff.githubusercontent.com/raw/pypa/virtualenv/pull/773.patch + +--- setup.py.orig 2015-06-02 01:37:48 UTC ++++ setup.py +@@ -15,7 +15,7 @@ try: + + def initialize_options(self): + TestCommand.initialize_options(self) +- self.pytest_args = None ++ self.pytest_args = [] + + def finalize_options(self): + TestCommand.finalize_options(self) +@@ -32,7 +32,6 @@ try: + 'entry_points': { + 'console_scripts': [ + 'virtualenv=virtualenv:main', +- 'virtualenv-%s.%s=virtualenv:main' % sys.version_info[:2] + ], + }, + 'zip_safe': False,