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 1F4421382C5 for ; Sun, 4 Mar 2018 11:19:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D2FFE091C; Sun, 4 Mar 2018 11:19:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2D3ACE091C for ; Sun, 4 Mar 2018 11:19:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 33DE9335C38 for ; Sun, 4 Mar 2018 11:19:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E71041F0 for ; Sun, 4 Mar 2018 11:19:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1520162368.8f907b3b598d282fdf4ed0c2df36fbd212151eac.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pathlib2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pathlib2/pathlib2-2.3.0.ebuild X-VCS-Directories: dev-python/pathlib2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8f907b3b598d282fdf4ed0c2df36fbd212151eac X-VCS-Branch: master Date: Sun, 4 Mar 2018 11:19:40 +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-Archives-Salt: 3e5f9ef0-9097-443e-9b6e-9d96ec7e9538 X-Archives-Hash: 3db9ea05c0033d3894f0572ade00a0ce commit: 8f907b3b598d282fdf4ed0c2df36fbd212151eac Author: Michał Górny gentoo org> AuthorDate: Sun Mar 4 08:22:45 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 4 11:19:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f907b3b dev-python/pathlib2: Add missing test-DEP on dev-python/mock Closes: https://bugs.gentoo.org/649536 dev-python/pathlib2/pathlib2-2.3.0.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/pathlib2/pathlib2-2.3.0.ebuild b/dev-python/pathlib2/pathlib2-2.3.0.ebuild index c2305767373..c95eda55919 100644 --- a/dev-python/pathlib2/pathlib2-2.3.0.ebuild +++ b/dev-python/pathlib2/pathlib2-2.3.0.ebuild @@ -14,13 +14,15 @@ SRC_URI="mirror://pypi/p/pathlib2/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" - $(python_gen_cond_dep 'dev-python/scandir[${PYTHON_USEDEP}]' 'python2*' python3_4 pypy ) + $(python_gen_cond_dep 'dev-python/scandir[${PYTHON_USEDEP}]' -2 python3_4 ) dev-python/six[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" python_test() { "${EPYTHON}" test_pathlib2.py || die