git: 9983eda43b3d - main - devel/py-pathlib-abc: New port: Backport of pathlib ABCs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Oct 2026 06:12:28 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9983eda43b3d84d85519be41bd357d3487fcf523
commit 9983eda43b3d84d85519be41bd357d3487fcf523
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-05 06:02:44 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-05 06:12:23 +0000
devel/py-pathlib-abc: New port: Backport of pathlib ABCs
PR: 299045
Approved by: Baptiste Daroussin <bapt@FreeBSD.org> (on behalf of portmgr@)
---
devel/Makefile | 1 +
devel/py-pathlib-abc/Makefile | 22 ++++++++++++++++++++++
devel/py-pathlib-abc/distinfo | 3 +++
devel/py-pathlib-abc/pkg-descr | 3 +++
4 files changed, 29 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 64e2453caeed..b9925487e181 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5679,6 +5679,7 @@
SUBDIR += py-path
SUBDIR += py-path.py
SUBDIR += py-pathable
+ SUBDIR += py-pathlib-abc
SUBDIR += py-pathlib2
SUBDIR += py-pathos
SUBDIR += py-pathspec
diff --git a/devel/py-pathlib-abc/Makefile b/devel/py-pathlib-abc/Makefile
new file mode 100644
index 000000000000..4314f3a0520f
--- /dev/null
+++ b/devel/py-pathlib-abc/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= pathlib-abc
+PORTVERSION= 0.5.2
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Backport of pathlib ABCs
+WWW= https://github.com/barneygale/pathlib-abc
+
+LICENSE= PSFL
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pathlib-abc/distinfo b/devel/py-pathlib-abc/distinfo
new file mode 100644
index 000000000000..87284f91652b
--- /dev/null
+++ b/devel/py-pathlib-abc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790828081
+SHA256 (pathlib_abc-0.5.2.tar.gz) = fcd56f147234645e2c59c7ae22808b34c364bb231f685ddd9f96885aed78a94c
+SIZE (pathlib_abc-0.5.2.tar.gz) = 33342
diff --git a/devel/py-pathlib-abc/pkg-descr b/devel/py-pathlib-abc/pkg-descr
new file mode 100644
index 000000000000..147c3fe1d0b6
--- /dev/null
+++ b/devel/py-pathlib-abc/pkg-descr
@@ -0,0 +1,3 @@
+pathlib-abc is a backport of pathlib abstract base classes and related
+functionality for Python versions that do not include them in the standard
+library. It is used by libraries that implement custom path-like objects.