From owner-svn-ports-head@freebsd.org Thu Jan 25 13:06:26 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84D3DED6B63; Thu, 25 Jan 2018 13:06:26 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79E307B324; Thu, 25 Jan 2018 13:06:25 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4486553D5; Thu, 25 Jan 2018 13:06:24 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0PD6NQn041802; Thu, 25 Jan 2018 13:06:23 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0PD6NTQ041800; Thu, 25 Jan 2018 13:06:23 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801251306.w0PD6NTQ041800@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 25 Jan 2018 13:06:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459929 - in head/databases/py-xapian: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/databases/py-xapian: . files X-SVN-Commit-Revision: 459929 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 13:06:26 -0000 Author: sunpoet Date: Thu Jan 25 13:06:23 2018 New Revision: 459929 URL: https://svnweb.freebsd.org/changeset/ports/459929 Log: Update BUILD_DEPENDS: restrict py-sphinx to DOCS option PR: 219249 Reported by: Gerrit Beine Added: head/databases/py-xapian/files/ head/databases/py-xapian/files/patch-configure (contents, props changed) Modified: head/databases/py-xapian/Makefile Modified: head/databases/py-xapian/Makefile ============================================================================== --- head/databases/py-xapian/Makefile Thu Jan 25 13:06:18 2018 (r459928) +++ head/databases/py-xapian/Makefile Thu Jan 25 13:06:23 2018 (r459929) @@ -17,8 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to build: Fatal Python error: swig_pythreadstate set in XapianSWIG_Python_Thread_Allow ctor -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.8:textproc/py-sphinx@${FLAVOR} \ - xapian-core>=${PORTVERSION}:databases/xapian-core +BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core LIB_DEPENDS= libxapian.so:databases/xapian-core CONFLICTS_INSTALL= xapian-bindings12 @@ -37,6 +36,8 @@ USES= libtool python tar:xz USE_PYTHON= flavors PORTDOCS= * + +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.4.8:textproc/py-sphinx@${FLAVOR} .include Added: head/databases/py-xapian/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-xapian/files/patch-configure Thu Jan 25 13:06:23 2018 (r459929) @@ -0,0 +1,24 @@ +--- configure.orig 2017-10-16 02:32:59 UTC ++++ configure +@@ -17105,10 +17105,6 @@ $as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +- if test yes = "$with_python" ; then +- as_fn_error $? "Couldn't import sphinx module and call sphinx.main() for Python2 - try package python-sphinx" "$LINENO" 5 +- fi +- PYTHON2= + fi + if test -n "$PYTHON2" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON2_INC/Python.h" >&5 +@@ -17292,10 +17288,6 @@ $as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +- if test yes = "$with_python3" ; then +- as_fn_error $? "Couldn't import sphinx module and call sphinx.main() for Python3 - try package python3-sphinx" "$LINENO" 5 +- fi +- PYTHON3= + fi + if test -n "$PYTHON3" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON3_INC/Python.h" >&5