pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/mpc mpc: restrict to python3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9019039764b0
branches:  trunk
changeset: 381595:9019039764b0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 10 19:13:22 2022 +0000

description:
mpc: restrict to python3

diffstat:

 audio/mpc/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r f613510eea0f -r 9019039764b0 audio/mpc/Makefile
--- a/audio/mpc/Makefile        Sun Jul 10 19:11:09 2022 +0000
+++ b/audio/mpc/Makefile        Sun Jul 10 19:13:22 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2021/12/07 18:17:56 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2022/07/10 19:13:22 wiz Exp $
 
 DISTNAME=              mpc-0.34
 CATEGORIES=            audio
@@ -10,6 +10,7 @@
 COMMENT=               Command-line client for musicpd
 LICENSE=               gnu-gpl-v2
 
+TOOL_DEPENDS+=         ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 # added as of 0.34. not sure why, but meson complains if it's missing
 TOOL_DEPENDS+=         rsync-[0-9]*:../../net/rsync
 
@@ -23,13 +24,12 @@
 SUBST_MESSAGE.sphinx=  Fixing sphinx binary name.
 SUBST_SED.sphinx+=     -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX},"
 
-PYTHON_FOR_BUILD_ONLY= tool
-
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
+PYTHON_FOR_BUILD_ONLY=         tool
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../devel/meson/build.mk"
 BUILDLINK_API_DEPENDS.libmpdclient+=   libmpdclient>=2.16
 .include "../../audio/libmpdclient/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/pyversion.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index