pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/srain



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 10 17:20:34 UTC 2022

Modified Files:
        pkgsrc/chat/srain: Makefile

Log Message:
srain: restrict to python 3


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/chat/srain/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/srain/Makefile
diff -u pkgsrc/chat/srain/Makefile:1.17 pkgsrc/chat/srain/Makefile:1.18
--- pkgsrc/chat/srain/Makefile:1.17     Mon Apr 18 19:10:32 2022
+++ pkgsrc/chat/srain/Makefile  Sun Jul 10 17:20:33 2022
@@ -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 @@ HOMEPAGE=    https://srain.im/
 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_FILES.sphinx= doc/meson.build
 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