Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gentoo
phackerlay
Commits
9aa350ff
Commit
9aa350ff
authored
May 12, 2022
by
Alexander B. Ustinov
Browse files
jupyterhub
parent
0bcf83ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
dev-python/jupyterhub/Manifest
View file @
9aa350ff
AUX jupyterhub.initd 398 BLAKE2B a5778351f18a7e1661b83d3931e495bc17f50288a131ebcc854b04a7e92705d5773e27e46606580d73d2cd49bdca45d6d24d2d8af827a8e69875ca5b13e6762d SHA512 79e957e2a7dd08dd392ba8cd91ca66d828f8f1eea1dcebcd60159e1f69d4a0896a2fc9fd91c4a2c9d0138f1883297c9a1ec2716825b65bd6ff12fb2335cfce84
DIST jupyterhub-2.2.2.tar.gz 5546084 BLAKE2B e2119e061446dd10bc106f801e477eef310fc0de945cb6c3c8833ee39834dfc316cf2959d4e3689d19ea6ef3e108095bcd1ce3cff0eb894b5a695158dfb0829f SHA512 8a78566f238d6cabe7d023351b17b80cef32cee50698ccbee0aceabea5c7dff443816621271905c73d81b14f095ec0b8938b30cde1f5bac1e3f407ac6abb9852
DIST jupyterhub-2.3.0.tar.gz 5554322 BLAKE2B caaa17038f875a6138f6c0cbfc73bf140ce576c09fab307dbfa9e7e413822452c95ca824f9055f8f599f1a9f17d6c1e3978822113ec3e511b5c0fcaa42b4222a SHA512 f6c920c5d0a7354ed845d8e3c184b05086fae9f94646663e03866fb10aa95617d0eeff14a147b957419f97021259210a755490ff4300a413efdad2c453a636e1
EBUILD jupyterhub-2.2.2.ebuild 2847 BLAKE2B 58f47772bcd63119fcc1ab08c13f35f4c2a55917c8782b0b984d11e85aad873b37201b76069c801b633179e664ecc8ea4e6cf71a6677ec49fce468db0fa390f6 SHA512 20c906a587c806ea246184f2978e81952a7883f966bf0af1091ee283bf3e83b2f78cfa487fa430198c0c680df7c09acd84a75279a3544e3029f7df9ffc828596
EBUILD jupyterhub-2.3.0.ebuild 2847 BLAKE2B 58f47772bcd63119fcc1ab08c13f35f4c2a55917c8782b0b984d11e85aad873b37201b76069c801b633179e664ecc8ea4e6cf71a6677ec49fce468db0fa390f6 SHA512 20c906a587c806ea246184f2978e81952a7883f966bf0af1091ee283bf3e83b2f78cfa487fa430198c0c680df7c09acd84a75279a3544e3029f7df9ffc828596
dev-python/jupyterhub/jupyterhub-2.3.0.ebuild
0 → 100644
View file @
9aa350ff
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI
=
8
PYTHON_COMPAT
=(
python3_
{
8,9
}
)
inherit distutils-r1
DESCRIPTION
=
"A multi-user server for Jupyter notebooks"
HOMEPAGE
=
"https://github.com/jupyterhub/jupyterhub"
SRC_URI
=
"https://github.com/jupyterhub/jupyterhub/archive/
${
PV
}
.tar.gz ->
${
P
}
.tar.gz"
LICENSE
=
"BSD-2"
SLOT
=
"0"
KEYWORDS
=
"~amd64"
IUSE
=
"ldapauthenticator postgres sudospawner"
RESTRICT
=
network-sandbox
#dev-libs/kpathsea no mpl plots
distutils_enable_tests pytest
RDEPEND
=
"
acct-user/jupyterhub
acct-group/jupyterhub
>=dev-python/alembic-1.4[
${
PYTHON_USEDEP
}
]
>=dev-python/async_generator-1.9[
${
PYTHON_USEDEP
}
]
>=dev-python/certipy-0.1.2[
${
PYTHON_USEDEP
}
]
dev-python/entrypoints[
${
PYTHON_USEDEP
}
]
>=dev-python/jinja-2.11.0[
${
PYTHON_USEDEP
}
]
>=dev-python/jupyter-telemetry-0.1.0[
${
PYTHON_USEDEP
}
]
>=dev-python/oauthlib-3.0[
${
PYTHON_USEDEP
}
]
dev-python/pamela[
${
PYTHON_USEDEP
}
]
dev-python/packaging[
${
PYTHON_USEDEP
}
]
>=dev-python/prometheus_client-0.4.0[
${
PYTHON_USEDEP
}
]
dev-python/python-dateutil[
${
PYTHON_USEDEP
}
]
dev-python/requests[
${
PYTHON_USEDEP
}
]
>=dev-python/sqlalchemy-1.1[
${
PYTHON_USEDEP
}
]
>=www-servers/tornado-5.1[
${
PYTHON_USEDEP
}
]
>=dev-python/traitlets-4.3.2[
${
PYTHON_USEDEP
}
]
|| ( dev-python/jupyterlab[
${
PYTHON_USEDEP
}
] dev-python/jupyter[
${
PYTHON_USEDEP
}
] )
postgres? ( dev-python/psycopg[
${
PYTHON_USEDEP
}
] )
ldapauthenticator? ( dev-python/jupyterhub-ldapauthenticator[
${
PYTHON_USEDEP
}
] )
sudospawner? ( dev-python/sudospawner[
${
PYTHON_USEDEP
}
] )
"
src_prepare
()
{
einfo
einfo
'Note, allowing network access from the sandbox via RESTRICT=network-sandbox'
einfo
'(needed for building jupyterhub assets via npm)'
einfo
distutils-r1_src_prepare
}
python_compile
()
{
distutils-r1_python_compile
}
python_install
()
{
cd
${
S
}
&&
python
-m
jupyterhub
--generate-config
distutils-r1_python_install
--skip-build
}
python_install_all
()
{
distutils-r1_python_install_all
newinitd
"
${
FILESDIR
}
"
/jupyterhub.initd jupyterhub
insinto /etc/jupyterhub
newins
${
S
}
/jupyterhub_config.py config.example.py
}
pkg_preinst
()
{
keepdir /var/lib/jupyterhub
fowners jupyterhub:jupyterhub /var/lib/jupyterhub
}
pkg_postinst
()
{
if
[
!
-e
/etc/jupyterhub/config.py
]
;
then
elog
elog
"Please cp /etc/jupyterhub/config.example.py /etc/jupyterhub/config.py"
elog
"And tune it to your needs"
elog
else
elog
elog
"May be it is good idea to compare working config with example one"
elog
"diff /etc/jupyterhub/config.example.py /etc/jupyterhub/config.py"
elog
"and see the changelog at https://jupyterhub.readthedocs.io/en/
${
PV
}
/changelog.html"
elog
fi
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment