summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-03-02 16:25:44 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-03-02 16:25:53 +0100
commit161d72c482668642afa4ad3d18b4b376db7d80cf (patch)
tree51b21811f88171d4b99d461a30c6d682ca836fc9 /dev-python
parentdev-python/jupyter_kernel_test: add 0.4.3, new test dep of octave_kernel (diff)
downloadgentoo-161d72c482668642afa4ad3d18b4b376db7d80cf.tar.gz
gentoo-161d72c482668642afa4ad3d18b4b376db7d80cf.tar.bz2
gentoo-161d72c482668642afa4ad3d18b4b376db7d80cf.zip
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>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/octave_kernel/Manifest1
-rw-r--r--dev-python/octave_kernel/metadata.xml1
-rw-r--r--dev-python/octave_kernel/octave_kernel-0.34.1.ebuild34
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/octave_kernel/Manifest b/dev-python/octave_kernel/Manifest
index 376a1f3e8020..6586aafa9737 100644
--- a/dev-python/octave_kernel/Manifest
+++ b/dev-python/octave_kernel/Manifest
@@ -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
diff --git a/dev-python/octave_kernel/metadata.xml b/dev-python/octave_kernel/metadata.xml
index c9f14e651cbe..376a215dc3ea 100644
--- a/dev-python/octave_kernel/metadata.xml
+++ b/dev-python/octave_kernel/metadata.xml
@@ -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>
diff --git a/dev-python/octave_kernel/octave_kernel-0.34.1.ebuild b/dev-python/octave_kernel/octave_kernel-0.34.1.ebuild
new file mode 100644
index 000000000000..eb99c35c06f4
--- /dev/null
+++ b/dev-python/octave_kernel/octave_kernel-0.34.1.ebuild
@@ -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
+}