summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-09-09 14:44:23 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-09-09 15:39:10 +0200
commitd254322cc75e0434424c98e5931020471c796af8 (patch)
tree8f8cef1fdf4e91acf1d6a39e5c6b4868934d7bc8 /dev-python/nbclassic
parentdev-python/jupyter_server: add version 1.11.0, add py3.10, fix tests (diff)
downloadgentoo-d254322cc75e0434424c98e5931020471c796af8.tar.gz
gentoo-d254322cc75e0434424c98e5931020471c796af8.tar.bz2
gentoo-d254322cc75e0434424c98e5931020471c796af8.zip
dev-python/nbclassic: import from ::sci
Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/nbclassic')
-rw-r--r--dev-python/nbclassic/Manifest1
-rw-r--r--dev-python/nbclassic/metadata.xml13
-rw-r--r--dev-python/nbclassic/nbclassic-0.3.1.ebuild30
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/nbclassic/Manifest b/dev-python/nbclassic/Manifest
new file mode 100644
index 000000000000..550a66503bca
--- /dev/null
+++ b/dev-python/nbclassic/Manifest
@@ -0,0 +1 @@
+DIST nbclassic-0.3.1.tar.gz 25761 BLAKE2B 0bdb02d68dd73283cf228c7a4964592ebea9884f9f68571d5ea3715a44236cab1dd68f7e42fe62f82f18f5937a55c3f222bffed5be2b4e8b31c596e6c357e28f SHA512 351aa10652f286a2a6be68d8331b24f200138bd65c777884b1a70aa9d991da0a39a4bc77eefb6f74e47edf708653780d81a3805c28dffb43d32716998e4c38f5
diff --git a/dev-python/nbclassic/metadata.xml b/dev-python/nbclassic/metadata.xml
new file mode 100644
index 000000000000..321d37468f4a
--- /dev/null
+++ b/dev-python/nbclassic/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">nbclassic</remote-id>
+ <remote-id type="github">jupyterlab/nbclassic</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/nbclassic/nbclassic-0.3.1.ebuild b/dev-python/nbclassic/nbclassic-0.3.1.ebuild
new file mode 100644
index 000000000000..2802c6809006
--- /dev/null
+++ b/dev-python/nbclassic/nbclassic-0.3.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Jupyter Notebook as a Jupyter Server Extension"
+HOMEPAGE="https://jupyter.org/"
+SRC_URI="https://github.com/jupyterlab/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/jupyter_server[${PYTHON_USEDEP}]
+ dev-python/notebook[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest