Received: by mail.netbsd.org (Postfix, from userid 605) id E838184D6B; Sun, 7 Oct 2018 08:32:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 00D5B84D43 for ; Sun, 7 Oct 2018 08:32:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id yhJvl548ZkNk for ; Sun, 7 Oct 2018 08:32:23 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id A704E84CCC for ; Sun, 7 Oct 2018 08:32:23 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E1B9AFBEE; Sun, 7 Oct 2018 08:32:22 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_153890114298910" MIME-Version: 1.0 Date: Sun, 7 Oct 2018 08:32:22 +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: <20181007083222.E1B9AFBEE@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. --_----------=_153890114298910 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Sun Oct 7 08:32:22 UTC 2018 Modified Files: pkgsrc/devel/py-tox: ALTERNATIVES Makefile PLIST distinfo Log Message: py-tox: updated to 3.4.0 3.4.0: Bugfixes - add --exists-action w to default pip flags to handle better VCS dependencies - instead of assuming the Python version from the base python name ask the interpreter to reveal the version for the ignore_basepython_conflict flag - PEP-517 packaging fails with sdist already exists, fixed via ensuring the dist folder is empty before invoking the backend and pypa/setuptools Features - add commands_pre and commands_post that run before and after running the commands (setup runs always, commands only if setup suceeds, teardown always - all run until the first failing command) - pyproject.toml config support initially by just inline the tox.ini under tool.tox.legacy_tox_ini key; config source priority order is pyproject.toml, tox.ini and then setup.cfg - use the os environment variable TOX_SKIP_ENV to filter out tox environment names from the run list (set by envlist) - always set PIP_USER=0 (do not install into the user site package, but inside the virtual environment created) and PIP_NO_DEPS=0 (installing without dependencies can cause broken package installations) inside tox - tox will inject some environment variables that to indicate a command is running within tox: TOX_WORK_DIR env var is set to the tox work directory, TOX_ENV_NAME is set to the current running tox environment name, TOX_ENV_DIR is set to the current tox environments working dir - While running tox invokes various commands (such as building the package, pip installing dependencies and so on), these were printed in case they failed as Python arrays. Changed the representation to a shell command, allowing the users to quickly replicate/debug the failure on their own - skip missing interpreters value from the config file can now be overridden via the --skip-missing-interpreters cli flag - keep additional environments config order when listing them - allow injecting config value inside the ini file dependent of the fact that we're connected to an interactive shell or not - do not build sdist if skip install is specified for the envs to be run - when verbosity level increases above two start passing through verbosity flags to pip - when discovering the interpreter to use check if the tox host Python matches and use that if so - -vv will print out why a virtual environment is re-created whenever this operation is triggered Documentation - clarify that python and pip refer to the virtual environments executable - add Sphinx and mkdocs example of generating documentation via tox - specify that setup.cfg tox configuration needs to be inside the tox:tox namespace 3.3.0: Bugfixes - fix TOX_LIMITED_SHEBANG when running under python3 Features - PEP-517 _ source distribution support (create a .package virtual environment to perform build operations inside) - flit _ support via implementing PEP-517 - packaging now is exposed as a hook via tox_package(session, venv) Miscellaneous - Updated the VSTS build YAML to use the latest jobs and pools syntax To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-tox/ALTERNATIVES cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-tox/Makefile cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-tox/PLIST cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-tox/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_153890114298910 Content-Disposition: inline Content-Length: 4910 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-tox/ALTERNATIVES diff -u pkgsrc/devel/py-tox/ALTERNATIVES:1.1 pkgsrc/devel/py-tox/ALTERNATIVES:1.2 --- pkgsrc/devel/py-tox/ALTERNATIVES:1.1 Wed Oct 4 12:43:55 2017 +++ pkgsrc/devel/py-tox/ALTERNATIVES Sun Oct 7 08:32:22 2018 @@ -1,2 +1,2 @@ -bin/tox @PREFIX@/bin/tox@PYVERSSUFFIX@ -bin/tox-quickstart @PREFIX@/bin/tox-quickstart@PYVERSSUFFIX@ +bin/tox @PREFIX@/bin/tox-@PYVERSSUFFIX@ +bin/tox-quickstart @PREFIX@/bin/tox-quickstart-@PYVERSSUFFIX@ Index: pkgsrc/devel/py-tox/Makefile diff -u pkgsrc/devel/py-tox/Makefile:1.9 pkgsrc/devel/py-tox/Makefile:1.10 --- pkgsrc/devel/py-tox/Makefile:1.9 Fri Aug 17 07:16:35 2018 +++ pkgsrc/devel/py-tox/Makefile Sun Oct 7 08:32:22 2018 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2018/08/17 07:16:35 adam Exp $ +# $NetBSD: Makefile,v 1.10 2018/10/07 08:32:22 adam Exp $ -DISTNAME= tox-3.2.1 +DISTNAME= tox-3.4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/tox/} @@ -12,19 +12,23 @@ LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-py>=1.4.17:../../devel/py-py DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.3.0<1.0:../../devel/py-pluggy +DEPENDS+= ${PYPKGPREFIX}-setuptools>=30.0.0:../../devel/py-setuptools +DEPENDS+= ${PYPKGPREFIX}-six>=1.0.0:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-toml>=0.9.4:../../textproc/py-toml 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 +TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.5.1:../../devel/py-test-cov +TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.10.0:../../devel/py-test-mock +TEST_DEPENDS+= ${PYPKGPREFIX}-test-randomly>=1.2.3:../../devel/py-test-randomly +TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=1.3.0:../../devel/py-test-timeout +TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.22.2:../../devel/py-test-xdist USE_LANGUAGES= # none post-install: - cd ${DESTDIR}${PREFIX}/bin && ${MV} tox tox${PYVERSSUFFIX} && \ - ${MV} tox-quickstart tox-quickstart${PYVERSSUFFIX} || ${TRUE} + cd ${DESTDIR}${PREFIX}/bin && ${MV} tox tox-${PYVERSSUFFIX} && \ + ${MV} tox-quickstart tox-quickstart-${PYVERSSUFFIX} || ${TRUE} do-test: cd ${WRKSRC} && pytest-${PYVERSSUFFIX} Index: pkgsrc/devel/py-tox/PLIST diff -u pkgsrc/devel/py-tox/PLIST:1.3 pkgsrc/devel/py-tox/PLIST:1.4 --- pkgsrc/devel/py-tox/PLIST:1.3 Fri Aug 17 07:16:35 2018 +++ pkgsrc/devel/py-tox/PLIST Sun Oct 7 08:32:22 2018 @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.3 2018/08/17 07:16:35 adam Exp $ -bin/tox${PYVERSSUFFIX} -bin/tox-quickstart${PYVERSSUFFIX} +@comment $NetBSD: PLIST,v 1.4 2018/10/07 08:32:22 adam Exp $ +bin/tox-${PYVERSSUFFIX} +bin/tox-quickstart-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -34,12 +34,21 @@ ${PYSITELIB}/tox/hookspecs.pyo ${PYSITELIB}/tox/interpreters.py ${PYSITELIB}/tox/interpreters.pyc ${PYSITELIB}/tox/interpreters.pyo +${PYSITELIB}/tox/package.py +${PYSITELIB}/tox/package.pyc +${PYSITELIB}/tox/package.pyo ${PYSITELIB}/tox/result.py ${PYSITELIB}/tox/result.pyc ${PYSITELIB}/tox/result.pyo ${PYSITELIB}/tox/session.py ${PYSITELIB}/tox/session.pyc ${PYSITELIB}/tox/session.pyo +${PYSITELIB}/tox/util.py +${PYSITELIB}/tox/util.pyc +${PYSITELIB}/tox/util.pyo ${PYSITELIB}/tox/venv.py ${PYSITELIB}/tox/venv.pyc ${PYSITELIB}/tox/venv.pyo +${PYSITELIB}/tox/version.py +${PYSITELIB}/tox/version.pyc +${PYSITELIB}/tox/version.pyo Index: pkgsrc/devel/py-tox/distinfo diff -u pkgsrc/devel/py-tox/distinfo:1.7 pkgsrc/devel/py-tox/distinfo:1.8 --- pkgsrc/devel/py-tox/distinfo:1.7 Fri Aug 17 07:16:35 2018 +++ pkgsrc/devel/py-tox/distinfo Sun Oct 7 08:32:22 2018 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2018/08/17 07:16:35 adam Exp $ +$NetBSD: distinfo,v 1.8 2018/10/07 08:32:22 adam Exp $ -SHA1 (tox-3.2.1.tar.gz) = dae6c703fbd4860bc1906785d38096d55c219bd3 -RMD160 (tox-3.2.1.tar.gz) = e1f1b9ad6c8b39da6f45022a3e826f8689633314 -SHA512 (tox-3.2.1.tar.gz) = 79f5a1c8f6e818fbb8444754e3767d880fc1fdfe63b46c518d37440fe2b2f3ce572865aff83d9492c24486fded49893cc31bd9b11254bac4db507260304bc76f -Size (tox-3.2.1.tar.gz) = 268827 bytes +SHA1 (tox-3.4.0.tar.gz) = fcf479bb13bd7ccea86d20a74769fe3b9cbc78f6 +RMD160 (tox-3.4.0.tar.gz) = 73a4ce53b68774a5d484f815a3085ceae3048643 +SHA512 (tox-3.4.0.tar.gz) = c14364dffac50bece66f15545325d7912459e49979b37b48ff399610517a43a10a4c005f4ca5ec9481fb4140803a18be64f94838610e07d1e7a4b3e5df2a7d87 +Size (tox-3.4.0.tar.gz) = 287178 bytes --_----------=_153890114298910--