summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-11 00:51:19 +0000
committerMichał Górny <mgorny@gentoo.org>2020-09-11 09:17:19 +0200
commitbd85d2461541f7e72c0d3ffa510ce9833b6f015d (patch)
tree9ddbefa69a612d2653b5b797d216512f81c4c9bd /dev-python
parentdev-python/widgetsnbextension: Actually remove py3.6 (diff)
downloadgentoo-bd85d2461541f7e72c0d3ffa510ce9833b6f015d.tar.gz
gentoo-bd85d2461541f7e72c0d3ffa510ce9833b6f015d.tar.bz2
gentoo-bd85d2461541f7e72c0d3ffa510ce9833b6f015d.zip
dev-python/nbclient: new package
New dependency of dev-python/nbconvert. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/nbclient/Manifest1
-rw-r--r--dev-python/nbclient/metadata.xml13
-rw-r--r--dev-python/nbclient/nbclient-0.5.0.ebuild39
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest
new file mode 100644
index 000000000000..1862efb51754
--- /dev/null
+++ b/dev-python/nbclient/Manifest
@@ -0,0 +1 @@
+DIST nbclient-0.5.0.gh.tar.gz 68957 BLAKE2B bb041b98ffa38fbafc3e8dd1b21b56b3cdf4eec0ee435e118baa063d13a4a2c13d49e17591bb1365a31ed4dbf6b19732f225402de6fc15fcbbd73b73db2016df SHA512 0633b1237d545be422626758993309e252c34ca16370203476244e2c98c518deaa5cb99987a8282aecc18e6ef1fdb4a4b9b76bc4fd62affa5e3d2fd31175e95a
diff --git a/dev-python/nbclient/metadata.xml b/dev-python/nbclient/metadata.xml
new file mode 100644
index 000000000000..f4e41e36ad78
--- /dev/null
+++ b/dev-python/nbclient/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>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">nbclient</remote-id>
+ <remote-id type="github">jupyter/nbclient</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/nbclient/nbclient-0.5.0.ebuild b/dev-python/nbclient/nbclient-0.5.0.ebuild
new file mode 100644
index 000000000000..0f4853ee4e00
--- /dev/null
+++ b/dev-python/nbclient/nbclient-0.5.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A client library for executing Jupyter notebooks"
+HOMEPAGE="
+ https://nbclient.readthedocs.io/en/latest/
+ https://github.com/jupyter/nbclient/
+ https://pypi.org/project/nbclient/"
+SRC_URI="
+ https://github.com/jupyter/nbclient/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/async_generator[${PYTHON_USEDEP}]
+ >=dev-python/jupyter_client-6.1.5[${PYTHON_USEDEP}]
+ >=dev-python/nbformat-5.0[${PYTHON_USEDEP}]
+ dev-python/nest_asyncio[${PYTHON_USEDEP}]
+ >=dev-python/traitlets-4.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/ipython[${PYTHON_USEDEP}]
+ dev-python/ipykernel[${PYTHON_USEDEP}]
+ dev-python/ipywidgets[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest