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 D22B5158094 for ; Mon, 8 Aug 2022 20:46:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F035BE0C37; Mon, 8 Aug 2022 20:46:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 CF4F4E0C37 for ; Mon, 8 Aug 2022 20:46:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E86FD340E30 for ; Mon, 8 Aug 2022 20:46:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5BA21448 for ; Mon, 8 Aug 2022 20:46:29 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1659991505.b7c9de657e647f16a7f16c9aae0ba76fb9011312.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/stp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/stp/stp-2.3.3-r1.ebuild sci-mathematics/stp/stp-2.3.3-r2.ebuild X-VCS-Directories: sci-mathematics/stp/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: b7c9de657e647f16a7f16c9aae0ba76fb9011312 X-VCS-Branch: master Date: Mon, 8 Aug 2022 20:46:29 +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: 3ef87578-7c2c-47d9-b9fb-7ef684af64a4 X-Archives-Hash: 70db5d0e953a62e5943862494b3c5983 commit: b7c9de657e647f16a7f16c9aae0ba76fb9011312 Author: Maciej Barć gentoo org> AuthorDate: Mon Aug 8 20:33:54 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Aug 8 20:45:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c9de65 sci-mathematics/stp: compile python modules Closes: https://bugs.gentoo.org/864124 Signed-off-by: Maciej Barć gentoo.org> sci-mathematics/stp/{stp-2.3.3-r1.ebuild => stp-2.3.3-r2.ebuild} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/stp/stp-2.3.3-r1.ebuild b/sci-mathematics/stp/stp-2.3.3-r2.ebuild similarity index 89% rename from sci-mathematics/stp/stp-2.3.3-r1.ebuild rename to sci-mathematics/stp/stp-2.3.3-r2.ebuild index 67fbceb1ce9d..e59e4388c2c3 100644 --- a/sci-mathematics/stp/stp-2.3.3-r1.ebuild +++ b/sci-mathematics/stp/stp-2.3.3-r2.ebuild @@ -92,7 +92,12 @@ src_configure() { src_install() { cmake_src_install - mv "${D}"/usr/man "${D}"/usr/share/man || die + # Because Python files for tests (in BUILD_DIR) and those installed on the + # system differ, and are generated upon install, we have to wait for CMake + # to install them into the temporary image. + use python && python_optimize "${D}/$(python_get_sitedir)"/stp + + mv "${D}"/usr/man "${D}"/usr/share/man || die dodoc -r papers }