git: d1417817463c - main - devel/py-zugbruecke: New port: Calling routines in Windows DLLs from Python

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 27 Jun 2026 11:16:32 UTC
The branch main has been updated by yuri:

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

commit d1417817463c93d72fbb10aec534fde395648244
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-27 11:10:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-27 11:16:16 +0000

    devel/py-zugbruecke: New port: Calling routines in Windows DLLs from Python
---
 devel/Makefile                |  1 +
 devel/py-zugbruecke/Makefile  | 22 ++++++++++++++++++++++
 devel/py-zugbruecke/distinfo  |  3 +++
 devel/py-zugbruecke/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 5e20ca056cf1..de97c063d2aa 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6494,6 +6494,7 @@
     SUBDIR += py-zope.interface
     SUBDIR += py-zope.schema
     SUBDIR += py-zope.testbrowser
+    SUBDIR += py-zugbruecke
     SUBDIR += py3c
     SUBDIR += pybind11
     SUBDIR += pybind11-json
diff --git a/devel/py-zugbruecke/Makefile b/devel/py-zugbruecke/Makefile
new file mode 100644
index 000000000000..aab16c3d03e6
--- /dev/null
+++ b/devel/py-zugbruecke/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	zugbruecke
+DISTVERSION=	0.2.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Calling routines in Windows DLLs from Python
+WWW=		https://github.com/pleiszenburg/zugbruecke
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wenv>=0.5.1:devel/py-wenv@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-zugbruecke/distinfo b/devel/py-zugbruecke/distinfo
new file mode 100644
index 000000000000..545aee05f918
--- /dev/null
+++ b/devel/py-zugbruecke/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1782556438
+SHA256 (zugbruecke-0.2.1.tar.gz) = 9dc0d779c233076cd42d1ca5bfd358e0798def7e364c3638cff936ee733c2e77
+SIZE (zugbruecke-0.2.1.tar.gz) = 154155
diff --git a/devel/py-zugbruecke/pkg-descr b/devel/py-zugbruecke/pkg-descr
new file mode 100644
index 000000000000..bd13ea2b5477
--- /dev/null
+++ b/devel/py-zugbruecke/pkg-descr
@@ -0,0 +1,4 @@
+zugbruecke is a Python package that allows calling routines in Windows DLLs
+from Python scripts running under Linux, macOS, or BSD. It acts as a drop-in
+replacement for ctypes, enabling cross-platform usage of Windows-specific DLLs
+via Wine.