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 8C8E0158090 for ; Tue, 3 May 2022 10:20:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F33CE0956; Tue, 3 May 2022 10:20:09 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3FEC3E09E0 for ; Tue, 3 May 2022 10:20:09 +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 25089341815 for ; Tue, 3 May 2022 10:20:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5BE20448 for ; Tue, 3 May 2022 10:20:06 +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: <1651573201.35f5ab98f0fee6ed07a95ce8ed0477d4082ad539.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/matplotlib/matplotlib-3.5.2.ebuild X-VCS-Directories: dev-python/matplotlib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 35f5ab98f0fee6ed07a95ce8ed0477d4082ad539 X-VCS-Branch: master Date: Tue, 3 May 2022 10:20:06 +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: 3eeda64c-3f08-47f9-b0c4-641aa280fea7 X-Archives-Hash: 889e4a44a63dfd81aeb44def0996eb9b commit: 35f5ab98f0fee6ed07a95ce8ed0477d4082ad539 Author: Michał Górny gentoo org> AuthorDate: Tue May 3 09:35:56 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 3 10:20:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f5ab98 dev-python/matplotlib: Stop using in-source build Signed-off-by: Michał Górny gentoo.org> dev-python/matplotlib/matplotlib-3.5.2.ebuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dev-python/matplotlib/matplotlib-3.5.2.ebuild b/dev-python/matplotlib/matplotlib-3.5.2.ebuild index 0aea928dc2d7..4184c7743b79 100644 --- a/dev-python/matplotlib/matplotlib-3.5.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.5.2.ebuild @@ -115,10 +115,6 @@ BDEPEND=" ) " -# A few C++ source files are written to srcdir. -# Other than that, the ebuild shall be fit for out-of-source build. -DISTUTILS_IN_SOURCE_BUILD=1 - distutils_enable_tests pytest pkg_setup() { @@ -256,6 +252,8 @@ python_compile_all() { } src_test() { + mkdir build || die + ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die virtx distutils-r1_src_test } @@ -272,7 +270,6 @@ python_test() { grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ > "${BUILD_DIR}"/test-setup.cfg || die local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - ln -s "${WORKDIR}/freetype-${FT_PV}" "${BUILD_DIR}" || die distutils-r1_python_compile -j1 --build-lib="${BUILD_DIR}"/test-lib local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH}