pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/srain srain: restrict to python 3
details: https://anonhg.NetBSD.org/pkgsrc/rev/d73e7520d108
branches: trunk
changeset: 381583:d73e7520d108
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jul 10 17:20:33 2022 +0000
description:
srain: restrict to python 3
diffstat:
chat/srain/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r 3d9401fa5155 -r d73e7520d108 chat/srain/Makefile
--- a/chat/srain/Makefile Sun Jul 10 16:32:43 2022 +0000
+++ b/chat/srain/Makefile Sun Jul 10 17:20:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2022/04/18 19:10:32 adam Exp $
+# $NetBSD: Makefile,v 1.18 2022/07/10 17:20:33 wiz Exp $
DISTNAME= srain-1.3.2
PKGREVISION= 1
@@ -10,6 +10,10 @@
COMMENT= Modern IRC client written in GTK
LICENSE= gnu-gpl-v3
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
USE_TOOLS+= pkg-config
USE_TOOLS+= msgfmt msgmerge xgettext
@@ -26,18 +30,16 @@
SUBST_MESSAGE.sphinx= Fixing sphinx binary name.
SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX},"
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
-
PYTHON_FOR_BUILD_ONLY= tool
post-install:
${RM} -f ${DESTDIR}${PREFIX}/share/srain/themes/meson.build
+.include "../../lang/python/pyversion.mk"
.include "../../devel/meson/build.mk"
.include "../../devel/gettext-tools/msgfmt-desktop.mk"
.include "../../devel/libconfig/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../net/libsoup/buildlink3.mk"
.include "../../security/libsecret/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index