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/0ede7f8f66a3
branches:  trunk
changeset: 419091:0ede7f8f66a3
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 7cc8380bbd01 -r 0ede7f8f66a3 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