pkgsrc/devel/py-debugpy/Makefile
adam e0ad113204 py-debugpy: updated to 1.8.0
debugpy 1.8.0

Fixes 1379.

Drops Python 3.7 support. Please use debugpy v1.7.0 if you need to debug Python 3.7.
2023-10-26 06:28:56 +00:00

33 lines
904 B
Makefile

# $NetBSD: Makefile,v 1.6 2023/10/26 06:28:56 adam Exp $
DISTNAME= debugpy-1.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/debugpy/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/microsoft/debugpy
COMMENT= Implementation of the Debug Adapter Protocol for Python
LICENSE= mit
PYTHON_VERSIONS_INCOMPATIBLE= 27
PLIST_VARS+= frame_eval pydevd_cython
.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
.if ${PYTHON_VERSION} < 312
PLIST.pydevd_cython= yes
.endif
post-extract:
${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} +
${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} +
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"