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 <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/21131
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Bernd Waibel
2021-06-05 16:35:33 +02:00
committed by Andrew Ammerlaan
parent e86edf4cf6
commit 2a2c79e8b4

View File

@@ -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