From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 504CD13835A for ; Wed, 11 Nov 2020 20:16:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76F3AE0B9E; Wed, 11 Nov 2020 20:16:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F2C3E0B9E for ; Wed, 11 Nov 2020 20:16:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45E26340E7D for ; Wed, 11 Nov 2020 20:16:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 839B7439 for ; Wed, 11 Nov 2020 20:16:24 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1605125752.7d5f631005a14439710614ac7d83de24c5de57cd.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/weechat/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/weechat/weechat-3.0.ebuild X-VCS-Directories: net-irc/weechat/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 7d5f631005a14439710614ac7d83de24c5de57cd X-VCS-Branch: master Date: Wed, 11 Nov 2020 20:16:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13ce66cf-e913-4a00-be3e-419e3b6837f5 X-Archives-Hash: ffec394f612eb9a7bbd75b04f55e0f65 commit: 7d5f631005a14439710614ac7d83de24c5de57cd Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Nov 11 19:58:56 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Nov 11 20:15:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5f6310 net-irc/weechat: add py3.9, make tests verbose, unrestrict tests Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> net-irc/weechat/weechat-3.0.ebuild | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/net-irc/weechat/weechat-3.0.ebuild b/net-irc/weechat/weechat-3.0.ebuild index de6b3bf7fba..e1f5520395b 100644 --- a/net-irc/weechat/weechat-3.0.ebuild +++ b/net-irc/weechat/weechat-3.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{3_7,3_8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit cmake python-single-r1 xdg-utils @@ -27,7 +27,11 @@ PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts +spe SCRIPT_LANGS="guile lua +perl php +python ruby tcl" LANGS=" cs de es fr it ja pl ru" IUSE="doc man nls test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( nls ) +" RDEPEND=" dev-libs/libgcrypt:0= @@ -46,6 +50,7 @@ RDEPEND=" spell? ( app-text/aspell ) tcl? ( >=dev-lang/tcl-8.4.15:0= ) " + DEPEND="${RDEPEND} test? ( dev-util/cpputest ) " @@ -59,8 +64,7 @@ BDEPEND=" DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc" -# tests need to be fixed to not use system plugins if weechat is already installed -RESTRICT="test" +RESTRICT="!test? ( test )" pkg_setup() { use python && python-single-r1_pkg_setup @@ -137,6 +141,10 @@ src_configure() { cmake_src_configure } +src_test() { + cmake_src_test -V +} + pkg_postinst() { xdg_desktop_database_update xdg_icon_cache_update