dev-python/octave_kernel: add version 0.34.1

add python3_10 and enable the tests

Closes: https://bugs.gentoo.org/832863
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2022-03-02 16:25:44 +01:00
parent 274f1bf4bd
commit 161d72c482
3 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST octave_kernel-0.32.0.tar.gz 27353 BLAKE2B da8ddb0c50c65937b4c2b803b6ecc6c5627b3044597ad21377fae9aca5e0ad4bddb6ba65dea77606741c51e435d55c83770d7442de66874c2124f63fda333ac3 SHA512 de8293bed51aca9fe16c2969a467916c90c0c900c5818d48368cd4307bc2b5f0a925f85a0c824c4789d48f72bc31fd7cb341486e70c87a0ca6bc61c799da0ab9
DIST octave_kernel-0.34.1.tar.gz 258197 BLAKE2B 3bb482784c8f3c5571d1278bf30596338fc5827b99507c13fdb7c8b5e58d5718ce5c0dfbd85a7a81a260aab1a4b465ff29043dfa6fe59cac07fe7793dcd8fbdf SHA512 fcd03450af3fa35d1638030fbd840e706ef975eeef364ec1e0fe01cca44d154cfc9186d8a0951a203fa14df52cc8561e4459fa295d719680c5076f5864365f0f

View File

@@ -9,4 +9,5 @@
<remote-id type="pypi">octave_kernel</remote-id>
<remote-id type="github">Calysto/octave_kernel</remote-id>
</upstream>
<stabilize-allarches/>
</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 distutils-r1 virtualx
DESCRIPTION="Jupyter kernel for octave"
HOMEPAGE="https://github.com/Calysto/octave_kernel"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-python/ipykernel[${PYTHON_USEDEP}]
>=dev-python/jupyter_client-4.3.0[${PYTHON_USEDEP}]
>=dev-python/metakernel-0.24.0[${PYTHON_USEDEP}]
sci-mathematics/octave"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
dev-python/jupyter_kernel_test[${PYTHON_USEDEP}]
)
"
distutils_enable_tests --install unittest
python_test() {
distutils_install_for_testing --via-venv
virtx distutils-r1_python_test
}