mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/notebook: Version bump to 4.2.3
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2368 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
committed by
David Seifert
parent
12df19f921
commit
837426baff
@@ -2,3 +2,4 @@ DIST notebook-4.0.6.tar.gz 6705277 SHA256 f62e7a6afbc00bab3615b927595d27b1874cff
|
||||
DIST notebook-4.1.0.tar.gz 9170981 SHA256 b597437ba33538221008e21fea71cd01eda9da1515ca3963d7c74e44f4b03d90 SHA512 745e412a737835956dc4238f70dbaf9c519fea55988941174febdc3ad24962031c3c66cb4ac355a9a639f9a383905e863e8eb0a3c6da62bf72026282154874cb WHIRLPOOL a34501e8e0be300905628e0f0df6914e8491a00924150ff0f5f32d1b7ad99046b84958dc267a229797fb13c98085f7556496a1a8e5fb68a1db503b44cad2b380
|
||||
DIST notebook-4.2.0.tar.gz 10090035 SHA256 e10c4916c77b48394796b5b1440d61d7b210f9941194048fe20ef88948016d84 SHA512 a6e88fc07b5085e9a330585ace7a4d80cd45f292efea24f75604ab3140dfb60913fe832a3ad98787c472e1f9255bdfbf50024ee0b414780808560e4d54dc84b0 WHIRLPOOL 016c7e31bcf08ca13ecbd129331a675d22256156ede12a1d69120e5dacf2b6d6bdab94ab325899636e4338bb95884ab4fe2db04c07a34b09eec452ea70e5696f
|
||||
DIST notebook-4.2.1.tar.gz 10090956 SHA256 a49de524dabb99f214bdf2a58f26c7892650251a23a3669c6492fb180492e197 SHA512 76b04fb446f25a18b24f74a5c0817ed914b5aa71f9ede9208ff262c83282250c774af7098ebb741e51cd1cb2222b0c78b4f985a162ae794f72e3f8b20d19dcd0 WHIRLPOOL b655210a2d6c0d7e8fab848f40435195a63c7e2dff40d94f3e64399dd804af02d35eba527422b5965d0b5949ae832e0afa3b0fbad8afeafa8931b0180cfbb4eb
|
||||
DIST notebook-4.2.3.tar.gz 10092423 SHA256 39a9603d3fe88b60de2903680c965cf643acf2c16fb2c6bac1d905e1042b5851 SHA512 1b54e2a16fdb79b9344c0f73bd48fe438b18c529707b15816a3ab20353b2e320067082d51829c670117d77830a21c5a64a15d37d1970fd30aae31272d9650d97 WHIRLPOOL 9cbcfc80dd818c77f1db5226b729e576f7428184001747eda8780c70b3cfb6b9472b8760073e2891ee40bc90e0398e88250b02c8c2eb6b7c2517fa6eecf2ceba
|
||||
|
||||
94
dev-python/notebook/notebook-4.2.3.ebuild
Normal file
94
dev-python/notebook/notebook-4.2.3.ebuild
Normal file
@@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Jupyter Interactive Notebook"
|
||||
HOMEPAGE="http://jupyter.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
RDEPEND="
|
||||
>=dev-libs/mathjax-2.4
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
>=dev-python/terminado-0.3.3[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.0[${PYTHON_USEDEP}]
|
||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/jupyter_core[${PYTHON_USEDEP}]
|
||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||
>=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
app-text/pandoc
|
||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}"-4.2.0-setupbase.py.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
sed \
|
||||
-e "/import setup/s:$:\nimport setuptools:g" \
|
||||
-i setup.py || die
|
||||
|
||||
# disable bundled mathjax
|
||||
sed -i 's/^.*MathJax.*$//' bower.json || die
|
||||
|
||||
# Prevent un-needed download during build
|
||||
if use doc; then
|
||||
sed \
|
||||
-e "/^ 'sphinx.ext.intersphinx',/d" \
|
||||
-i docs/source/conf.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests \
|
||||
--verbosity=3 \
|
||||
notebook || die
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
ln -sf \
|
||||
"${EPREFIX}/usr/share/mathjax" \
|
||||
"${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# remove old mathjax folder if present
|
||||
rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
|
||||
}
|
||||
Reference in New Issue
Block a user