summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-06-10 11:27:40 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-06-10 11:58:15 +0200
commitf6830b100681865bc0ac847ee9d0df333ce5704b (patch)
tree65331354ac216a17de55e5ef360f26be6b17f334 /dev-python/jupyter_packaging
parentdev-python/tomlkit: add new dep of jupyter_packaging (diff)
downloadgentoo-f6830b100681865bc0ac847ee9d0df333ce5704b.tar.gz
gentoo-f6830b100681865bc0ac847ee9d0df333ce5704b.tar.bz2
gentoo-f6830b100681865bc0ac847ee9d0df333ce5704b.zip
dev-python/jupyter_packaging: add new dep of jupyter_server_mathjax
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/jupyter_packaging')
-rw-r--r--dev-python/jupyter_packaging/Manifest1
-rw-r--r--dev-python/jupyter_packaging/jupyter_packaging-0.10.2.ebuild42
-rw-r--r--dev-python/jupyter_packaging/metadata.xml13
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/jupyter_packaging/Manifest b/dev-python/jupyter_packaging/Manifest
new file mode 100644
index 000000000000..70d35997c061
--- /dev/null
+++ b/dev-python/jupyter_packaging/Manifest
@@ -0,0 +1 @@
+DIST jupyter_packaging-0.10.2.tar.gz 21735 BLAKE2B 92de31e6835a2228f85b008b0fa3b3b8b5ebd175399fa82ee79d328f97b50c09a86dbc325e0378a7f946de34522d4af12fa5997507895ff6d85e77d4e7d38e3c SHA512 c1f5562b8fd72d64998d32d1a85dd1af2b730fa7e4a0d9e2036ea4d5a607ce02b1e9c641f01997ea3b0d6e047fa797009ce3c2ca52ef866ec9c7492ef836e679
diff --git a/dev-python/jupyter_packaging/jupyter_packaging-0.10.2.ebuild b/dev-python/jupyter_packaging/jupyter_packaging-0.10.2.ebuild
new file mode 100644
index 000000000000..593c51be660f
--- /dev/null
+++ b/dev-python/jupyter_packaging/jupyter_packaging-0.10.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Tools to help build and install Jupyter Python packages"
+HOMEPAGE="https://jupyter.org"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-python/tomlkit[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+ dev-python/deprecation[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # Skip the tests that try to install things or call pip
+ rm tests/test_build_api.py \
+ tests/test_datafiles_install.py \
+ tests/test_install.py || die
+ # Permission Denied (tries to write to site_packages)
+ sed -i -e 's/test_create_cmdclass/_&/' \
+ tests/test_deprecated.py || die
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/jupyter_packaging/metadata.xml b/dev-python/jupyter_packaging/metadata.xml
new file mode 100644
index 000000000000..0f356fd0258c
--- /dev/null
+++ b/dev-python/jupyter_packaging/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">jupyter-packaging</remote-id>
+ <remote-id type="github">jupyter/jupyter-packaging</remote-id>
+ </upstream>
+</pkgmetadata>