From 7c0ff02c6c653e6976f4d3aa26ceac65db33e626 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 | 40 ++++++++++++++----- 2 files changed, 29 insertions(+), 27 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 fefbfc0af7618a..00000000000000 --- 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 223f93ac4447f8..33977ca41522e2 100644 --- a/srcpkgs/python3-coverage/template +++ b/srcpkgs/python3-coverage/template @@ -1,17 +1,35 @@ # 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-setuptools python3-wheel" makedepends="python3-devel" -depends="python3-setuptools" -checkdepends="python3-pytest-xdist python3-flaky python3-unittest-mixins" -short_desc="Code coverage testing for Python3" +checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis" +short_desc="Code coverage tool for Python" maintainer="Orphaned " license="Apache-2.0" -homepage="https://bitbucket.org/ned/coveragepy" +homepage="https://github.com/nedbat/coveragepy" +changelog="https://raw.githubusercontent.com/nedbat/coveragepy/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 a few tests so we use a venv + local testdir="${wrksrc}/.xbps-testdir/$(date +%s)" + 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 e18e94d83ab8afb9812a021fc9d225d791b80524 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 8f80d84d295b54..5d1bbe305358a1 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-setuptools 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://raw.githubusercontent.com/box/flaky/master/HISTORY.rst" distfiles="${PYPI_SITE}/f/flaky/flaky-${version}.tar.gz" -checksum=8cd5455bb00c677f787da424eaf8c4a58a922d0e97126d3085db5b279a98b698 +checksum=3ad100780721a1911f57a165809b7ea265a7863305acb66708220820caf8aa0d +make_check=no # Tests are broken From e216baf8223f61951d1d3abc86c0c310ef4cba5b 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 | 49 +++++++++++++++++------------ 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/srcpkgs/python3-hypothesis/template b/srcpkgs/python3-hypothesis/template index 30def188b53fc8..66b297ddbc5e9b 100644 --- a/srcpkgs/python3-hypothesis/template +++ b/srcpkgs/python3-hypothesis/template @@ -1,32 +1,41 @@ # 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-setuptools python3-wheel" depends="python3-attrs python3-sortedcontainers" -checkdepends="python3-pytest-xdist black python3-typing_extensions - python3-pytz python3-numpy python3-pexpect python3-dateutil $depends" -short_desc="Python3 library for property based testing" +checkdepends="python3-pytest-xdist black python3-typing_extensions python3-pytz + python3-numpy python3-pexpect python3-dateutil python3-pandas $depends" +short_desc="Python 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://raw.githubusercontent.com/HypothesisWorks/hypothesis/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 test files that need the following python packages (not available) +# libcst dpcontracts lark fakeredis +# - test_registered_from_entrypoint requires an entrypoint 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 ee172a8f5aadc899f7cfcddcf4173a733cb440ab 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 | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/srcpkgs/python3-mock/template b/srcpkgs/python3-mock/template index b237c4789a2741..314da43a174059 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-setuptools python3-wheel" depends="python3" checkdepends="python3-pytest" -short_desc="Python3 mock library" +short_desc="Python 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://raw.githubusercontent.com/testing-cabal/mock/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 51cfd4bd599702d878da0c117a7d29b7a9a50a03 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 00000000000000..3f129be9880b4f --- /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-setuptools 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://raw.githubusercontent.com/ionelmc/python-process-tests/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 bcec2bf8e6393ee52084f99f9ebf5a7c13341377 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 | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template index 4e747d5c5b4111..ec0fdcb061f3ad 100644 --- a/srcpkgs/python3-pytest-asyncio/template +++ b/srcpkgs/python3-pytest-asyncio/template @@ -1,22 +1,23 @@ # 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" -short_desc="Pytest support for asyncio" +checkdepends="$depends python3-flaky python3-hypothesis python3-pytest-trio" +short_desc="Pytest plugin for asyncio" maintainer="Orphaned " license="Apache-2.0" homepage="https://github.com/pytest-dev/pytest-asyncio" +changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst" distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest-asyncio-${version}.tar.gz" -checksum=83cbf01169ce3e8eb71c6c278ccb0574d1a7a3bb8eaaf5e50e0ad342afb33b36 +checksum=2b38a496aef56f56b0e87557ec313e11e1ab9276fc3863f6a7be0f1d0e415e1b -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})" -} +if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then + # these tests fail on CI (bind to a tcp address) + make_check_args=" + --deselect=tests/test_simple.py::test_unused_port_fixture + --deselect=tests/test_simple.py::test_unused_port_factory_fixture + " +fi From d8d253c37695f528d1711c210b991937aae595eb 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 00000000000000..2c628126789899 --- /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://raw.githubusercontent.com/kvas-it/pytest-console-scripts/master/CHANGELOG.md" +distfiles="${PYPI_SITE}/p/pytest-console-scripts/pytest-console-scripts-${version}.tar.gz" +checksum=5a826ed84cc0afa202eb9e44381d7d762f7bdda8e0c23f9f79a7f1f44cf4a895 + +post_install() { + vlicense LICENSE +} From 4744c54fff6df845970516d8105a777a3f63ad22 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 | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template index 47dc36d4401795..1feb29dedaa045 100644 --- a/srcpkgs/python3-pytest-cov/template +++ b/srcpkgs/python3-pytest-cov/template @@ -1,20 +1,31 @@ # 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-setuptools 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 a few tests so we use a venv + local testdir="${wrksrc}/.xbps-testdir/$(date +%s)" + 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 e0e075e72479cb60524b43127e92c7c89e6b33f2 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 602337199a41e6..abb1557f6655a1 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-setuptools_scm python3-wheel" 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="Pytest plugin for mock" 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 5440aef635fd51eadfec162bf57cf362ede61290 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 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 00000000000000..4009a6de72c4dd --- /dev/null +++ b/srcpkgs/python3-pytest-trio/template @@ -0,0 +1,26 @@ +# Template file for 'python3-pytest-trio' +pkgname=python3-pytest-trio +version=0.8.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools 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://raw.githubusercontent.com/python-trio/pytest-trio/master/docs/source/history.rst" +distfiles="${PYPI_SITE}/p/pytest-trio/pytest-trio-${version}.tar.gz" +checksum=8363db6336a79e6c53375a2123a41ddbeccc4aa93f93788651641789a56fb52e +make_check_pre="env PYTHONPATH=." + +post_patch() { + # Defining 'pytest_plugins' in a non-top-level conftest is no + # longer supported in pytest + mv pytest_trio/_tests/conftest.py . +} + +post_install() { + vlicense LICENSE +} From 1f158c89c07e15e364c529f1b874126e26e98f83 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-pytest-xdist/template b/srcpkgs/python3-pytest-xdist/template index b327702316a3f3..91a4f148cf5c85 100644 --- a/srcpkgs/python3-pytest-xdist/template +++ b/srcpkgs/python3-pytest-xdist/template @@ -3,8 +3,9 @@ pkgname=python3-pytest-xdist version=3.3.1 revision=1 build_style=python3-pep517 -hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel" +hostmakedepends="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 16556d22d0687a311913574dc604dc8f83445984 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 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-testpath/template b/srcpkgs/python3-testpath/template index a439b95a62b0e5..ef041edb6a9153 100644 --- a/srcpkgs/python3-testpath/template +++ b/srcpkgs/python3-testpath/template @@ -1,20 +1,23 @@ # 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" -short_desc="Test utilities for code working with files and commands (Python3)" +checkdepends="python3-pytest" +short_desc="Test utilities for Python code working with files and commands" maintainer="Orphaned " license="BSD-3-Clause" homepage="https://github.com/jupyter/testpath" +changelog="https://raw.githubusercontent.com/jupyter/testpath/master/doc/history.rst" distfiles="${PYPI_SITE}/t/testpath/testpath-${version}.tar.gz" -checksum=60e0a3261c149755f4399a1fff7d37523179a70fdc3abdf78de9fc2604aeec7e +checksum=2f1b97e6442c02681ebe01bd84f531028a7caea1af3825000f52345c30285e0f pre_build() { rm -f testpath/cli-*.exe } + post_install() { vlicense LICENSE }