diff options
Diffstat (limited to 'lang/python/srcdist.mk')
-rw-r--r-- | lang/python/srcdist.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/srcdist.mk b/lang/python/srcdist.mk index 57bd04fa9ab..b5955e278d5 100644 --- a/lang/python/srcdist.mk +++ b/lang/python/srcdist.mk @@ -1,4 +1,4 @@ -# $NetBSD: srcdist.mk,v 1.37 2018/07/03 03:55:40 adam Exp $ +# $NetBSD: srcdist.mk,v 1.38 2019/06/05 13:44:17 sjmulder Exp $ .include "../../lang/python/pyversion.mk" @@ -15,6 +15,10 @@ WRKSRC= ${WRKDIR}/${PYSUBDIR} EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/clinic . endif +# Standard modules depend on their own version +BUILDLINK_API_DEPENDS.${PYPACKAGE}+= ${PYPACKAGE}>=${PY_DISTVERSION} +BUILDLINK_ABI_DEPENDS.${PYPACKAGE}+= ${PYPACKAGE}>=${PY_DISTVERSION} + python-std-patchsetup: ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \ <${FILESDIR}/setup.py >${WRKSRC}/setup.py |