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 659E3138351 for ; Mon, 2 Mar 2020 05:42:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18DC7E090A; Mon, 2 Mar 2020 05:42:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 EB759E08DC for ; Mon, 2 Mar 2020 05:42:46 +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 CB85C34F331 for ; Mon, 2 Mar 2020 05:42:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00320162 for ; Mon, 2 Mar 2020 05:42:43 +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: <1583127755.44ca5be66923dc2bb1a93b80f7e918ad2df4879a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cached-property/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cached-property/cached-property-1.5.1.ebuild X-VCS-Directories: dev-python/cached-property/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 44ca5be66923dc2bb1a93b80f7e918ad2df4879a X-VCS-Branch: master Date: Mon, 2 Mar 2020 05:42:43 +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: b1a11b64-a36b-49dd-8ef9-bbd45ca3623f X-Archives-Hash: c6131353505ea05ca74bbc8c69b3df86 commit: 44ca5be66923dc2bb1a93b80f7e918ad2df4879a Author: Michał Górny gentoo org> AuthorDate: Mon Mar 2 05:21:32 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Mar 2 05:42:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44ca5be6 dev-python/cached-property: Remove test compat with removed impls Signed-off-by: Michał Górny gentoo.org> .../cached-property/cached-property-1.5.1.ebuild | 24 ++++++---------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/dev-python/cached-property/cached-property-1.5.1.ebuild b/dev-python/cached-property/cached-property-1.5.1.ebuild index 879fa766f1b..88b62f7a15e 100644 --- a/dev-python/cached-property/cached-property-1.5.1.ebuild +++ b/dev-python/cached-property/cached-property-1.5.1.ebuild @@ -13,28 +13,16 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ppc64 x86" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="test? ( - dev-python/pytest - dev-python/freezegun - )" +DEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + )" RDEPEND="" +distutils_enable_tests pytest + src_install() { distutils-r1_src_install dodoc README.rst HISTORY.rst CONTRIBUTING.rst AUTHORS.rst } - -python_test() { - local ignore="" - if [[ ${EPYTHON} == python2.7 ]]; then - ignore="--ignore=tests/test_coroutine_cached_property.py \ - --ignore=tests/test_async_cached_property.py" - fi - if [[ ${EPYTHON} == python3.4 ]]; then - ignore="--ignore=test_async_cached_property.py" - fi - py.test -v ${ignore} tests/ || die -}