textproc/py-enchant: Unhook WX

This commit is contained in:
2025-04-02 22:54:50 +02:00
parent 444aa5b66d
commit ea005703f0
+1 -13
View File
@@ -1,6 +1,5 @@
PORTNAME= enchant
PORTVERSION= 3.2.2
PORTREVISION= 3
CATEGORIES= textproc devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,24 +14,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libenchant.so:textproc/enchant
OPTIONS_DEFINE= WX
OPTIONS_DEFAULT=WX
WX_DESC= Provide a wxSpellCheckerDialog
OPTIONS_SUB= yes
.if ${FLAVOR:Upy36:Mpy3*}
OPTIONS_EXCLUDE= WX
.endif
USES= python
USE_PYTHON= distutils py3kplist
NO_ARCH= yes
WX_USE= WX=3.0
WX_VARS= WX_COMPS=python:run
PLIST_SUB+= VER=${PORTVERSION}
post-install-WX-off:
post-install:
${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/checker/wxSpellCheckerDialog*
.include <bsd.port.mk>