1 |
commit: 4768dd4498441160beb79b2b88b068fd613803ed |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 15:31:21 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 15:43:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4768dd44 |
7 |
|
8 |
dev-python/nbformat: Switch to PEP 517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/nbformat/nbformat-5.1.3-r1.ebuild | 38 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/nbformat/nbformat-5.1.3-r1.ebuild b/dev-python/nbformat/nbformat-5.1.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..e9c7277cbd9d |
18 |
--- /dev/null |
19 |
+++ b/dev-python/nbformat/nbformat-5.1.3-r1.ebuild |
20 |
@@ -0,0 +1,38 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+PYTHON_REQ_USE='sqlite' |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Reference implementation of the Jupyter Notebook format" |
33 |
+HOMEPAGE="https://jupyter.org" |
34 |
+# missing on pypi |
35 |
+SRC_URI=" |
36 |
+ https://github.com/jupyter/nbformat/archive/${PV}.tar.gz |
37 |
+ -> ${P}.gh.tar.gz" |
38 |
+ |
39 |
+LICENSE="BSD" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ >=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}] |
45 |
+ dev-python/ipython_genutils[${PYTHON_USEDEP}] |
46 |
+ >=dev-python/traitlets-4.1[${PYTHON_USEDEP}] |
47 |
+ dev-python/jupyter_core[${PYTHON_USEDEP}] |
48 |
+ " |
49 |
+BDEPEND=" |
50 |
+ test? ( |
51 |
+ dev-python/fastjsonschema[${PYTHON_USEDEP}] |
52 |
+ dev-python/testpath[${PYTHON_USEDEP}] |
53 |
+ ) |
54 |
+ " |
55 |
+ |
56 |
+distutils_enable_sphinx docs \ |
57 |
+ dev-python/numpydoc |
58 |
+distutils_enable_tests pytest |