git: e56120cf2f84 - main - devel/py-dacite: New port: Simple creation of data classes from dictionaries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Oct 2025 08:19:52 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e56120cf2f84b2c7c874bf6fba7a6e2e934213bc
commit e56120cf2f84b2c7c874bf6fba7a6e2e934213bc
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-07 03:00:33 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-07 08:19:45 +0000
devel/py-dacite: New port: Simple creation of data classes from dictionaries
---
devel/Makefile | 1 +
devel/py-dacite/Makefile | 22 ++++++++++++++++++++++
devel/py-dacite/distinfo | 3 +++
devel/py-dacite/pkg-descr | 3 +++
4 files changed, 29 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 4b16bc90d244..871174ecb288 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4768,6 +4768,7 @@
SUBDIR += py-cython-test-exception-raiser
SUBDIR += py-cytoolz
SUBDIR += py-d2to1
+ SUBDIR += py-dacite
SUBDIR += py-daemon
SUBDIR += py-daemon-runner
SUBDIR += py-daemonize
diff --git a/devel/py-dacite/Makefile b/devel/py-dacite/Makefile
new file mode 100644
index 000000000000..92872c4be503
--- /dev/null
+++ b/devel/py-dacite/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= dacite
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.9.2
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Simple creation of data classes from dictionaries
+WWW= https://github.com/konradhalas/dacite
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+USE_GITHUB= yes
+GH_ACCOUNT= konradhalas
+
+# tests as of 1.9.2: 199 passed, 0 failed (12.11s)
+
+.include <bsd.port.mk>
diff --git a/devel/py-dacite/distinfo b/devel/py-dacite/distinfo
new file mode 100644
index 000000000000..96e171a0571d
--- /dev/null
+++ b/devel/py-dacite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759797847
+SHA256 (konradhalas-dacite-v1.9.2_GH0.tar.gz) = cec83bf402dc6ac0e5a2030500ef7296ad4d5c77e756475252b99e89a4d5ebfa
+SIZE (konradhalas-dacite-v1.9.2_GH0.tar.gz) = 29435
diff --git a/devel/py-dacite/pkg-descr b/devel/py-dacite/pkg-descr
new file mode 100644
index 000000000000..9f354b89968c
--- /dev/null
+++ b/devel/py-dacite/pkg-descr
@@ -0,0 +1,3 @@
+The dacite library provides a simple API to create Python data classes from
+dictionaries. It also includes support for more advanced features like nested
+data classes and type checking.