git: 55cf64971f9a - main - misc/snakemake: update 9.20.0 → 9.27.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 16 Sep 2026 08:11:31 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55cf64971f9aae5d0e42a28ae03d604da2732e4e

commit 55cf64971f9aae5d0e42a28ae03d604da2732e4e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-16 08:10:42 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-16 08:11:27 +0000

    misc/snakemake: update 9.20.0 → 9.27.0
---
 misc/snakemake/Makefile                   | 15 ++++++++++-----
 misc/snakemake/distinfo                   |  6 +++---
 misc/snakemake/files/patch-pyproject.toml | 13 ++++++++++---
 3 files changed, 23 insertions(+), 11 deletions(-)

diff --git a/misc/snakemake/Makefile b/misc/snakemake/Makefile
index aea1ee03db7b..d8c8edf6532e 100644
--- a/misc/snakemake/Makefile
+++ b/misc/snakemake/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	snakemake
-DISTVERSION=	9.20.0
+DISTVERSION=	9.27.0
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 
@@ -10,10 +10,13 @@ WWW=		https://github.com/snakemake/snakemake
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}conda-inject>=1.3.1:devel/py-conda-inject@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}configargparse>0:devel/py-configargparse@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}connection_pool>=0.0.3:devel/py-connection_pool@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docutils>=0.20:textproc/py-docutils@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dpath>=2.1.6:devel/py-dpath@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gitpython>0:devel/py-gitpython@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}humanfriendly>0:textproc/py-humanfriendly@${PY_FLAVOR} \
@@ -22,6 +25,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}conda-inject>=1.3.1:devel/py-conda-inject@${
 		${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=24.0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}PuLP>=2.3.1:math/py-PuLP@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \
@@ -43,18 +47,19 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}conda-inject>=1.3.1:devel/py-conda-inject@${
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils noflavors autoplist
+USE_PYTHON=	autoplist noflavors pep517
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_ARGS=	--disable-plugin-autoload
 TEST_WRKSRC=	${WRKSRC}/tests
 
 do-test:
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest \
+	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest ${TEST_ARGS} \
 		tests/test_args.py tests/test_internals.py tests/test_io.py \
 		tests/test_prefix_lookup.py -v
 
 NO_ARCH=	yes
 
-# tests as of 9.20.0: 20 passed in 2.94s
+# tests as of 9.27.0: 30 passed in 1.54s
 
 .include <bsd.port.mk>
diff --git a/misc/snakemake/distinfo b/misc/snakemake/distinfo
index 4cdbfb11f626..a21013def3b1 100644
--- a/misc/snakemake/distinfo
+++ b/misc/snakemake/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1777842670
-SHA256 (snakemake-9.20.0.tar.gz) = 66ff407f4d0a471588bc35778ae1b0d3bd91ec94024f4317bdc3a0af68b9407c
-SIZE (snakemake-9.20.0.tar.gz) = 6785429
+TIMESTAMP = 1789544847
+SHA256 (snakemake-9.27.0.tar.gz) = cd80a66dda92d274af02244a0c861d7de8851402b23caadbcbcc101f4c04a0d6
+SIZE (snakemake-9.27.0.tar.gz) = 6818358
diff --git a/misc/snakemake/files/patch-pyproject.toml b/misc/snakemake/files/patch-pyproject.toml
index 06bcc1420cac..0ee44d216109 100644
--- a/misc/snakemake/files/patch-pyproject.toml
+++ b/misc/snakemake/files/patch-pyproject.toml
@@ -1,5 +1,12 @@
---- pyproject.toml.orig	2026-04-19 17:03:43 UTC
+--- pyproject.toml.orig	2026-09-11 13:45:17 UTC
 +++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=64", "setuptools-scm>=8"]
++requires = ["setuptools", "setuptools-scm>=8"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
 @@ -15,7 +15,6 @@ requires-python = ">= 3.11"
    how to create output files from input files.
  """ }
@@ -8,7 +15,7 @@
  authors = [{ name = "Johannes Köster", email = "johannes.koester@uni-due.de" }]
  classifiers = [
    "Development Status :: 5 - Production/Stable",
-@@ -40,7 +39,7 @@ dependencies = [
+@@ -41,7 +40,7 @@ dependencies = [
    "jinja2>=3.0,<4.0",
    "jsonschema",
    "nbformat",
@@ -17,7 +24,7 @@
    "psutil",
    "pulp>=2.3.1,<3.4",
    "pyyaml",
-@@ -60,7 +59,7 @@ dependencies = [
+@@ -61,7 +60,7 @@ dependencies = [
    "yte>=1.5.5,<2.0",
    "dpath>=2.1.6,<3.0.0",
    "conda-inject>=1.3.1,<2.0",