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 2330F158087 for ; Tue, 1 Feb 2022 20:42:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B77D2BC042; Tue, 1 Feb 2022 20:42:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C84D2BC042 for ; Tue, 1 Feb 2022 20:41:59 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF73A342E6C for ; Tue, 1 Feb 2022 20:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4A8AD0 for ; Tue, 1 Feb 2022 20:41:55 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1643748107.deb427c10768078cfbd23a14eb9cb569bf7d5d94.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/libpillowfight/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild X-VCS-Directories: dev-python/libpillowfight/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: deb427c10768078cfbd23a14eb9cb569bf7d5d94 X-VCS-Branch: master Date: Tue, 1 Feb 2022 20:41:55 +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: 6138fd38-c98b-444d-9dff-468d9e97f1c2 X-Archives-Hash: d1ae9414c4c8bad94e11dca8019aadf7 commit: deb427c10768078cfbd23a14eb9cb569bf7d5d94 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Feb 1 18:58:55 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Feb 1 20:41:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb427c1 dev-python/libpillowfight: fix test calls Use better way to handle pytest C errors Fixes: 9b96d2dfc7572357be8dbd92fc9302660c196129 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild index 5e1ace91926e..62e40857072e 100644 --- a/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild +++ b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,6 +23,7 @@ RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" distutils_enable_tests nose python_prepare_all() { + ln -s "${S}"/tests "${T}"/tests || die sed -e "/'nose>=1.0'/d" -i setup.py || die cat > src/pillowfight/_version.h <<- EOF || die #define INTERNAL_PILLOWFIGHT_VERSION "$(ver_cut 1-3)" @@ -31,8 +32,6 @@ python_prepare_all() { } python_test() { - cp -r -l -n tests "${BUILD_DIR}/lib" || die - cd "${BUILD_DIR}/lib" || die - distutils-r1_python_test - rm -r tests || die + cd "${T}" || die + epytest "${S}"/tests -o addopts= }