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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA01413835A for ; Sat, 5 Jun 2021 15:10:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1797E08F2; Sat, 5 Jun 2021 15:10:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA053E08F2 for ; Sat, 5 Jun 2021 15:10:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FA82340CD8 for ; Sat, 5 Jun 2021 15:10:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85B777A1 for ; Sat, 5 Jun 2021 15:10:38 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1622905831.2a2c79e8b4346c594ee2c97cee54fa7a45ea2766.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/plplot/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/plplot/plplot-5.15.0-r101.ebuild X-VCS-Directories: sci-libs/plplot/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2a2c79e8b4346c594ee2c97cee54fa7a45ea2766 X-VCS-Branch: master Date: Sat, 5 Jun 2021 15:10: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: 1ca8c55b-71f0-421d-8c68-f714f5e0fb1a X-Archives-Hash: 77c75718584f9777abfea6201b3e64e8 commit: 2a2c79e8b4346c594ee2c97cee54fa7a45ea2766 Author: Bernd Waibel posteo net> AuthorDate: Sat Jun 5 14:35:33 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Jun 5 15:10:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a2c79e8 sci-libs/plplot: add support for python-3.9 Bugday 2021-06-05 Byte-compile python package to avoid QA warning Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/21131 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-libs/plplot/plplot-5.15.0-r101.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sci-libs/plplot/plplot-5.15.0-r101.ebuild b/sci-libs/plplot/plplot-5.15.0-r101.ebuild index a8ca91a4eed..6941579942f 100644 --- a/sci-libs/plplot/plplot-5.15.0-r101.ebuild +++ b/sci-libs/plplot/plplot-5.15.0-r101.ebuild @@ -6,7 +6,7 @@ EAPI=7 WX_GTK_VER=3.0-gtk3 FORTRAN_NEEDED=fortran LUA_COMPAT=( lua5-1 ) -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit cmake flag-o-matic fortran-2 java-pkg-opt-2 lua-single python-single-r1 toolchain-funcs virtualx wxwidgets @@ -290,6 +290,8 @@ src_install() { rm -r "${ED}"/usr/share/doc/${PF}/examples || die fi + use python & python_optimize + if use java; then java-pkg_dojar "${BUILD_DIR}"/examples/java/${PN}.jar java-pkg_regso "${EPREFIX}"/usr/$(get_libdir)/jni/plplotjavac_wrap.so