From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 018EB13835A for ; Tue, 28 Jul 2020 12:48:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B46D4E0923; Tue, 28 Jul 2020 12:48:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E93EE0922 for ; Tue, 28 Jul 2020 12:48:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D30A034F271 for ; Tue, 28 Jul 2020 12:48:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60D362F5 for ; Tue, 28 Jul 2020 12:48:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1595940523.0975ed387b97f63c65080990ab62a623d45b010f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tox/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tox/Manifest dev-python/tox/tox-3.18.1.ebuild X-VCS-Directories: dev-python/tox/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0975ed387b97f63c65080990ab62a623d45b010f X-VCS-Branch: master Date: Tue, 28 Jul 2020 12:48:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d255592-8d6f-4ea3-9061-57f4bd5e31cc X-Archives-Hash: b2609d8d251b990d47542c3b979a2a9b commit: 0975ed387b97f63c65080990ab62a623d45b010f Author: Michał Górny gentoo org> AuthorDate: Tue Jul 28 12:36:31 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 28 12:48:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0975ed38 dev-python/tox: Bump to 3.18.1 Signed-off-by: Michał Górny gentoo.org> dev-python/tox/Manifest | 1 + dev-python/tox/tox-3.18.1.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 97bbf3a6bfc..69139aa4ca8 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -4,3 +4,4 @@ DIST tox-3.16.1.tar.gz 294080 BLAKE2B 692ef3f498f78f239ecbb3f9ac5745462430a96bb6 DIST tox-3.17.0.tar.gz 294481 BLAKE2B a4fe4c94616d003f348b2c4a58276a93887f479a3727fac3734f998071a03cd3c8da2e3b1c3bc27f0695b9d596c6d966e6c591506ce1b6ebbb5b0826c3dc20b7 SHA512 0a04b1fde7a8f7eaa24823bba59dc25c3bc48c7159866f85131bb55c0adb61d21e8c5bf88598fbbd09de58bdc51cd740d256802549e3566565af400ef7e1e95e DIST tox-3.17.1.tar.gz 294492 BLAKE2B 1a2ed9a26ad366a1ae7343289b45a338a8d2a58c1b6df2aaf716a2e8bbcc1cbc797c70fb51665411cf1bb69243aa8415f7fb7c82d78afb2ffb7117e4ae75edad SHA512 b084d4552609c90d006573dc95d46d0b27cf53c40a54465040e3c625b5d33eb19f95f3fa488439f11029e30ca414ce4e9ed6793a44072023826bc1f4398aaeeb DIST tox-3.18.0.tar.gz 294769 BLAKE2B 0b5f13fb172bb4b91fdf6442cfa975319b0e1e5e8c873951bffe083d978d2fdfcd0d0832dc0d3b9ab6d61ad9f551d799db40803be4401a85e8063d2063b914ca SHA512 bb1fdb5b0e74d24f50b19b1508afd87cfb39b9f68780cd3da62ea75410b0fd30094bc8c3209ea7cb970b29e61a471ae093e0e919d77082c8700e44a7b344b1d0 +DIST tox-3.18.1.tar.gz 295279 BLAKE2B 0dfa9cbf90943fb73df69283850fef98ed9a8c9f16242dd880540e3a89b626c94bd7d5c78708581dd983b68e464f9fb2e1404a2f88f21961ff7c049af1bcac28 SHA512 0c991050dbc86d6f5c600040f1701f7639e735397513df869bb66f9d258ae6ca6c82e989df488bd3f37b6c3c8e6dce42330b885e596a70f63b70e32caab5cd09 diff --git a/dev-python/tox/tox-3.18.1.ebuild b/dev-python/tox/tox-3.18.1.ebuild new file mode 100644 index 00000000000..499658c518d --- /dev/null +++ b/dev-python/tox/tox-3.18.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# doc disabled because of missing deps in tree +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] + ' python3_{5,6,7} pypy3) + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + >=dev-python/six-1.14[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" +# TODO: figure out how to make tests work without the package being +# installed first. +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + dev-python/pathlib2[${PYTHON_USEDEP}] + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + =dev-python/tox-${PV}-${PR}[${PYTHON_USEDEP}] + )" + +src_prepare() { + distutils-r1_src_prepare + + # broken without internet + sed -i -e 's:test_provision_non_canonical_dep:_&:' \ + tests/unit/session/test_provision.py || die + sed -i -e 's:test_provision_interrupt_child:_&:' \ + tests/integration/test_provision_int.py || die + # broken with our mock version (?) + sed -i -e 's:test_create_KeyboardInterrupt:_&:' \ + tests/unit/test_venv.py || die + # broken with Gentoo Python layout + sed -i -e 's:test_tox_get_python_executable:_&:' \ + -e 's:test_find_alias_on_path:_&:' \ + tests/unit/interpreters/test_interpreters.py || die + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + distutils_install_for_testing + pytest -vv --no-network || die "Testsuite failed under ${EPYTHON}" +}