From ba4206d279bd1d6b2cceb5d852928cf916412b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 29 May 2023 18:48:26 -0300 Subject: [PATCH 01/12] python3-coverage: update to 7.2.7. --- .../patches/no-versioned-coverage.patch | 16 -------- srcpkgs/python3-coverage/template | 41 ++++++++++++++----- 2 files changed, 31 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/python3-coverage/patches/no-versioned-coverage.patch diff --git a/srcpkgs/python3-coverage/patches/no-versioned-coverage.patch b/srcpkgs/python3-coverage/patches/no-versioned-coverage.patch deleted file mode 100644 index fefbfc0af761..000000000000 --- a/srcpkgs/python3-coverage/patches/no-versioned-coverage.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -86,12 +86,9 @@ setup_args = dict( - }, - - entry_points={ -- # Install a script as "coverage", and as "coverage[23]", and as -- # "coverage-2.7" (or whatever). -+ # Install a script as "coverage" - 'console_scripts': [ - 'coverage = coverage.cmdline:main', -- 'coverage%d = coverage.cmdline:main' % sys.version_info[:1], -- 'coverage-%d.%d = coverage.cmdline:main' % sys.version_info[:2], - ], - }, - diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template index 223f93ac4447..cc7659f521ed 100644 --- a/srcpkgs/python3-coverage/template +++ b/srcpkgs/python3-coverage/template @@ -1,17 +1,38 @@ # Template file for 'python3-coverage' pkgname=python3-coverage -version=5.0.3 -revision=5 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=7.2.7 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel" makedepends="python3-devel" -depends="python3-setuptools" -checkdepends="python3-pytest-xdist python3-flaky python3-unittest-mixins" +checkdepends="$depends python3-pytest-xdist python3-flaky + python3-hypothesis" short_desc="Code coverage testing for Python3" maintainer="Orphaned " license="Apache-2.0" -homepage="https://bitbucket.org/ned/coveragepy" +homepage="https://github.com/nedbat/coveragepy" +changelog="https://github.com/nedbat/coveragepy/raw/master/CHANGES.rst" distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz" -checksum=77afca04240c40450c331fa796b3eab6f1e15c5ecf8bf2b8bee9706cd5452fef -# coverage executable needs to run for many tests -make_check=no +checksum=924d94291ca674905fe9481f12294eb11f2d3d3fd1adb20314ba89e94f44ed59 + +pre_check() { + # required setup, see tox.ini + python igor.py zip_mods +} + +do_check() { + # Running via PYTHONPATH breaks... venv works + # This could be moved to build-style/python3-pep517.sh + local testdir="${wrksrc}/.xbps-testdir" + rm -rf "${testdir}" + python3 -m venv --system-site-packages --without-pip $testdir + local -x PATH="${testdir}/bin:${PATH}" + python3 -m installer dist/*.whl + python3 -m pytest -n $XBPS_MAKEJOBS +} + +post_install() { + # remove versioned scripts (keep only /usr/bin/coverage) + rm ${DESTDIR}/usr/bin/coverage3 + rm ${DESTDIR}/usr/bin/coverage-${py3_ver} +} From 4a0521ecb588168c1f83dd05a859de3cd34813dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 4 Jun 2023 23:53:02 -0300 Subject: [PATCH 02/12] python3-flaky: update to 3.7.0. --- srcpkgs/python3-flaky/template | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-flaky/template b/srcpkgs/python3-flaky/template index 8f80d84d295b..0082b1247b90 100644 --- a/srcpkgs/python3-flaky/template +++ b/srcpkgs/python3-flaky/template @@ -1,13 +1,15 @@ # Template file for 'python3-flaky' pkgname=python3-flaky -version=3.6.1 -revision=6 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=3.7.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel" depends="python3" -short_desc="Plugin for nose/py.test that automatically reruns flaky tests (Python3)" +short_desc="Plugin for nose or pytest that automatically reruns flaky tests" maintainer="Orphaned " license="Apache-2.0" homepage="https://github.com/box/flaky" +changelog="https://github.com/box/flaky/raw/master/HISTORY.rst" distfiles="${PYPI_SITE}/f/flaky/flaky-${version}.tar.gz" -checksum=8cd5455bb00c677f787da424eaf8c4a58a922d0e97126d3085db5b279a98b698 +checksum=3ad100780721a1911f57a165809b7ea265a7863305acb66708220820caf8aa0d +make_check=no # Tests are broken From cfecf7a96b4ba7bdab44a90152de71882f30d011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 5 Jun 2023 01:58:55 -0300 Subject: [PATCH 03/12] python3-hypothesis: update to 6.76.0. --- srcpkgs/python3-hypothesis/template | 46 ++++++++++++++++++----------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/srcpkgs/python3-hypothesis/template b/srcpkgs/python3-hypothesis/template index 30def188b53f..ad5e0a8c8578 100644 --- a/srcpkgs/python3-hypothesis/template +++ b/srcpkgs/python3-hypothesis/template @@ -1,32 +1,42 @@ # Template file for 'python3-hypothesis' pkgname=python3-hypothesis -version=6.75.0 +version=6.76.0 revision=1 build_wrksrc=hypothesis-python -build_style=python3-module -hostmakedepends="python3-setuptools" +build_style=python3-pep517 +hostmakedepends="python3-wheel" depends="python3-attrs python3-sortedcontainers" checkdepends="python3-pytest-xdist black python3-typing_extensions - python3-pytz python3-numpy python3-pexpect python3-dateutil $depends" + python3-pytz python3-numpy python3-pexpect python3-dateutil + python3-pandas $depends" short_desc="Python3 library for property based testing" maintainer="Andrew J. Hesford " license="MPL-2.0" homepage="https://hypothesis.works/" -changelog="https://hypothesis.readthedocs.io/en/latest/changes.html" +changelog="https://github.com/HypothesisWorks/hypothesis/raw/master/hypothesis-python/docs/changes.rst" distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz" -checksum=b5aae201b1758beb00c6d8eea3d860a461fe9f628c14d01f7a90a978b23e9178 +checksum=4564bbd860413af105dcdee6d5a9f8a1d08274f940266dfd2b45492d61f8b847 -do_check() { +# disable tests that need python packages not available: +# libcst (codemods) dpcontracts lark fakeredis +# test_registered_from_entrypoint needs to be installed +make_check_args=" + --ignore=tests/codemods/test_codemods.py + --ignore=tests/codemods/test_codemod_cli.py + --ignore=tests/dpcontracts/test_contracts.py + --ignore=tests/lark/test_grammar.py + --ignore=tests/patching/test_patching.py + --ignore=tests/redis/test_redis_exampledatabase.py + -k not(test_registered_from_entrypoint) +" + +if [ "$XBPS_CHECK_PKGS" != full ]; then # Manually run the tests that tox considers part of the "full" suite, # less any related to packages not provided by Void. - # - # The tests in ghostwriter/test_ghostwriter_cli require a "hypothesis" - # entrypoint script, which does not exist until install time. - # - # The test_subTest_no_self function tries to run a separate - # interpreter, which will not see the local PYTHONPATH here. - PYTHONPATH=src python3 -m pytest -n $XBPS_MAKEJOBS \ - -k 'not test_settings_alone and not test_subTest_no_self' \ - --ignore=tests/ghostwriter/test_ghostwriter_cli.py \ - tests/{cover,datetime,typing_extensions,ghostwriter} -} + make_check_target=" + tests/cover tests/pytest + tests/datetime + tests/typing_extensions + tests/ghostwriter + " +fi From 015d6e1533d2599736f0db70587110e166443f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 4 Jun 2023 23:36:00 -0300 Subject: [PATCH 04/12] python3-mock: update to 5.0.2. --- srcpkgs/python3-mock/template | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-mock/template b/srcpkgs/python3-mock/template index b237c4789a27..5c44bb8e421e 100644 --- a/srcpkgs/python3-mock/template +++ b/srcpkgs/python3-mock/template @@ -1,23 +1,18 @@ # Template file for 'python3-mock' pkgname=python3-mock -version=4.0.3 -revision=4 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=5.0.2 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel" depends="python3" checkdepends="python3-pytest" short_desc="Python3 mock library" maintainer="Alex Childs " license="BSD-2-Clause" homepage="http://mock.readthedocs.org/en/latest/" -changelog="https://mock.readthedocs.io/en/latest/changelog.html" +changelog="https://github.com/testing-cabal/mock/raw/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz" -checksum=7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc - -do_check() { - # The skipped test checks internal Python unittest behavior and fails - python3 -m pytest -k "not test_bool_not_called" -} +checksum=06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891 post_install() { vlicense LICENSE.txt From 8cc40c13329bb093056d8c4d5c1591c0dc0e8c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 29 May 2023 19:06:45 -0300 Subject: [PATCH 05/12] New package: python3-process-tests-2.1.2 --- srcpkgs/python3-process-tests/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-process-tests/template diff --git a/srcpkgs/python3-process-tests/template b/srcpkgs/python3-process-tests/template new file mode 100644 index 000000000000..75a7398f5d1b --- /dev/null +++ b/srcpkgs/python3-process-tests/template @@ -0,0 +1,19 @@ +# Template file for 'python3-process-tests' +pkgname=python3-process-tests +version=2.1.2 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel" +depends="python3" +short_desc="Tools for testing processes" +maintainer="Gonzalo Tornaría " +license="BSD-2-Clause" +homepage="https://github.com/ionelmc/python-process-tests" +changelog="https://github.com/ionelmc/python-process-tests/blob/master/CHANGELOG.rst" +distfiles="${PYPI_SITE}/p/process-tests/process-tests-${version}.tar.gz" +checksum=a3747ad947bdfc93e5c986bdb17a6d718f3f26e8577a0807a00962f29e26deba +make_check=no # no tests available + +post_install() { + vlicense LICENSE +} From fd5fc0a007c726910134b3d0144bdd116e6f8c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 4 Jun 2023 17:08:42 -0300 Subject: [PATCH 06/12] python3-pytest-asyncio: update to 0.21.0. --- srcpkgs/python3-pytest-asyncio/template | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template index 4e747d5c5b41..784f54619182 100644 --- a/srcpkgs/python3-pytest-asyncio/template +++ b/srcpkgs/python3-pytest-asyncio/template @@ -1,22 +1,16 @@ # Template file for 'python3-pytest-asyncio' pkgname=python3-pytest-asyncio -version=0.20.3 +version=0.21.0 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-pytest" -checkdepends="$depends python3-hypothesis" +checkdepends="$depends python3-flaky python3-hypothesis + python3-pytest-trio" short_desc="Pytest support for asyncio" maintainer="Orphaned " license="Apache-2.0" homepage="https://github.com/pytest-dev/pytest-asyncio" +changelog="https://github.com/pytest-dev/pytest-asyncio/raw/master/docs/source/reference/changelog.rst" distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest-asyncio-${version}.tar.gz" -checksum=83cbf01169ce3e8eb71c6c278ccb0574d1a7a3bb8eaaf5e50e0ad342afb33b36 - -do_check() { - local skiptests="test_auto_mode_cmdline or \ - test_strict_mode_ignores_trio_fixtures or \ - test_unused_port_fixture or test_unused_port_factory_fixture" - - PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -k "not (${skiptests})" -} +checksum=2b38a496aef56f56b0e87557ec313e11e1ab9276fc3863f6a7be0f1d0e415e1b From 9f1dd541f3339fe721fc86cd0fe14eddcb1b21a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 23 May 2023 20:58:14 -0300 Subject: [PATCH 07/12] New package: python3-pytest-console-scripts-1.4.1 --- .../python3-pytest-console-scripts/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-pytest-console-scripts/template diff --git a/srcpkgs/python3-pytest-console-scripts/template b/srcpkgs/python3-pytest-console-scripts/template new file mode 100644 index 000000000000..26ccde4d03bb --- /dev/null +++ b/srcpkgs/python3-pytest-console-scripts/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pytest-console-scripts' +pkgname=python3-pytest-console-scripts +version=1.4.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools_scm python3-wheel" +depends="python3-pytest" +checkdepends="$depends" +short_desc="Pytest plugin for testing console scripts" +maintainer="Gonzalo Tornaría " +license="MIT" +homepage="https://github.com/kvas-it/pytest-console-scripts" +changelog="https://github.com/kvas-it/pytest-console-scripts/raw/master/CHANGELOG.md" +distfiles="${PYPI_SITE}/p/pytest-console-scripts/pytest-console-scripts-${version}.tar.gz" +checksum=5a826ed84cc0afa202eb9e44381d7d762f7bdda8e0c23f9f79a7f1f44cf4a895 + +post_install() { + vlicense LICENSE +} From 7cbd7a5706a7a224b78661c0209efe4c9099f715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 29 May 2023 22:46:04 -0300 Subject: [PATCH 08/12] python3-pytest-cov: update to 4.1.0. --- srcpkgs/python3-pytest-cov/template | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template index 47dc36d44017..dc6b7f3b5db5 100644 --- a/srcpkgs/python3-pytest-cov/template +++ b/srcpkgs/python3-pytest-cov/template @@ -1,20 +1,33 @@ # Template file for 'python3-pytest-cov' pkgname=python3-pytest-cov -version=3.0.0 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=4.1.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel" depends="python3-pytest python3-coverage" -checkdepends="$depends python3-toml python3-py python3-pluggy python3-packaging - python3-more-itertools python3-attrs python3-six python3-parsing" +checkdepends="$depends python3-fields python3-process-tests + python3-pytest-xdist python3-virtualenv" short_desc="Pytest plugin for measuring coverage" maintainer="Piotr Wójcik " license="MIT" homepage="https://pytest-cov.readthedocs.io/en/latest/" changelog="https://raw.githubusercontent.com/pytest-dev/pytest-cov/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/p/pytest-cov/pytest-cov-${version}.tar.gz" -checksum=e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470 -make_check=no # requires unpackaged xdist, fields, process_tests +checksum=3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6 + +do_check() { + # Running via PYTHONPATH breaks... venv works + # This could be moved to build-style/python3-pep517.sh + local testdir="${wrksrc}/.xbps-testdir" + rm -rf "${testdir}" + python3 -m venv --system-site-packages --without-pip $testdir + local -x PATH="${testdir}/bin:${PATH}" + python3 -m installer dist/*.whl + # coverage needs to be installed inside venv (?) + # see: https://github.com/pytest-dev/pytest-cov/issues/517 + ln -s /${py3_sitelib}/coverage ${testdir}${py3_sitelib#usr} + python3 -m pytest -n $XBPS_MAKEJOBS +} post_install() { vlicense LICENSE From 97a03902e127c69eae819b362053b9585fc623ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 24 May 2023 20:40:38 -0300 Subject: [PATCH 09/12] python3-pytest-mock: update to 3.10.0. --- srcpkgs/python3-pytest-mock/template | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/srcpkgs/python3-pytest-mock/template b/srcpkgs/python3-pytest-mock/template index 602337199a41..3ae4ec6cb3c0 100644 --- a/srcpkgs/python3-pytest-mock/template +++ b/srcpkgs/python3-pytest-mock/template @@ -1,28 +1,18 @@ # Template file for 'python3-pytest-mock' pkgname=python3-pytest-mock -version=3.9.0 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=3.10.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel python3-setuptools_scm" depends="python3-pytest" -checkdepends="$depends" -short_desc="Thin-wrapper around mock for easier use with py.test (Python3)" +checkdepends="python3-pytest-asyncio python3-mock" +short_desc="Thin-wrapper around mock for easier use with pytest" maintainer="Orphaned " license="MIT" homepage="https://github.com/pytest-dev/pytest-mock/" changelog="https://raw.githubusercontent.com/pytest-dev/pytest-mock/main/CHANGELOG.rst" distfiles="${PYPI_SITE}/p/pytest-mock/pytest-mock-${version}.tar.gz" -checksum=c899a0dcc8a5f22930acd020b500abd5f956911f326864a3b979e4866e14da82 - -# pytest-mock requires pytest-mock to be installed so it'll always fail during -# packaging -make_check=no - -pre_build() { - vsed -i setup.py \ - -e '/setup_requires=/d' \ - -e "s|use_scm_version=.*|version='${version}',|" -} +checksum=fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f post_install() { vlicense LICENSE From fb679e2d1b10732f4a997af879cc59978ad2cedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 5 Jun 2023 02:54:48 -0300 Subject: [PATCH 10/12] New package: python3-pytest-trio-0.8.0 --- srcpkgs/python3-pytest-trio/template | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 srcpkgs/python3-pytest-trio/template diff --git a/srcpkgs/python3-pytest-trio/template b/srcpkgs/python3-pytest-trio/template new file mode 100644 index 000000000000..afae8a2db221 --- /dev/null +++ b/srcpkgs/python3-pytest-trio/template @@ -0,0 +1,36 @@ +# Template file for 'python3-pytest-trio' +pkgname=python3-pytest-trio +version=0.8.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-wheel" +depends="python3-trio python3-outcome python3-pytest" +checkdepends="$depends python3-hypothesis" +short_desc="Pytest plugin for trio" +maintainer="Gonzalo Tornaría " +license="MIT, Apache-2.0" +homepage="https://github.com/python-trio/pytest-trio" +changelog="https://github.com/python-trio/pytest-trio/raw/master/docs/source/history.rst" +distfiles="${PYPI_SITE}/p/pytest-trio/pytest-trio-${version}.tar.gz" +checksum=8363db6336a79e6c53375a2123a41ddbeccc4aa93f93788651641789a56fb52e + +post_patch() { + # Defining 'pytest_plugins' in a non-top-level conftest is no + # longer supported + mv pytest_trio/_tests/conftest.py . +} + +do_check() { + # Running via PYTHONPATH breaks... venv works + # This could be moved to build-style/python3-pep517.sh + local testdir="${wrksrc}/.xbps-testdir" + rm -rf "${testdir}" + python3 -m venv --system-site-packages --without-pip "${testdir}" + local -x PATH="${testdir}/bin:${PATH}" + python3 -m installer dist/*.whl + python3 -m pytest +} + +post_install() { + vlicense LICENSE +} From fe08f39fca2545294120b19a58689db17b79e455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 29 May 2023 21:01:36 -0300 Subject: [PATCH 11/12] python3-pytest-xdist: enable tests. --- srcpkgs/python3-pytest-xdist/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/python3-pytest-xdist/template b/srcpkgs/python3-pytest-xdist/template index b327702316a3..d64c3b6df8c7 100644 --- a/srcpkgs/python3-pytest-xdist/template +++ b/srcpkgs/python3-pytest-xdist/template @@ -5,6 +5,7 @@ revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel" depends="python3-pytest python3-execnet" +checkdepends="$depends python3-filelock python3-pexpect python3-psutil" short_desc="Pytest plugin for distributed testing & loop-on-failures testing modes" maintainer="classabbyamp " license="MIT" @@ -12,8 +13,6 @@ homepage="https://github.com/pytest-dev/pytest-xdist" changelog="https://raw.githubusercontent.com/pytest-dev/pytest-xdist/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/p/pytest-xdist/pytest-xdist-${version}.tar.gz" checksum=d5ee0520eb1b7bcca50a60a518ab7a7707992812c578198f8b44fdfac78e8c93 -# tests only work in tox -make_check=no post_install() { vlicense LICENSE From 37a44fbb2b2f9e0a28888f402d352c6c17af0d0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 24 May 2023 13:16:19 -0300 Subject: [PATCH 12/12] python3-testpath: update to 0.6.0. --- srcpkgs/python3-testpath/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-testpath/template b/srcpkgs/python3-testpath/template index a439b95a62b0..3a3cf2f2647d 100644 --- a/srcpkgs/python3-testpath/template +++ b/srcpkgs/python3-testpath/template @@ -1,16 +1,18 @@ # Template file for 'python3-testpath' pkgname=python3-testpath -version=0.4.4 -revision=3 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=0.6.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-flit_core" depends="python3" +checkdepends="python3-pytest" short_desc="Test utilities for code working with files and commands (Python3)" maintainer="Orphaned " license="BSD-3-Clause" homepage="https://github.com/jupyter/testpath" +changelog="https://github.com/jupyter/testpath/raw/master/doc/history.rst" distfiles="${PYPI_SITE}/t/testpath/testpath-${version}.tar.gz" -checksum=60e0a3261c149755f4399a1fff7d37523179a70fdc3abdf78de9fc2604aeec7e +checksum=2f1b97e6442c02681ebe01bd84f531028a7caea1af3825000f52345c30285e0f pre_build() { rm -f testpath/cli-*.exe