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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A743915808B for ; Fri, 18 Mar 2022 04:04:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 846ABE0839; Fri, 18 Mar 2022 04:04:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51E9BE0839 for ; Fri, 18 Mar 2022 04:04:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A38B93435E8 for ; Fri, 18 Mar 2022 04:04:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 885AD32F for ; Fri, 18 Mar 2022 04:04:38 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1647576231.6cc40180080aa9c63bc12d7f9de3b9a999305746.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/compreffor/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/compreffor/compreffor-0.5.1_p1.ebuild X-VCS-Directories: dev-python/compreffor/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 6cc40180080aa9c63bc12d7f9de3b9a999305746 X-VCS-Branch: dev Date: Fri, 18 Mar 2022 04:04:38 +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: 430eec8c-15eb-4eb8-9a91-ad5a7a3abd89 X-Archives-Hash: 66ab43e86be6e129b1baac5886397f1b commit: 6cc40180080aa9c63bc12d7f9de3b9a999305746 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Mar 18 03:06:30 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Fri Mar 18 04:03:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cc40180 dev-python/compreffor: fix tests Closes: https://bugs.gentoo.org/835030 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/compreffor/compreffor-0.5.1_p1.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild index bac2d4796..4b24a4bf1 100644 --- a/dev-python/compreffor/compreffor-0.5.1_p1.ebuild +++ b/dev-python/compreffor/compreffor-0.5.1_p1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools MYPV="${PV/_p/.post}" MYP="${PN}-${MYPV}" -PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -24,8 +24,7 @@ SLOT="0" RDEPEND=" >=dev-python/fonttools-4[${PYTHON_USEDEP}] " -DEPEND=" - ${RDEPEND} +BDEPEND=" >=dev-python/cython-0.29.24[${PYTHON_USEDEP}] dev-python/setuptools_scm[${PYTHON_USEDEP}] " @@ -35,7 +34,12 @@ PATCHES=( "${FILESDIR}/${P}-remove-unwanted-dependencies.patch" ) distutils_enable_tests pytest +python_compile() { + distutils-r1_python_compile + esetup.py build_ext --inplace +} + python_test() { - distutils_install_for_testing - default + cd "${S}/src/python" || die + PYTHONPATH=".:${PYTHONPATH}" epytest compreffor/test }