pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-curses py-curses: python38 needs Modules/clin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/495093b3dbe2
branches:  trunk
changeset: 405965:495093b3dbe2
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Dec 12 10:43:32 2019 +0000

description:
py-curses: python38 needs Modules/clinic available to build

diffstat:

 devel/py-curses/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 4c202eaab49c -r 495093b3dbe2 devel/py-curses/Makefile
--- a/devel/py-curses/Makefile  Thu Dec 12 10:40:57 2019 +0000
+++ b/devel/py-curses/Makefile  Thu Dec 12 10:43:32 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2019/11/03 10:18:26 rillig Exp $
+# $NetBSD: Makefile,v 1.49 2019/12/12 10:43:32 markd Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-curses-${PY_DISTVERSION}
 PKGREVISION=   5
@@ -29,6 +29,11 @@
        done
 
 .include "../../lang/python/extension.mk"
+
+.if ${_PYTHON_VERSION} >= 38
+EXTRACT_ELEMENTS+=     ${PYSUBDIR}/Modules/clinic
+.endif
+
 .include "../../lang/python/srcdist.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index