commit: d254322cc75e0434424c98e5931020471c796af8 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Thu Sep 9 12:44:23 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Thu Sep 9 13:39:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d254322c
dev-python/nbclassic: import from ::sci Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-python/nbclassic/Manifest | 1 + dev-python/nbclassic/metadata.xml | 13 +++++++++++++ dev-python/nbclassic/nbclassic-0.3.1.ebuild | 30 +++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-python/nbclassic/Manifest b/dev-python/nbclassic/Manifest new file mode 100644 index 00000000000..550a66503bc --- /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 00000000000..321d37468f4 --- /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>s...@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 00000000000..2802c680900 --- /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