pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtkada gtkada: restrict to python3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f613510eea0f
branches:  trunk
changeset: 381594:f613510eea0f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 10 19:11:09 2022 +0000

description:
gtkada: restrict to python3

Untested, since it doesn't build for me.

diffstat:

 x11/gtkada/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 36b7ffda169f -r f613510eea0f x11/gtkada/Makefile
--- a/x11/gtkada/Makefile       Sun Jul 10 19:08:30 2022 +0000
+++ b/x11/gtkada/Makefile       Sun Jul 10 19:11:09 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2022/06/28 11:37:53 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2022/07/10 19:11:09 wiz Exp $
 
 DISTNAME=      gtkada-${GTKADA_VERSION}
 PKGREVISION=   29
@@ -13,7 +13,9 @@
 COMMENT=       Ada graphical toolkit based on Gtk+
 LICENSE=       gnu-gpl-v2
 
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:build
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake perl pkg-config
@@ -66,6 +68,6 @@
        ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/gtkada/gtkada_ug/_sources
 
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/pyversion.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index