dev-octave/symbolic: new package, add 2.9.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-07 04:10:05 +02:00
parent 2b41719f96
commit 197e1a6079
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST octaveforge_configure 75 BLAKE2B a6d08088e51628113f7ee2d125fad93a20978cdec60d30cd6628a6056b127968ccf0bc58d2a01166ecc68e8e1ff25518ecf0a2fff69f1ccf63ba2e95eb327db2 SHA512 f293f8ac550953d7c758dadd1bfbf57754a725e6480e8f11b85b883370989b323324492a16118a9b4bfa897a6720f7f20776754cbf763c61bfa10c90191d9a8f
DIST symbolic-2.9.0.tar.gz 259373 BLAKE2B fc2301d41489d32acc1ee3ada569d8e45d9440a702fad09c4e2a59467e736b9b57988044ec3c0780ad713359af0865fb7b0cf6fb332208f1c3d23a1aff55b852 SHA512 1ff7d5785c74b9d11db372efbe4d99cb3c82b125048b2910e8537ba11711d9f2a8848fa9ed076b289a933fe111df7e7cdecd9e8eec6ef020da16b94cba0a0ed0

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<changelog>https://octave.sourceforge.io/symbolic/NEWS.html</changelog>
<doc lang="en">https://octave.sourceforge.io/symbolic/overview.html</doc>
<remote-id type="sourceforge">octave/symbolic</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..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
}