git: 6518c3d87cbf - main - devel/py-xdg-user-dirs: New port: Variables defined by the XDG Base Directory Specification

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 03 Mar 2025 08:52:33 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6518c3d87cbf01da7e762a55bda8154e93065041

commit 6518c3d87cbf01da7e762a55bda8154e93065041
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-03-03 07:29:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-03-03 08:52:27 +0000

    devel/py-xdg-user-dirs: New port: Variables defined by the XDG Base Directory Specification
---
 devel/Makefile                   |  1 +
 devel/py-xdg-user-dirs/Makefile  | 22 ++++++++++++++++++++++
 devel/py-xdg-user-dirs/distinfo  |  3 +++
 devel/py-xdg-user-dirs/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f9fdfc1fda0e..9848357ee2c2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6180,6 +6180,7 @@
     SUBDIR += py-xasm
     SUBDIR += py-xattr
     SUBDIR += py-xdg
+    SUBDIR += py-xdg-user-dirs
     SUBDIR += py-xdis
     SUBDIR += py-xdoctest
     SUBDIR += py-xerox
diff --git a/devel/py-xdg-user-dirs/Makefile b/devel/py-xdg-user-dirs/Makefile
new file mode 100644
index 000000000000..a4a10a240375
--- /dev/null
+++ b/devel/py-xdg-user-dirs/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	xdg-base-dirs
+DISTVERSION=	6.0.2
+CATEGORIES=	devel
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/g}-${DISTVERSIONFULL}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Variables defined by the XDG Base Directory Specification
+WWW=		https://github.com/srstevenson/xdg-base-dirs
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-xdg-user-dirs/distinfo b/devel/py-xdg-user-dirs/distinfo
new file mode 100644
index 000000000000..291dfe7771bc
--- /dev/null
+++ b/devel/py-xdg-user-dirs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740977561
+SHA256 (xdg_base_dirs-6.0.2.tar.gz) = 950504e14d27cf3c9cb37744680a43bf0ac42efefc4ef4acf98dc736cab2bced
+SIZE (xdg_base_dirs-6.0.2.tar.gz) = 4085
diff --git a/devel/py-xdg-user-dirs/pkg-descr b/devel/py-xdg-user-dirs/pkg-descr
new file mode 100644
index 000000000000..e190e25ba4c3
--- /dev/null
+++ b/devel/py-xdg-user-dirs/pkg-descr
@@ -0,0 +1,2 @@
+xdg-base-dirs is a Python module that provides functions to return paths to the
+directories defined by the XDG Base Directory Specification.