summaryrefslogtreecommitdiff
path: root/dev-python/jupyter-server-mathjax
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-20 10:17:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-20 10:17:50 +0100
commit399fa07bfac673a8846466b16c76549e329b55b8 (patch)
tree29af17ef91f1bd986b8e615a96b61db7fad5df14 /dev-python/jupyter-server-mathjax
parent388a0747e5972613060d5ca13955b5cd7132533d (diff)
gentoo auto-resync : 20:05:2023 - 10:17:50
Diffstat (limited to 'dev-python/jupyter-server-mathjax')
-rw-r--r--dev-python/jupyter-server-mathjax/Manifest3
-rw-r--r--dev-python/jupyter-server-mathjax/jupyter-server-mathjax-0.2.6.ebuild46
-rw-r--r--dev-python/jupyter-server-mathjax/metadata.xml13
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/jupyter-server-mathjax/Manifest b/dev-python/jupyter-server-mathjax/Manifest
new file mode 100644
index 000000000000..c8339cba2cc2
--- /dev/null
+++ b/dev-python/jupyter-server-mathjax/Manifest
@@ -0,0 +1,3 @@
+DIST jupyter_server_mathjax-0.2.6.tar.gz 2648665 BLAKE2B 079108842d1c62b58c12e5466736508a4002fcc977acdbb1ea0c35205f685f53b985038af7df1d58ab188eadf6be85c59cc3eed4012a92d4353d5b77424935ea SHA512 a87a73471c470a60fae67d3a2dc7e163c39fc2ce62b357fd6eaa030ffcf63b44106ef35377795e58c5f89a847648c7fedfcace68ad9aef8efa45e71a2fd1a79c
+EBUILD jupyter-server-mathjax-0.2.6.ebuild 1079 BLAKE2B 78c21d681366a5fa90c72eff2edce64edc1c47aa64fc7a47c9e2798bbb1a080ac72afb27ad0d118fee76f966abf05e98c18eb831c2ca16e40e4a57ff2547b8a8 SHA512 62e9eeef1c5bba84817a770b2258b53e7c95323cc918e128433be33dec8a21cf0916452f9a7696cb124aa324d859e6a7b2a5e3463126492e33d8ca04c78d467d
+MISC metadata.xml 453 BLAKE2B 7a4ebaf263ff85d75f9ceac762692040bac146e147e7d01f5464132f3c518f2141c884cc0c447388e863651929727fe1524971925bcee7fad92aa5d33febf90e SHA512 399c94bc19b4144701f44638ea0fde80c366750131c8952a9c8c5f8554275e8ff0be72c3ad08335facb3719c0f8b9c9027ab2f60b3897e5e9791eb3ab95daa17
diff --git a/dev-python/jupyter-server-mathjax/jupyter-server-mathjax-0.2.6.ebuild b/dev-python/jupyter-server-mathjax/jupyter-server-mathjax-0.2.6.ebuild
new file mode 100644
index 000000000000..a382f9ed85e7
--- /dev/null
+++ b/dev-python/jupyter-server-mathjax/jupyter-server-mathjax-0.2.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="MathJax resources as a Jupyter Server Extension"
+HOMEPAGE="
+ https://jupyter.org/
+ https://github.com/jupyter-server/jupyter_server_mathjax/
+ https://pypi.org/project/jupyter-server-mathjax/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+
+RDEPEND="
+ >=dev-python/jupyter-server-1.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/jupyter-packaging[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}]
+ dev-python/pytest-jupyter[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # Don't try (and fail) to fetch things from the internet with npm
+ # https://bugs.gentoo.org/820317
+ sed -i -e '/cmdclass=cmdclass/d' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ mv "${ED}/usr/etc" "${ED}/etc" || die
+}
diff --git a/dev-python/jupyter-server-mathjax/metadata.xml b/dev-python/jupyter-server-mathjax/metadata.xml
new file mode 100644
index 000000000000..7d03f215e7e4
--- /dev/null
+++ b/dev-python/jupyter-server-mathjax/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://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">jupyter-server-mathjax</remote-id>
+ <remote-id type="github">jupyter-server/jupyter_server_mathjax</remote-id>
+ </upstream>
+</pkgmetadata>