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 A88E41382C5 for ; Sun, 28 Jun 2020 10:41:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 905A3E08AD; Sun, 28 Jun 2020 10:41:19 +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 77677E08AD for ; Sun, 28 Jun 2020 10:41:19 +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 4BCE934F234 for ; Sun, 28 Jun 2020 10:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96DB52BD for ; Sun, 28 Jun 2020 10:41:15 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1593340857.4c564b354f28405db91853878b9f7e71fe441c59.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xapers/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/xapers/xapers-0.8.2-r1.ebuild X-VCS-Directories: app-text/xapers/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 4c564b354f28405db91853878b9f7e71fe441c59 X-VCS-Branch: master Date: Sun, 28 Jun 2020 10:41:15 +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: bdb9765c-d453-4da3-8249-b11da9e75c96 X-Archives-Hash: 2ac9e3fcaa045dbe1ee594e7282de71e commit: 4c564b354f28405db91853878b9f7e71fe441c59 Author: William Pettersson ewpettersson se> AuthorDate: Tue Jun 2 10:05:24 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Jun 28 10:40:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c564b35 app-text/xapers: Python 3.7/3.8 support Updates PYTHON_COMPAT for python 3.7 and 3.8 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: William Pettersson ewpettersson.se> Closes: https://github.com/gentoo/gentoo/pull/16051 Signed-off-by: Joonas Niilola gentoo.org> app-text/xapers/xapers-0.8.2-r1.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app-text/xapers/xapers-0.8.2-r1.ebuild b/app-text/xapers/xapers-0.8.2-r1.ebuild index 9c57647d373..808db0ee857 100644 --- a/app-text/xapers/xapers-0.8.2-r1.ebuild +++ b/app-text/xapers/xapers-0.8.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -11,6 +11,8 @@ inherit distutils-r1 DESCRIPTION="Personal document indexing system" HOMEPAGE="https://finestructure.net/xapers/" SRC_URI="https://finestructure.net/xapers/releases/${P}.tar.gz" +IUSE="test" +RESTRICT="!test? ( test )" LICENSE="GPL-3" SLOT="0" @@ -24,9 +26,9 @@ RDEPEND="app-text/poppler[utils] x11-misc/xclip x11-misc/xdg-utils" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="test? ( ${RDEPEND} )" -src_tests() { - ./test.sh +src_test() { + cd test || die + ./all || die }