diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-04 08:25:30 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-04 08:34:05 +0100 |
commit | c27be180564aff253e67d62ed8ac0dd900792db9 (patch) | |
tree | e0f944b57ed9b54876a45d8db6171959e9b60695 /dev-python/nbconvert | |
parent | dev-python/humanize: Remove old (diff) | |
download | gentoo-c27be180564aff253e67d62ed8ac0dd900792db9.tar.gz gentoo-c27be180564aff253e67d62ed8ac0dd900792db9.tar.bz2 gentoo-c27be180564aff253e67d62ed8ac0dd900792db9.zip |
dev-python/nbconvert: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nbconvert')
-rw-r--r-- | dev-python/nbconvert/Manifest | 1 | ||||
-rw-r--r-- | dev-python/nbconvert/nbconvert-5.6.1-r1.ebuild | 70 | ||||
-rw-r--r-- | dev-python/nbconvert/nbconvert-6.0.6.ebuild | 73 |
3 files changed, 0 insertions, 144 deletions
diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 9dca9f9d542e..5c7f25229538 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,3 +1,2 @@ DIST nbconvert-5.6.1.tar.gz 703233 BLAKE2B e75d558aee6c66fe8e7455ecf22dbbcd2a0698380ffec80eff15aea6c70bc853daa9ab2fd1d114453bd5dfe7e75617afb9f5c1075704bfadbb59fef34bca88a9 SHA512 0c68adcb9f28ead9ec058fc2e02a9a1e6f65818709c99f7a006a59a7562b5f5ee74afe5287e41568c35542898dc1b43c4543d2386cc05a721b3f99d5cc789435 -DIST nbconvert-6.0.6.tar.gz 888348 BLAKE2B 7662437e1436a4ee9694bc05b8472b64d0773c38cc5fda3372ce9009f5d6d20e2ffb28c4baf3442cbc88414ce97870cf15a102ee609f4aae2c951d3f7ac5202f SHA512 2be6a65ed86dd10fc4fd08536db304dc359da1af66c4f907753a419b8d9caec08274c07d110a060bdae5626bb48a4f6d209e423b8eacee420d3a4c6ef0f6bbf5 DIST nbconvert-6.0.7.tar.gz 896833 BLAKE2B 1b5b39144509aa9f61dc1e9675b112d69ed2e2f9859f3ce7ccfac517d89fff0010062c03ded1c3db571c84dd8d4f8ba12e4851245f370d2e671d24921dd50ab6 SHA512 3c78fa4d777a79a08606a39bb31f6b329dc9d28c1ef2ea9f3253746dce853a295e8fe85b14c65b04762aa5acd5facc879232a375875a2ca6dc9477cc1ab88786 diff --git a/dev-python/nbconvert/nbconvert-5.6.1-r1.ebuild b/dev-python/nbconvert/nbconvert-5.6.1-r1.ebuild deleted file mode 100644 index 177e1a67086d..000000000000 --- a/dev-python/nbconvert/nbconvert-5.6.1-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE="https://nbconvert.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jupyter_core[${PYTHON_USEDEP}] - >=dev-python/mistune-0.7.4[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pebble[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] - media-gfx/inkscape - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-inkscape-1.patch - "${FILESDIR}"/${P}-py39.patch -) - -src_prepare() { - # assumes old inkscape output? - sed -i -e '/SVG\.ipynb/d' \ - nbconvert/preprocessors/tests/test_execute.py || die - - distutils-r1_src_prepare -} - -python_test() { - distutils_install_for_testing bdist_egg - cd "${TEST_DIR}"/lib || die - pytest -vv --pyargs nbconvert || die -} - -pkg_postinst() { - if ! has_version app-text/pandoc ; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc." - fi -} diff --git a/dev-python/nbconvert/nbconvert-6.0.6.ebuild b/dev-python/nbconvert/nbconvert-6.0.6.ebuild deleted file mode 100644 index b023b8b59843..000000000000 --- a/dev-python/nbconvert/nbconvert-6.0.6.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE="https://nbconvert.readthedocs.io/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -RDEPEND=" - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jupyter_core[${PYTHON_USEDEP}] - dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] - >=dev-python/mistune-0.7.4[${PYTHON_USEDEP}] - dev-python/nbclient[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pebble[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] - media-gfx/inkscape - ) -" - -distutils_enable_tests pytest - -src_test() { - mkdir -p "${HOME}/.local" || die - cp -r share "${HOME}/.local/" || die - distutils-r1_src_test -} - -python_test() { - local deselect=( - # Missing pyppeteer for now - # TODO: Doesn't skip? - --deselect exporters/tests/test_webpdf.py - # Needs pyppeteer too - --deselect 'tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' - ) - - distutils_install_for_testing bdist_egg - cd "${TEST_DIR}"/lib || die - pytest -vv "${deselect[@]}" --pyargs nbconvert || die "Tests failed with ${EPYTHON}" -} - -pkg_postinst() { - if ! has_version app-text/pandoc ; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc." - fi -} |