Annotation of pkgsrc/lang/python/srcdist.mk, revision 1.39
1.39 ! adam 1: # $NetBSD: srcdist.mk,v 1.38 2019/06/05 13:44:17 sjmulder Exp $
1.1 drochner 2:
3: .include "../../lang/python/pyversion.mk"
4:
1.34 obache 5: .sinclude "${.CURDIR}/${PYPKGSRCDIR}/dist.mk"
1.27 wiz 6:
1.34 obache 7: PYSUBDIR= ${DISTNAME}
1.27 wiz 8: WRKSRC= ${WRKDIR}/${PYSUBDIR}
1.1 drochner 9:
10: .if defined(PYDISTUTILSPKG)
11: # This is used for standard modules shipped with Python but build as
12: # separate packages.
13:
1.39 ! adam 14: . if ${_PYTHON_VERSION} != 27
1.35 adam 15: EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/clinic
16: . endif
17:
1.38 sjmulder 18: # Standard modules depend on their own version
19: BUILDLINK_API_DEPENDS.${PYPACKAGE}+= ${PYPACKAGE}>=${PY_DISTVERSION}
20: BUILDLINK_ABI_DEPENDS.${PYPACKAGE}+= ${PYPACKAGE}>=${PY_DISTVERSION}
21:
1.1 drochner 22: python-std-patchsetup:
23: ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
24: <${FILESDIR}/setup.py >${WRKSRC}/setup.py
25:
26: post-extract: python-std-patchsetup
27: .endif
CVSweb <webmaster@jp.NetBSD.org>