From 65d948daec5bc07829a2ab6772b6b9234368d9f7 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 12 Jan 2021 10:59:21 -0500 Subject: [PATCH] tox: update to 3.21.0. --- srcpkgs/tox/template | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/srcpkgs/tox/template b/srcpkgs/tox/template index 2d39e47d019..39f3dd4cd00 100644 --- a/srcpkgs/tox/template +++ b/srcpkgs/tox/template @@ -1,19 +1,31 @@ # Template file for 'tox' pkgname=tox -version=3.20.1 -revision=2 +version=3.21.0 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools_scm" depends="python3-filelock python3-packaging python3-pluggy python3-pytest python3-toml python3-virtualenv" -checkdepends="${depends} python3-flaky python3-pathlib2" +checkdepends="${depends} python3-pytest-mock + python3-flaky python3-pathlib2 python3-freezegun" short_desc="Generic virtualenv management and test command line tool" maintainer="Piotr Wójcik " license="MIT" homepage="https://tox.readthedocs.io/en/latest/" changelog="https://tox.readthedocs.io/en/latest/changelog.html" distfiles="${PYPI_SITE}/t/tox/tox-${version}.tar.gz" -checksum=4321052bfe28f9d85082341ca8e233e3ea901fdd14dab8a5d3fbd810269fbaf6 +checksum=8cccede64802e78aa6c69f81051b25f0706639d1cbbb34d9366ce00c70ee054f + +do_check() { + # Skipped tests fail to find module or rely on missing entrypoint script + PYTHONPATH=src python3 -m pytest \ + -k "not test_parallel \ + and not test_tox_console_script \ + and not test_tox_quickstart_script \ + and not test_provision_cli_args_ignore \ + and not test_provision_interrupt_child \ + and not test_provision_non_canonical_dep" +} post_install() { vlicense LICENSE