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 BFCA2158092 for ; Sun, 1 May 2022 11:49:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD33CE0101; Sun, 1 May 2022 11:49:26 +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 BA951E0101 for ; Sun, 1 May 2022 11:49:26 +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 81E0A341723 for ; Sun, 1 May 2022 11:49:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5F1143B for ; Sun, 1 May 2022 11:49:23 +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: <1651405761.0dda15a891f50d4f23273ba6530b42308027893e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydantic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pydantic/pydantic-1.9.0-r3.ebuild X-VCS-Directories: dev-python/pydantic/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0dda15a891f50d4f23273ba6530b42308027893e X-VCS-Branch: master Date: Sun, 1 May 2022 11:49:23 +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: 77f9c2fd-10b1-4949-b8ec-0f67dca53ae4 X-Archives-Hash: bea17df832a22059640fe3826b4fdc8b commit: 0dda15a891f50d4f23273ba6530b42308027893e Author: Michał Górny gentoo org> AuthorDate: Sun May 1 11:38:54 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 1 11:49:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dda15a8 dev-python/pydantic: Disable C exts on PyPy3 Signed-off-by: Michał Górny gentoo.org> dev-python/pydantic/pydantic-1.9.0-r3.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-python/pydantic/pydantic-1.9.0-r3.ebuild b/dev-python/pydantic/pydantic-1.9.0-r3.ebuild index 49687bdecebc..843103c1e5f3 100644 --- a/dev-python/pydantic/pydantic-1.9.0-r3.ebuild +++ b/dev-python/pydantic/pydantic-1.9.0-r3.ebuild @@ -37,10 +37,12 @@ src_prepare() { } python_compile() { + if [[ ${EPYTHON} == pypy3 ]]; then + # do not build extensions on PyPy to workaround + # https://github.com/cython/cython/issues/4763 + local -x SKIP_CYTHON=1 + fi distutils-r1_python_compile - # "setup.py clean" is broken - # TODO: remove this if distutils-r1.eclass is updated to do rm - rm -rf build || die } python_test() { @@ -69,5 +71,6 @@ python_test() { ) ;; esac + rm -rf pydantic || die epytest }