pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-debugpy



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Aug 23 15:49:50 UTC 2023

Modified Files:
        pkgsrc/devel/py-debugpy: Makefile PLIST

Log Message:
py-debugpy: (finally) fix PLIST for Python < 3.11


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-debugpy/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-debugpy/PLIST

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

Modified files:

Index: pkgsrc/devel/py-debugpy/Makefile
diff -u pkgsrc/devel/py-debugpy/Makefile:1.4 pkgsrc/devel/py-debugpy/Makefile:1.5
--- pkgsrc/devel/py-debugpy/Makefile:1.4        Mon Aug  7 05:13:04 2023
+++ pkgsrc/devel/py-debugpy/Makefile    Wed Aug 23 15:49:49 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2023/08/07 05:13:04 adam Exp $
+# $NetBSD: Makefile,v 1.5 2023/08/23 15:49:49 adam Exp $
 
 DISTNAME=      debugpy-1.6.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,6 +13,15 @@ LICENSE=     mit
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+PLIST_VARS+=   frame_eval
+.include "../../lang/python/pyversion.mk"
+
+# pydevd_frame_evaluator is not available for Python 3.11
+# see src/debugpy/_vendored/pydevd/setup_pydevd_cython.py
+.if ${PYTHON_VERSION} < 311
+PLIST.frame_eval=      yes
+.endif
+
 post-extract:
        ${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} +
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} +

Index: pkgsrc/devel/py-debugpy/PLIST
diff -u pkgsrc/devel/py-debugpy/PLIST:1.3 pkgsrc/devel/py-debugpy/PLIST:1.4
--- pkgsrc/devel/py-debugpy/PLIST:1.3   Thu Aug  3 08:00:23 2023
+++ pkgsrc/devel/py-debugpy/PLIST       Wed Aug 23 15:49:49 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/08/03 08:00:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/08/23 15:49:49 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -338,6 +338,7 @@ ${PYSITELIB}/debugpy/_vendored/pydevd/_p
 ${PYSITELIB}/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c
 ${PYSITELIB}/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pxd
 ${PYSITELIB}/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.pyx
+${PLIST.frame_eval}${PYSITELIB}/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.so
 ${PYSITELIB}/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.template.pyx
 ${PYSITELIB}/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_tracing.py
 ${PYSITELIB}/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_tracing.pyc



Home | Main Index | Thread Index | Old Index