diff options
author | adam <adam@pkgsrc.org> | 2015-12-05 20:44:22 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2015-12-05 20:44:22 +0000 |
commit | ea98471d28cf713a88e308a2711c29ecd9553369 (patch) | |
tree | 5bc40ab5f5efa74351cca73cb44046063d723c93 /lang/python | |
parent | 04842132aa952e55638e070130a09f0cf3bcb316 (diff) | |
download | pkgsrc-ea98471d28cf713a88e308a2711c29ecd9553369.tar.gz |
Python 3.5 standard modules albo require clinic
Diffstat (limited to 'lang/python')
-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 ee536ab98d9..63ff87f5a88 100644 --- a/lang/python/srcdist.mk +++ b/lang/python/srcdist.mk @@ -1,4 +1,4 @@ -# $NetBSD: srcdist.mk,v 1.34 2010/09/17 07:11:41 obache Exp $ +# $NetBSD: srcdist.mk,v 1.35 2015/12/05 20:44:22 adam Exp $ .include "../../lang/python/pyversion.mk" @@ -11,6 +11,10 @@ WRKSRC= ${WRKDIR}/${PYSUBDIR} # This is used for standard modules shipped with Python but build as # separate packages. +. if ${PYVERSSUFFIX} == "3.5" +EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/clinic +. endif + python-std-patchsetup: ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \ <${FILESDIR}/setup.py >${WRKSRC}/setup.py |