pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-wtforms



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Mar  6 21:39:44 UTC 2024

Modified Files:
        pkgsrc/www/py-wtforms: Makefile

Log Message:
py-wtforms: fix build with Python 3.12


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/py-wtforms/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-wtforms/Makefile
diff -u pkgsrc/www/py-wtforms/Makefile:1.19 pkgsrc/www/py-wtforms/Makefile:1.20
--- pkgsrc/www/py-wtforms/Makefile:1.19 Wed Mar  6 21:25:50 2024
+++ pkgsrc/www/py-wtforms/Makefile      Wed Mar  6 21:39:44 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2024/03/06 21:25:50 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2024/03/06 21:39:44 wiz Exp $
 
 DISTNAME=      wtforms-3.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -19,6 +19,12 @@ PYTHON_VERSIONS_INCOMPATIBLE=        27
 
 USE_LANGUAGES= # empty
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} > 311
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+.endif
+
 post-extract:
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
 



Home | Main Index | Thread Index | Old Index