From 5d4139f8bdb67bd6e8328422f9762661bd0d6454 Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Thu, 29 Feb 2024 02:18:32 -0500 Subject: devel/py-setuptools-scm: update to 8.0.4 Directory and PORTNAME changed to match normalised name in release tarball; consumers updated to match. Although setuptools itself is specified as a run dependency in the Python package metadata, it is currently left out here to prevent environment pollution until at least PR 270510 is committed. Additionally, this version of setuptools-scm requires setuptools>=61, which means this version is only meant for USE_PYTHON=pep517 ports as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58 also after PR 270510. science/py-emmet-core is switched to devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8. devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to RUN_DEPENDS to compensate. Further details: https://wiki.freebsd.org/Python/setuptools Reported by: yuri Co-authored by: matthew Exp-run by: antoine (earlier iteration) Approved by: yuri (science/py-emmet-core, previous iteration) PR: 272134 Differential Revision: https://reviews.freebsd.org/D39288 --- .../files/patch-testing_test__integration.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 devel/py-setuptools_scm/files/patch-testing_test__integration.py (limited to 'devel/py-setuptools_scm/files/patch-testing_test__integration.py') diff --git a/devel/py-setuptools_scm/files/patch-testing_test__integration.py b/devel/py-setuptools_scm/files/patch-testing_test__integration.py deleted file mode 100644 index ea66069479a8..000000000000 --- a/devel/py-setuptools_scm/files/patch-testing_test__integration.py +++ /dev/null @@ -1,13 +0,0 @@ -Avoid hardcoded Python binary. - ---- testing/test_integration.py.orig 2022-02-10 17:16:34 UTC -+++ testing/test_integration.py -@@ -119,7 +119,7 @@ def test_pretend_version_accepts_bad_string(monkeypatc - monkeypatch.setenv(PRETEND_KEY, "dummy") - wd.write("setup.py", SETUP_PY_PLAIN) - assert wd.get_version(write_to="test.py") == "dummy" -- assert wd("python setup.py --version") == "0.0.0" -+ assert wd("%%PYTHON_CMD%% setup.py --version") == "0.0.0" - - - def test_own_setup_fails_on_old_python(monkeypatch): -- cgit v1.2.3