From owner-svn-ports-head@freebsd.org Mon Aug 12 01:33:36 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5DE7BCAE4E; Mon, 12 Aug 2019 01:33:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 466JJw1kR6z4g6w; Mon, 12 Aug 2019 01:33:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1D0751F268; Mon, 12 Aug 2019 01:33:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7C1XZaW040265; Mon, 12 Aug 2019 01:33:35 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7C1XZJk040264; Mon, 12 Aug 2019 01:33:35 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201908120133.x7C1XZJk040264@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 12 Aug 2019 01:33:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508701 - head/devel/py-virtualenvwrapper X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/devel/py-virtualenvwrapper X-SVN-Commit-Revision: 508701 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2019 01:33:36 -0000 Author: koobs Date: Mon Aug 12 01:33:35 2019 New Revision: 508701 URL: https://svnweb.freebsd.org/changeset/ports/508701 Log: devel/py-virtualenvwrapper: Allow Python 3 builds virtualenvwrapper supports Python 3, remove unnecessary limitation on 2.7 accordingly. A dependency (sphinxcontrib-bitbucket) Python 3 build/run error was fixed in ports r508699, which is required by virtualenvwrapper for its DOCS option/build. While I'm here: - Level up ports compliance (NO_ARCH, USES/USE order) - Remove unecessary DOCS_VARS DOCSDIR override (concurrent does this) - Patch virtualenvwrapper command invocations (virtualenv, virtualenv-clone) to use Python version-specific filenames Approved by: portmgr (blanket(s): ports compliance, python compliance) MFH: 2019Q3 Modified: head/devel/py-virtualenvwrapper/Makefile Modified: head/devel/py-virtualenvwrapper/Makefile ============================================================================== --- head/devel/py-virtualenvwrapper/Makefile Mon Aug 12 01:14:45 2019 (r508700) +++ head/devel/py-virtualenvwrapper/Makefile Mon Aug 12 01:33:35 2019 (r508701) @@ -3,7 +3,7 @@ PORTNAME= virtualenvwrapper PORTVERSION= 4.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,20 +19,24 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stevedore>0:devel/ ${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}virtualenv-clone>0:devel/py-virtualenv-clone@${PY_FLAVOR} +# Actually 2.6-2.7,3.3-3.6 +USES= python +USE_PYTHON= autoplist concurrent distutils + OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-bitbucket>=1.0:textproc/py-sphinxcontrib-bitbucket@${PY_FLAVOR} +DOCS_VARS= PYDISTUTILS_BUILD_TARGET+=build_sphinx \ + PYDISTUTILS_BUILDARGS="-a -E" -USES= python:2.7 -USE_PYTHON= autoplist concurrent distutils +NO_ARCH= yes -DOCS_VARS= DOCSDIR=${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} \ - PYDISTUTILS_BUILD_TARGET+=build_sphinx \ - PYDISTUTILS_BUILDARGS="-a -E" - post-patch: - @${REINPLACE_CMD} -e 's|$$(command \\which python)|${PYTHON_CMD}|1' \ + @${REINPLACE_CMD} \ + -e 's|$$(command \\which python)|${PYTHON_CMD}|1' \ + -e 's|="virtualenv"|="virtualenv${UNIQUE_SUFFIX}"|1' \ + -e 's|="virtualenv-clone"|="virtualenv-clone${UNIQUE_SUFFIX}"|1' \ ${WRKSRC}/${PORTNAME}.sh post-patch-DOCS-on: