commit:     45a43a88c7d3e29183ba6b71aa1447e018d1d293
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 16:34:48 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 16:34:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a43a88

dev-python/sphinx: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinx/Manifest            |   1 -
 dev-python/sphinx/sphinx-2.4.4.ebuild | 111 ----------------------------------
 2 files changed, 112 deletions(-)

diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest
index adf5c62c77f..d2516caa6f8 100644
--- a/dev-python/sphinx/Manifest
+++ b/dev-python/sphinx/Manifest
@@ -1,3 +1,2 @@
-DIST Sphinx-2.4.4.tar.gz 5966973 BLAKE2B 
727a75eb4ec33beadf80b22cdd8dda02a53f4da4aea10ee18ecae658a69a9bb797f83b0d11b41b8405bf18b2472ea7fd501bea85382c20c5f2a9d5b14a032428
 SHA512 
cd35b7ebdf4eb41fb3a58706333ca4328fbf9b37999ad1bcc751f9769f0a294464e4def019a403fcd2204ca963ef641c35c957a4145eb50af07573d21df8c74d
 DIST Sphinx-3.4.3.tar.gz 5997116 BLAKE2B 
73a488564d5889bfc6d7f6f797aa3b144b03cf5f086a4543c3f4b2a452b353f4d799b80a14a0d4118e227660b7f9367fe8f3a2e91f6127cdca489cf4fad215f3
 SHA512 
2e085e00c722f3aaf34552eefc3842daf5443f7b8a11afa850db1e31ad81d5ff7f579622b91f982b21708fa6379907bac4fe72d42dc05859a3f62c75298facaa
 DIST Sphinx-3.5.1.tar.gz 5905170 BLAKE2B 
f374a65d66f404b2a7486c58a0e13e228e0de88985fed18cfa74e8219759af6afb1bb05cc10b6a8ed8ad7b413889b7282de7212010fe6d3bd30ce04fe9b59b9a
 SHA512 
31a9253e30d5616c99161455fb61ab3b8298b5364d5eeb5c7b23466182913c99fea4cec14d088b6b64a530cbfb60d691ad093a6f6a0f9060f847f0b73d5e6b3f

diff --git a/dev-python/sphinx/sphinx-2.4.4.ebuild 
b/dev-python/sphinx/sphinx-2.4.4.ebuild
deleted file mode 100644
index c2dcbe44b68..00000000000
--- a/dev-python/sphinx/sphinx-2.4.4.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Python documentation generator"
-HOMEPAGE="https://www.sphinx-doc.org/
-       https://github.com/sphinx-doc/sphinx";
-SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="doc latex test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       <dev-python/alabaster-0.8[${PYTHON_USEDEP}]
-       dev-python/Babel[${PYTHON_USEDEP}]
-       dev-python/docutils[${PYTHON_USEDEP}]
-       dev-python/imagesize[${PYTHON_USEDEP}]
-       dev-python/jinja[${PYTHON_USEDEP}]
-       dev-python/pygments[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
-       dev-python/snowballstemmer[${PYTHON_USEDEP}]
-       dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
-       dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
-       dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
-       dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}]
-       dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}]
-       dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
-       dev-python/packaging[${PYTHON_USEDEP}]
-       $(python_gen_cond_dep '
-               dev-python/typed-ast[${PYTHON_USEDEP}]
-       ' python3_{6,7})
-       latex? (
-               dev-texlive/texlive-latexextra
-               dev-texlive/texlive-luatex
-               app-text/dvipng
-       )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       doc? (
-               dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
-               media-gfx/graphviz
-       )
-       test? (
-               dev-python/html5lib[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               virtual/imagemagick-tools[jpeg,png,svg]
-               dev-texlive/texlive-fontsextra
-               dev-texlive/texlive-latexextra
-               dev-texlive/texlive-luatex
-               app-text/dvipng
-       )"
-
-S="${WORKDIR}/${P^}"
-
-python_prepare_all() {
-       # remove tests that fail due to network-sandbox
-       rm tests/test_build_linkcheck.py || die "Failed to remove web tests"
-       sed -i -e 's:test_latex_images:_&:' tests/test_build_latex.py || die
-
-       # fail under pypy3 (some because of missing typed-ast)
-       # revisit when pypy3 becomes pypy3.8
-       sed -i -e '/def test_partialfunction/i\
[email protected](hasattr(sys, "pypy_version_info"), reason="broken on 
pypy3")' \
-               -e '/def test_autodoc_typed_instance_variables/i\
[email protected](hasattr(sys, "pypy_version_info"), reason="broken on 
pypy3")' \
-               tests/test_autodoc.py || die
-       sed -i -e '11aimport sys' \
-               -e '/def test_autodoc_typehints_signature/i\
[email protected](hasattr(sys, "pypy_version_info"), reason="broken on 
pypy3")' \
-               tests/test_ext_autodoc_configs.py || die
-       sed -i -e '/def test_annotated_assignment_py36/i\
[email protected](hasattr(sys, "pypy_version_info"), reason="broken on 
pypy3")' \
-               tests/test_pycode_parser.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       distutils-r1_python_compile
-
-       # Generate the grammar. It will be caught by install somehow.
-       # Note that the tests usually do it for us. However, I don't want
-       # to trust USE=test really running all the tests, especially
-       # with FEATURES=test-fail-continue.
-       pushd "${BUILD_DIR}"/lib >/dev/null || die
-       "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation 
failed."
-       popd >/dev/null || die
-}
-
-python_compile_all() {
-       if use doc; then
-               esetup.py build_sphinx
-               HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
-       fi
-}
-
-python_test() {
-       mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
-       local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
-       pytest -vv || die "Tests fail with ${EPYTHON}"
-}

Reply via email to