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 2738B1382C5 for ; Fri, 5 Jun 2020 16:24:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B8E0E0872; Fri, 5 Jun 2020 16:24:45 +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 27647E0872 for ; Fri, 5 Jun 2020 16:24:45 +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 9EB0334F2E4 for ; Fri, 5 Jun 2020 16:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4DFD31 for ; Fri, 5 Jun 2020 16:24:39 +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: <1591374272.b3cf50ce256a24b1dc709230d650618f0c9b83c7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xcffib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/xcffib/xcffib-0.9.0.ebuild X-VCS-Directories: dev-python/xcffib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b3cf50ce256a24b1dc709230d650618f0c9b83c7 X-VCS-Branch: master Date: Fri, 5 Jun 2020 16:24:39 +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: 7760f3a9-eeb0-4149-9b55-08597a88e8d6 X-Archives-Hash: 134cc2d968d59b73ba42003c8a4ca1b8 commit: b3cf50ce256a24b1dc709230d650618f0c9b83c7 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 5 16:09:15 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 5 16:24:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3cf50ce dev-python/xcffib: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/xcffib/xcffib-0.9.0.ebuild | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/dev-python/xcffib/xcffib-0.9.0.ebuild b/dev-python/xcffib/xcffib-0.9.0.ebuild index 014ddb3a75d..733fcfb1506 100644 --- a/dev-python/xcffib/xcffib-0.9.0.ebuild +++ b/dev-python/xcffib/xcffib-0.9.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) +PYTHON_COMPAT=( python2_7 python3_{6..9} ) inherit distutils-r1 virtualx @@ -14,24 +14,23 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86" -IUSE="test" -RESTRICT="!test? ( test )" DEPEND="x11-libs/libxcb" RDEPEND=" - $(python_gen_cond_dep '>=dev-python/cffi-1.1:=[${PYTHON_USEDEP}]' 'python*') + $(python_gen_cond_dep ' + >=dev-python/cffi-1.1:=[${PYTHON_USEDEP}] + ' 'python*') dev-python/six[${PYTHON_USEDEP}] ${DEPEND}" BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] test? ( - dev-python/nose[${PYTHON_USEDEP}] - x11-base/xorg-server[xvfb] x11-apps/xeyes )" +distutils_enable_tests nose + PATCHES=( "${FILESDIR}"/${PN}-0.4.2-test-imports.patch ) -python_test() { - virtx nosetests -d -v +src_test() { + virtx distutils-r1_src_test }