summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-07-10 19:13:22 +0000
committerwiz <wiz@pkgsrc.org>2022-07-10 19:13:22 +0000
commitfa7bb896adc435367943598fd2e5843a27b65598 (patch)
tree50e3774defcda520d879b102e1cffc0b91d1a848 /audio
parentf5a5c053bd0537105670f9637b0a38dee557b156 (diff)
downloadpkgsrc-fa7bb896adc435367943598fd2e5843a27b65598.tar.gz
mpc: restrict to python3
Diffstat (limited to 'audio')
-rw-r--r--audio/mpc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile
index 016397c123a..9c7d674375c 100644
--- a/audio/mpc/Makefile
+++ b/audio/mpc/Makefile
@@ -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 @@ HOMEPAGE= https://musicpd.org/
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_FILES.sphinx= meson.build
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"