pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/notmuch notmuch: restrict to python 3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfad7b32a8fa
branches:  trunk
changeset: 381543:dfad7b32a8fa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jul 08 22:12:53 2022 +0000

description:
notmuch: restrict to python 3

diffstat:

 mail/notmuch/Makefile   |  5 +++--
 mail/notmuch/options.mk |  5 ++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 8e1792d500cc -r dfad7b32a8fa mail/notmuch/Makefile
--- a/mail/notmuch/Makefile     Fri Jul 08 22:11:33 2022 +0000
+++ b/mail/notmuch/Makefile     Fri Jul 08 22:12:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2022/06/28 11:34:23 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2022/07/08 22:12:53 wiz Exp $
 
 DISTNAME=      notmuch-0.36
 PKGREVISION=   1
@@ -18,7 +18,8 @@
 INFO_FILES=    yes
 TEST_TARGET=   check
 
-PYTHON_FOR_BUILD_ONLY= tool
+PYTHON_FOR_BUILD_ONLY=         tool
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 REPLACE_BASH+= emacs/notmuch-emacs-mua
 
diff -r 8e1792d500cc -r dfad7b32a8fa mail/notmuch/options.mk
--- a/mail/notmuch/options.mk   Fri Jul 08 22:11:33 2022 +0000
+++ b/mail/notmuch/options.mk   Fri Jul 08 22:12:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2020/09/06 03:11:31 ryoon Exp $
+# $NetBSD: options.mk,v 1.7 2022/07/08 22:12:53 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.notmuch
 PKG_SUPPORTED_OPTIONS= notmuch-emacs doc
@@ -24,8 +24,7 @@
 PLIST_VARS+=           doc
 .if !empty(PKG_OPTIONS:Mdoc)
 PLIST.doc=             yes
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:build
-.include "../../lang/python/versioned_dependencies.mk"
+BUILD_DEPENDS+=                ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 .else
 CONFIGURE_ARGS+=       --without-docs
 CONFIGURE_ARGS+=       --without-api-docs



Home | Main Index | Thread Index | Old Index