git: 84c870ccd3ea - main - devel/py-jaraco.compat: Add py-jaraco.compat 4.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:27:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84c870ccd3ea6593447614d2f12e86f9a5d973e6

commit 84c870ccd3ea6593447614d2f12e86f9a5d973e6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:54:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:17:25 +0000

    devel/py-jaraco.compat: Add py-jaraco.compat 4.4.0
    
    Forward compatibility for Python packages, allowing future constructs to be
    borrowed before they are available in the standard library.
---
 devel/Makefile                                    |  1 +
 devel/py-jaraco.compat/Makefile                   | 24 +++++++++++++++++++++++
 devel/py-jaraco.compat/distinfo                   |  3 +++
 devel/py-jaraco.compat/files/patch-pyproject.toml | 22 +++++++++++++++++++++
 devel/py-jaraco.compat/pkg-descr                  |  2 ++
 5 files changed, 52 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 41b4f80fc953..8fc1af0aa82c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5300,6 +5300,7 @@
     SUBDIR += py-janus
     SUBDIR += py-jaraco.classes
     SUBDIR += py-jaraco.collections
+    SUBDIR += py-jaraco.compat
     SUBDIR += py-jaraco.context
     SUBDIR += py-jaraco.env
     SUBDIR += py-jaraco.envs
diff --git a/devel/py-jaraco.compat/Makefile b/devel/py-jaraco.compat/Makefile
new file mode 100644
index 000000000000..febc053a6c6a
--- /dev/null
+++ b/devel/py-jaraco.compat/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	jaraco.compat
+PORTVERSION=	4.4.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	jaraco_compat-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Modules providing forward compatibility across Python versions
+WWW=		https://github.com/jaraco/jaraco.compat
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.1:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jaraco.compat/distinfo b/devel/py-jaraco.compat/distinfo
new file mode 100644
index 000000000000..d137cfce6761
--- /dev/null
+++ b/devel/py-jaraco.compat/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790435610
+SHA256 (jaraco_compat-4.4.0.tar.gz) = c0e3d11a4267a3ac98c58f3283eebd21472ec3e98facccc93263ceed13c9617c
+SIZE (jaraco_compat-4.4.0.tar.gz) = 11316
diff --git a/devel/py-jaraco.compat/files/patch-pyproject.toml b/devel/py-jaraco.compat/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a879ec82a225
--- /dev/null
+++ b/devel/py-jaraco.compat/files/patch-pyproject.toml
@@ -0,0 +1,22 @@
+--- pyproject.toml.orig	2026-08-23 14:11:42 UTC
++++ pyproject.toml
+@@ -1,9 +1,7 @@ requires = [
+ [build-system]
+ requires = [
+-	"setuptools>=77",
++	"setuptools>=61",
+ 	"setuptools_scm[toml]>=3.4.1",
+-	# jaraco/skeleton#174
+-	"coherent.licensed",
+ ]
+ build-backend = "setuptools.build_meta"
+ 
+@@ -21,7 +19,7 @@ requires-python = ">=3.10"
+ 	"Programming Language :: Python :: 3 :: Only",
+ ]
+ requires-python = ">=3.10"
+-license = "MIT"
++license = { text = "MIT" }
+ dependencies = [
+ ]
+ dynamic = ["version"]
diff --git a/devel/py-jaraco.compat/pkg-descr b/devel/py-jaraco.compat/pkg-descr
new file mode 100644
index 000000000000..b6631540fb6b
--- /dev/null
+++ b/devel/py-jaraco.compat/pkg-descr
@@ -0,0 +1,2 @@
+Forward compatibility for Python packages, allowing future constructs to be
+borrowed before they are available in the standard library.