git: d386a6adf07f - main - devel/py-wenv: New port: Running Python on Wine

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

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

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

    devel/py-wenv: New port: Running Python on Wine
---
 devel/Makefile          |  1 +
 devel/py-wenv/Makefile  | 21 +++++++++++++++++++++
 devel/py-wenv/distinfo  |  3 +++
 devel/py-wenv/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index ecdabdbd4bae..5e20ca056cf1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6398,6 +6398,7 @@
     SUBDIR += py-weblib
     SUBDIR += py-websockets
     SUBDIR += py-websockify
+    SUBDIR += py-wenv
     SUBDIR += py-wheel
     SUBDIR += py-wheel-filename
     SUBDIR += py-wheel044
diff --git a/devel/py-wenv/Makefile b/devel/py-wenv/Makefile
new file mode 100644
index 000000000000..475a6dc18409
--- /dev/null
+++ b/devel/py-wenv/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	wenv
+DISTVERSION=	0.5.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Running Python on Wine
+WWW=		https://github.com/pleiszenburg/wenv
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2:devel/py-flit-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 concurrent autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-wenv/distinfo b/devel/py-wenv/distinfo
new file mode 100644
index 000000000000..c8c067d73ac8
--- /dev/null
+++ b/devel/py-wenv/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1782556372
+SHA256 (wenv-0.5.1.tar.gz) = f1960b798d6490239b3994acfed24d362f45889d5f6adb186faf08db570a6149
+SIZE (wenv-0.5.1.tar.gz) = 73645
diff --git a/devel/py-wenv/pkg-descr b/devel/py-wenv/pkg-descr
new file mode 100644
index 000000000000..6d616cf5f2a3
--- /dev/null
+++ b/devel/py-wenv/pkg-descr
@@ -0,0 +1,3 @@
+wenv is a Python package that allows you to run Python on Wine, enabling Windows
+Python code to run on Linux, macOS, and BSD systems. It provides a simple way
+to set up and manage Python environments running under Wine.