Files
guru/dev-octave/symbolic/symbolic-2.9.0.ebuild
Anna (cybertailor) Vyalkova 12088906c5 */*: drop dead py3.9 impl
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-05-02 00:45:35 +05:00

35 lines
705 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 )
inherit octaveforge python-single-r1
DESCRIPTION="Octave Symbolic Package using SymPy"
HOMEPAGE="https://octave.sourceforge.io/symbolic/index.html"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=sci-mathematics/octave-4.2.0
$(python_gen_cond_dep '
dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/sympy[${PYTHON_USEDEP}]
')
"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
sed -e "s|python = 'python3';|python = \'${EPYTHON}\';|g" -i inst/private/defaultpython.m || die
octaveforge_src_prepare
}