dev-python/notebook: Drop old

Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
Andreas Sturmlechner
2018-05-16 15:41:28 +02:00
parent 0cba610694
commit 8f7160e545
7 changed files with 0 additions and 500 deletions

View File

@@ -1,6 +1 @@
DIST notebook-4.0.6.tar.gz 6705277 BLAKE2B a2ea87ca39951bab1bfa5c6ca5952653dda5ce7a12abeaa0a80c4a334a649618f5832d950d8ceffedeaff260035b247e44fd1d10572140875131e7e55ffc39fd SHA512 9ce9ca21adcb967725aeb7a18543ace8aca4e88497d3d2fd708a603511e8ef4a932b39337d134d684df03b273bbc442958a37ced8cd499cb7b97a1c29758eeb0
DIST notebook-4.1.0.tar.gz 9170981 BLAKE2B f0795388ac18f9702e12f2c9dcaae0eaa1372200a9e3d362f6afd5657491a86ccf37a6f3a775222c353a066194588a620c8fb3bbadc396d2328546cdd7063154 SHA512 745e412a737835956dc4238f70dbaf9c519fea55988941174febdc3ad24962031c3c66cb4ac355a9a639f9a383905e863e8eb0a3c6da62bf72026282154874cb
DIST notebook-4.2.3.tar.gz 10092423 BLAKE2B a06f735220f13bee72b5e3309ef99ee7ac03450d80dd398c1ce5ace8957e73f19aa24266b00e4f1582c424597dced1eb563c06393fc854fec392d167b7167c62 SHA512 1b54e2a16fdb79b9344c0f73bd48fe438b18c529707b15816a3ab20353b2e320067082d51829c670117d77830a21c5a64a15d37d1970fd30aae31272d9650d97
DIST notebook-4.3.2.tar.gz 10375345 BLAKE2B 346de30e5d78065fc514be874cb5538d3d19761e5d1f85b9c3a8ab99884cfbbccb150eac020ad6168557c417ffe00b52be7b1f4882ab35b0d30877502ea85c52 SHA512 8ff9a4852aafbc2761e82cd1cbacfc85dade97ec58386df55eea1e97f513b3d608106a2cc43305968fd990974daf6c8dac8aab4ab2184c56976289e646a62b7b
DIST notebook-4.4.1.tar.gz 10377605 BLAKE2B 153fe02b30d661680782798e1d6041f3e08358b1200f1040c7f64efbc0a2e0717405b5d606fb5e41b8f03ab5a269aa8741bbc4ec2b6288024c780a0ae1541328 SHA512 416500355660e74e87edd1649821eb91154f2f0828dce0f2a6a8d3e6448f0ee4459ad661c9a030b5acb594659d37131c76d9edc30630f91700860dc6bfe4450b
DIST notebook-5.0.0.tar.gz 11481080 BLAKE2B 3cc483d338ca22c6b4d7199100875e9425f90e1a7059c016cec07500f0558c437db5f7e367a5c4441520deb68fa891be31c07cd93e858c872a1f12d893530479 SHA512 fbee29cc554f36e94b1fe9804187a50581e840cfb5884bcdf2fef82ad9ae3ae0e2082ea0056f815bfa2a1c2f203679169155e61e53253aa2e9004a43ff7fbcae

View File

@@ -1,42 +0,0 @@
Disable bundled mathjax.
Patch by Marius Brehler
--- a/setupbase.py
+++ b/setupbase.py
@@ -152,36 +152,6 @@ def find_package_data():
if f.endswith(('.js', '.css')):
static_data.append(pjoin(parent, f))
- # Trim mathjax
- mj = lambda *path: pjoin(components, 'MathJax', *path)
- static_data.extend([
- mj('MathJax.js'),
- mj('config', 'TeX-AMS_HTML-full.js'),
- mj('config', 'Safe.js'),
- ])
-
- trees = []
- mj_out = mj('jax', 'output')
-
- if os.path.exists(mj_out):
- for output in os.listdir(mj_out):
- path = pjoin(mj_out, output)
- static_data.append(pjoin(path, '*.js'))
- autoload = pjoin(path, 'autoload')
- if os.path.isdir(autoload):
- trees.append(autoload)
-
- for tree in trees + [
- mj('localization'), # limit to en?
- mj('fonts', 'HTML-CSS', 'STIX-Web', 'woff'),
- mj('extensions'),
- mj('jax', 'input', 'TeX'),
- mj('jax', 'output', 'HTML-CSS', 'fonts', 'STIX-Web'),
- mj('jax', 'output', 'SVG', 'fonts', 'STIX-Web'),
- ]:
- for parent, dirs, files in os.walk(tree):
- for f in files:
- static_data.append(pjoin(parent, f))
os.chdir(os.path.join('tests',))
js_tests = glob('*.js') + glob('*/*.js')

View File

@@ -1,86 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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[${PYTHON_USEDEP}]
dev-python/jupyter_core[${PYTHON_USEDEP}]
dev-python/jupyter_client[${PYTHON_USEDEP}]
dev-python/nbformat[${PYTHON_USEDEP}]
dev-python/nbconvert[${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}]
)
"
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
sed -i 's/mj(/#mj(/' setupbase.py || 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 --with-coverage --cover-package=notebook 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
}

View File

@@ -1,92 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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[${PYTHON_USEDEP}]
dev-python/jupyter_core[${PYTHON_USEDEP}]
dev-python/jupyter_client[${PYTHON_USEDEP}]
dev-python/nbformat[${PYTHON_USEDEP}]
dev-python/nbconvert[${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}]
)
"
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
sed -i 's/mj(/#mj(/' setupbase.py || 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
}

View File

@@ -1,93 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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
}

View File

@@ -1,91 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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*')
>=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() {
if use doc; then
emake -C docs html
HTML_DOCS=( docs/build/html/. )
fi
}
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
}
pkg_preinst() {
# remove old mathjax folder if present
rm -rf "${EROOT%/}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
}

View File

@@ -1,91 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
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 ~arm64 ~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*')
>=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() {
if use doc; then
emake -C docs html
HTML_DOCS=( docs/build/html/. )
fi
}
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
}
pkg_preinst() {
# remove old mathjax folder if present
rm -rf "${EROOT%/}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
}