pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bfcd41f214b
branches:  trunk
changeset: 381553:5bfcd41f214b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 09 08:18:02 2022 +0000

description:
musicpd: restrict to python3

diffstat:

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

diffs (38 lines):

diff -r 2e9533969870 -r 5bfcd41f214b audio/musicpd/Makefile
--- a/audio/musicpd/Makefile    Sat Jul 09 08:16:02 2022 +0000
+++ b/audio/musicpd/Makefile    Sat Jul 09 08:18:02 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.266 2022/07/02 16:53:06 ryoon Exp $
+# $NetBSD: Makefile,v 1.267 2022/07/09 08:18:02 wiz Exp $
 
 DISTNAME=      mpd-0.23.7
 PKGNAME=       ${DISTNAME:S/mpd/musicpd/}
@@ -12,6 +12,8 @@
 COMMENT=       Remote controllable audio player
 LICENSE=       gnu-gpl-v2
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
 CONFLICTS=     mpd-[0-9]*
 
 USE_TOOLS+=    pkg-config
@@ -108,9 +110,8 @@
 
 INSTALLATION_DIRS=     ${EGDIR} ${EGDIR}/logrotate.d
 
-PYTHON_FOR_BUILD_ONLY= tool
-
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
+PYTHON_FOR_BUILD_ONLY=         tool
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-extract:
        ${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
@@ -132,7 +133,6 @@
 .include "../../devel/pcre2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../textproc/fmtlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index