Browse Source

dev-python/jupyterlab: move to ::gentoo

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
master
Andrew Ammerlaan 3 weeks ago
parent
commit
f90850f3de
No known key found for this signature in database GPG Key ID: A2E2304370447E8E
  1. 1
      dev-python/json5/Manifest
  2. 19
      dev-python/json5/json5-0.9.6.ebuild
  3. 8
      dev-python/json5/metadata.xml
  4. 1
      dev-python/jupyter-lsp/Manifest
  5. 42
      dev-python/jupyter-lsp/jupyter-lsp-1.4.1.ebuild
  6. 8
      dev-python/jupyter-lsp/metadata.xml
  7. 1
      dev-python/jupyterlab-lsp/Manifest
  8. 22
      dev-python/jupyterlab-lsp/jupyterlab-lsp-3.8.1.ebuild
  9. 8
      dev-python/jupyterlab-lsp/metadata.xml
  10. 1
      dev-python/jupyterlab/Manifest
  11. 41
      dev-python/jupyterlab/jupyterlab-3.1.10-r1.ebuild
  12. 8
      dev-python/jupyterlab/metadata.xml
  13. 1
      dev-python/jupyterlab_server/Manifest
  14. 44
      dev-python/jupyterlab_server/jupyterlab_server-2.7.2.ebuild
  15. 8
      dev-python/jupyterlab_server/metadata.xml
  16. 1
      dev-python/nbclassic/Manifest
  17. 8
      dev-python/nbclassic/metadata.xml
  18. 30
      dev-python/nbclassic/nbclassic-0.3.1.ebuild
  19. 1
      dev-python/pytest-console-scripts/Manifest
  20. 8
      dev-python/pytest-console-scripts/metadata.xml
  21. 33
      dev-python/pytest-console-scripts/pytest-console-scripts-1.2.0.ebuild
  22. 1
      dev-python/pytest-tornasync/Manifest
  23. 8
      dev-python/pytest-tornasync/metadata.xml
  24. 35
      dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild

1
dev-python/json5/Manifest

@ -1 +0,0 @@
DIST json5-0.9.6.tar.gz 109927 BLAKE2B 91e01250a6a4bb3f2f8baa6a425b0721fac3888366c36de7aeed3f82123a48d91b06a1fb7458ef93f99a9bbf9f6b81e7d665a64f52652c495df99bb7af0d5cfd SHA512 6e1d8bc602ab7a13e4b495dc27df438b55f7474284af3a828f3fcae51f4b595e5a7d3be9693cdea4930721e2205db966392ba154d7b80ba7b9b6c9a7c0e7f7af

19
dev-python/json5/json5-0.9.6.ebuild

@ -1,19 +0,0 @@
# 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="A Python implementation of the JSON5 data format"
HOMEPAGE="https://github.com/dpranke/pyjson5"
SRC_URI="https://github.com/dpranke/pyjson5/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/py${P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest

8
dev-python/json5/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

1
dev-python/jupyter-lsp/Manifest

@ -1 +0,0 @@
DIST jupyter-lsp-1.4.1.tar.gz 35738 BLAKE2B 8eee0567c6700cf3a518e14a0fb01614fd3ff2abd913d33fe765439de391bae0de706d1e6284bb2bc537da7e4380ff812cc341b28e18af0db50473e37b6711c1 SHA512 c23d4343075a3f13ab19147bf1294443a3852fa7b5b9f888c860de9972a1d17b5398b66348c81a6c6a07aa5c3b4615d9edb4f5d53545a926c3f0d1294cf70da7

42
dev-python/jupyter-lsp/jupyter-lsp-1.4.1.ebuild

@ -1,42 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 optfeature
DESCRIPTION="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab"
HOMEPAGE="https://github.com/krassowski/jupyterlab-lsp"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/entrypoints[${PYTHON_USEDEP}]
>=dev-python/jupyter_server-1.1.2[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_prepare_all() {
# Do not depend on pytest-cov or flake8
sed -i -e '/--cov/d' -e '/--flake8/d' setup.cfg || die
# R lsp server not packaged
sed -i -e 's:test_r_package_detection:_&:' \
jupyter_lsp/tests/test_detect.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
distutils-r1_python_install_all
mv "${ED}/usr/etc" "${ED}/etc" || die
}
pkg_postinst() {
optfeature "Language server for Python" dev-python/python-lsp-server
}

8
dev-python/jupyter-lsp/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

1
dev-python/jupyterlab-lsp/Manifest

@ -1 +0,0 @@
DIST jupyterlab-lsp-3.8.1.tar.gz 249073 BLAKE2B 1ab252fdc8868e997432704869f189fa814c292f7f34ec9f382bf94f4de65d35530f61ea7605176f2356e5b99db812746b78348cb27845c0168afb0498b93f2b SHA512 61840c2d206d3a107d43b97d222d76959d577ef63e0835a249e7201e50b6ce5f0abf067d0d4be928b9b451809e2e6e75803cf4450f71441018495fa17500067c

22
dev-python/jupyterlab-lsp/jupyterlab-lsp-3.8.1.ebuild

@ -1,22 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Coding assistance for JupyterLab with Language Server Protocol"
HOMEPAGE="https://github.com/krassowski/jupyterlab-lsp"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/jupyterlab-3.0.0[${PYTHON_USEDEP}]
<dev-python/jupyterlab-4.0.0[${PYTHON_USEDEP}]
>=dev-python/jupyter-lsp-1.4.0[${PYTHON_USEDEP}]
"

8
dev-python/jupyterlab-lsp/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

1
dev-python/jupyterlab/Manifest

@ -1 +0,0 @@
DIST jupyterlab-3.1.10.tar.gz 10997693 BLAKE2B 290276a24a92dce18ec97fca1bc20dfa79ffe9f905c49fe2e30606732fb892f15dfa9068ec53ed0ce7bfe274240f1857c381954b63c9ed1e6473715a57caa9b2 SHA512 c8e8dc850818fddee2354165bf49ca5c6c6d3daf9ed2f2c3d804c5e7f5f7c919ae613cceb686d7e4e60c6d1d5074223bee2c6ef6c6cf37346a280675a74e0e67

41
dev-python/jupyterlab/jupyterlab-3.1.10-r1.ebuild

@ -1,41 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="JupyterLab computational environment"
HOMEPAGE="https://jupyter.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD MIT GPL-3 Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
# TODO: package openapi et al
RESTRICT="test"
BDEPEND="dev-python/jupyter_packaging[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/jupyter_core[${PYTHON_USEDEP}]
dev-python/jupyterlab_server[${PYTHON_USEDEP}]
dev-python/jupyter_server[${PYTHON_USEDEP}]
dev-python/nbclassic[${PYTHON_USEDEP}]
>=dev-python/jinja-2.1[${PYTHON_USEDEP}]
>=www-servers/tornado-6.1[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
# TODO: package myst_parser
#distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
python_install_all() {
distutils-r1_python_install_all
mv "${ED}/usr/etc" "${ED}/etc" || die
}

8
dev-python/jupyterlab/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

1
dev-python/jupyterlab_server/Manifest

@ -1 +0,0 @@
DIST jupyterlab_server-2.7.2.tar.gz 54056 BLAKE2B d8cee398053237d3289dde30ae8baae78590cd248591111624f1d853e077cb327f4d2d775a8ecca2333bc8c84afa1737a394334ce3805aea8bfdf80152970549 SHA512 7183a0bb3c02bd0788ca02604f1e8e5d068218be506634547ba44f18ff4ae7cad7b0c724f106ad23ee476260377cfe418e6b0d57ee25584b5f6a6c33e01df92d

44
dev-python/jupyterlab_server/jupyterlab_server-2.7.2.ebuild

@ -1,44 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Server components for JupyterLab and JupyterLab like applications"
HOMEPAGE="https://jupyter.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# TODO: package openapi et al
RESTRICT="test"
RDEPEND="
dev-python/Babel[${PYTHON_USEDEP}]
>=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
dev-python/json5[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/jupyter_server[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
# TODO: package myst_parser
#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme
python_prepare_all() {
# Do not depend on pytest-cov
sed -i -e '/addopts/d' pyproject.toml || die
# Defining 'pytest_plugins' in a non-top-level conftest is no longer supported:
mv ${PN}/tests/conftest.py . || die
distutils-r1_python_prepare_all
}

8
dev-python/jupyterlab_server/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

1
dev-python/nbclassic/Manifest

@ -1 +0,0 @@
DIST nbclassic-0.3.1.tar.gz 25761 BLAKE2B 0bdb02d68dd73283cf228c7a4964592ebea9884f9f68571d5ea3715a44236cab1dd68f7e42fe62f82f18f5937a55c3f222bffed5be2b4e8b31c596e6c357e28f SHA512 351aa10652f286a2a6be68d8331b24f200138bd65c777884b1a70aa9d991da0a39a4bc77eefb6f74e47edf708653780d81a3805c28dffb43d32716998e4c38f5

8
dev-python/nbclassic/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

30
dev-python/nbclassic/nbclassic-0.3.1.ebuild

@ -1,30 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
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

1
dev-python/pytest-console-scripts/Manifest

@ -1 +0,0 @@
DIST pytest-console-scripts-1.2.0.tar.gz 13976 BLAKE2B 1452ecfdc47d3341d8f3f30d49f371ae89d6138d56e4dc3a230f6a3803c6c36f542df40e2785c99c3cfd5080fa03b5b3d4926bb742dc99bd2127d47305fbf788 SHA512 07c9baab85035265ab6a21cc0c754b076dba87f08e1ab51319ef47a0a8af0b44f7d42422014c68cf93ed28b508138a70e14b968707cc831682885b3ca8106aa7

8
dev-python/pytest-console-scripts/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

33
dev-python/pytest-console-scripts/pytest-console-scripts-1.2.0.ebuild

@ -1,33 +0,0 @@
# 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="Pytest plugin for testing console scripts"
HOMEPAGE="https://github.com/kvas-it/pytest-console-scripts"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/pytest-4.0.0[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
distutils_enable_tests --install pytest
python_prepare_all() {
# allow newer setuptools_scm
sed -i -e 's/setuptools_scm<6/setuptools_scm/g' setup.py || die
distutils-r1_python_prepare_all
}

1
dev-python/pytest-tornasync/Manifest

@ -1 +0,0 @@
DIST pytest-tornasync-0.6.0.post2.tar.gz 6201 BLAKE2B 6b6a2f941e649fb33373ef39b9d848d68a8af0f5e0d1a5e4496a9160e8e63ea108832437e87382c8203bb2c75673fad37b4ebd76157913199eb1661cd0216591 SHA512 2e258913b17a5442d18928833ee7e9771b6dbd148dbf251a7661432a54d4b9f9f3a7c396134eb544c0e3ce0af48c99d2d632399ac6ebdcf148187a7a523f4974

8
dev-python/pytest-tornasync/metadata.xml

@ -1,8 +0,0 @@
<?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>
</pkgmetadata>

35
dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild

@ -1,35 +0,0 @@
# 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="Pytest plugin for testing Python 3.5+ Tornado code"
HOMEPAGE="https://github.com/eukaryote/pytest-tornasync"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P//_p/.post}.tar.gz"
S="${WORKDIR}/${P//_p/.post}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# TODO: fix this
# E ImportError: cannot import name 'MESSAGE' from 'test'
RESTRICT="test"
RDEPEND="
>=dev-python/pytest-3.0[${PYTHON_USEDEP}]
>=www-servers/tornado-5.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_prepare_all() {
# Do not install the license file
sed -i -e '/LICENSE/d' setup.py || die
distutils-r1_python_prepare_all
}
Loading…
Cancel
Save