Received: by mail.netbsd.org (Postfix, from userid 605) id A853085025; Thu, 5 Jul 2018 10:57:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9017E8501F for ; Thu, 5 Jul 2018 10:57:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id XWgt4GnxjDdl for ; Thu, 5 Jul 2018 10:57:20 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7406584ED8 for ; Thu, 5 Jul 2018 10:57:20 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6D95BFBEC; Thu, 5 Jul 2018 10:57:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_153078824082650" MIME-Version: 1.0 Date: Thu, 5 Jul 2018 10:57:20 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-tox To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20180705105720.6D95BFBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_153078824082650 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Thu Jul 5 10:57:20 UTC 2018 Modified Files: pkgsrc/devel/py-tox: Makefile distinfo Log Message: py-tox: updated to 3.0.0 3.0.0: Bugfixes Write directly to stdout buffer if possible to prevent str vs bytes issues fix 672 reporting to json file when skip-missing-interpreters option is used avoid Requested Python version (X.Y) not installed stderr output when a Python environment is looked up using the py Python launcher on Windows and the environment is not found installed on the system Fixed an issue where invocation of tox from the Python package, where invocation errors (failed actions) occur results in a change in the sys.stdout stream encoding in Python 3.x. New behaviour is that sys.stdout is reset back to its original encoding after invocation errors The reading of command output sometimes failed with IOError: [Errno 0] Error on Windows, this was fixed by using a simpler method to update the read buffers. (only affected rc releases) fix up tox.cmdline to be callable without args (only affected rc releases) Revert breaking change of tox.cmdline not callable with no args (only affected rc releases) fix 755 by reverting the cmdline import to the old location and changing the entry point instead Features tox displays exit code together with InvocationError Hint for possible signal upon InvocationError, on posix systems Add a -q option to progressively silence tox’s output. For each time you specify -q to tox, the output provided by tox reduces. This option allows you to see only your command output without the default verbosity of what tox is doing. This also counter-acts usage of -v. For example, running tox -v -q ... will provide you with the default verbosity. tox -vv -q is equivalent to tox -v. By @sigmavirus24 add support for negated factor conditions, e.g. !dev: production_log Headings like installed: will not be printed if there is no output to display after the :, unless verbosity is set. By @cryvate Allow spaces in command line options to pip in deps. Where previously only deps=-rreq.txt and deps=--requirement=req.txt worked, now also deps=-r req.txt and deps=--requirement req.txt work drop Python 2.6 and 3.3 support: setuptools dropped supporting these, and as we depend on it we’ll follow up with doing the same (use tox <= 2.9.1 if you still need this support) Add tox_runenvreport as a possible plugin, allowing the overriding of the default behaviour to execute a command to get the installed packages within a virtual environment Forward PROCESSOR_ARCHITECTURE by default on Windows to fix platform.machine(). To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-tox/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-tox/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_153078824082650 Content-Disposition: inline Content-Length: 2520 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-tox/Makefile diff -u pkgsrc/devel/py-tox/Makefile:1.7 pkgsrc/devel/py-tox/Makefile:1.8 --- pkgsrc/devel/py-tox/Makefile:1.7 Wed Oct 4 12:43:55 2017 +++ pkgsrc/devel/py-tox/Makefile Thu Jul 5 10:57:20 2018 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2017/10/04 12:43:55 adam Exp $ +# $NetBSD: Makefile,v 1.8 2018/07/05 10:57:20 adam Exp $ -DISTNAME= tox-2.9.1 +DISTNAME= tox-3.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/tox/} @@ -14,6 +14,11 @@ DEPENDS+= ${PYPKGPREFIX}-py>=1.4.17:../. DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.3.0<1.0:../../devel/py-pluggy DEPENDS+= ${PYPKGPREFIX}-virtualenv>=1.11.2:../../devel/py-virtualenv BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm +TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov +TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock +TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout +TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist USE_LANGUAGES= # none @@ -21,5 +26,8 @@ post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} tox tox${PYVERSSUFFIX} && \ ${MV} tox-quickstart tox-quickstart${PYVERSSUFFIX} || ${TRUE} +do-test: + cd ${WRKSRC} && pytest-${PYVERSSUFFIX} + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-tox/distinfo diff -u pkgsrc/devel/py-tox/distinfo:1.5 pkgsrc/devel/py-tox/distinfo:1.6 --- pkgsrc/devel/py-tox/distinfo:1.5 Wed Oct 4 12:43:55 2017 +++ pkgsrc/devel/py-tox/distinfo Thu Jul 5 10:57:20 2018 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2017/10/04 12:43:55 adam Exp $ +$NetBSD: distinfo,v 1.6 2018/07/05 10:57:20 adam Exp $ -SHA1 (tox-2.9.1.tar.gz) = 1ea1d5d8419f1e0b7994784c07438aed7f19f2f2 -RMD160 (tox-2.9.1.tar.gz) = 01efcff1cf86ea1a83f0af24583307f1689c2688 -SHA512 (tox-2.9.1.tar.gz) = ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066 -Size (tox-2.9.1.tar.gz) = 1855982 bytes +SHA1 (tox-3.0.0.tar.gz) = bd467ceee87cc53d614b747ee6a11cb9fe08ee91 +RMD160 (tox-3.0.0.tar.gz) = b9eda9e6d0ba59b9b5f9ca83ee6e94c4e67bba0b +SHA512 (tox-3.0.0.tar.gz) = 3bce42561a032b9d1bcc6086093ab79e2ba84ca55b4a6b646485ed3ec4a5b7349d8fc4e47758d2dd7998fc943824a99a251447e13b9ccc396b9d2d87f367f6cd +Size (tox-3.0.0.tar.gz) = 226055 bytes --_----------=_153078824082650--