From 86f4b284b23d06292cac676f5ffe18e998044b37 Mon Sep 17 00:00:00 2001 From: Renee Otten Date: Wed, 21 Jan 2026 09:29:10 -0500 Subject: [PATCH] search-that-hash: use Python 3.14 --- security/search-that-hash/Portfile | 11 ++++++----- .../files/patch-poetry-pyproject.toml.diff | 13 +++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 security/search-that-hash/files/patch-poetry-pyproject.toml.diff diff --git a/security/search-that-hash/Portfile b/security/search-that-hash/Portfile index 38b489f5e11..b6c6a30af34 100644 --- a/security/search-that-hash/Portfile +++ b/security/search-that-hash/Portfile @@ -5,15 +5,13 @@ PortGroup python 1.0 name search-that-hash version 0.2.8 -revision 0 +revision 1 + categories-prepend security platforms {darwin any} license GPL-3 supported_archs noarch -python.default_version \ - 39 - maintainers {@harens gmail.com:harensdeveloper} \ openmaintainer @@ -28,7 +26,10 @@ checksums rmd160 a25ce484f648f300f70384fc0d5eef8208151ee7 \ sha256 384498abbb9a611aa173b20d06b135e013674670fecc01b34d456bfe536e0bca \ size 24513 -depends_lib-append port:py${python.version}-setuptools +python.default_version 314 +python.pep517_backend poetry + +patchfiles-append patch-poetry-pyproject.toml.diff depends_run-append port:py${python.version}-appdirs \ port:py${python.version}-click \ diff --git a/security/search-that-hash/files/patch-poetry-pyproject.toml.diff b/security/search-that-hash/files/patch-poetry-pyproject.toml.diff new file mode 100644 index 00000000000..94257dbafdd --- /dev/null +++ b/security/search-that-hash/files/patch-poetry-pyproject.toml.diff @@ -0,0 +1,13 @@ +--- pyproject.toml.orig 2026-01-21 09:43:16 ++++ pyproject.toml 2026-01-21 09:43:31 +@@ -25,8 +25,8 @@ + codecov = "^2.1.11" + + [build-system] +-requires = ["poetry>=0.12"] +-build-backend = "poetry.masonry.api" ++requires = ["poetry-core>=1.0.0"] ++build-backend = "poetry.core.masonry.api" + + [tool.poetry.scripts] + sth = "search_that_hash.__main__:main"