From 721254b86a09bdedd5eefd0de7899c90ea2ead1a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 Jan 2018 20:42:22 +0000 Subject: gentoo resync : 01.01.2018 --- dev-python/sphinx/Manifest | 2 +- dev-python/sphinx/sphinx-1.6.3-r2.ebuild | 117 ------------------------------- dev-python/sphinx/sphinx-1.6.3-r3.ebuild | 117 +++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+), 118 deletions(-) delete mode 100644 dev-python/sphinx/sphinx-1.6.3-r2.ebuild create mode 100644 dev-python/sphinx/sphinx-1.6.3-r3.ebuild (limited to 'dev-python/sphinx') diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index cfb144e7f992..f5365381f236 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -11,5 +11,5 @@ EBUILD sphinx-1.3.1-r2.ebuild 3466 BLAKE2B 760757384a5eaa95142b7013a5badffe9c7f7 EBUILD sphinx-1.3.5-r1.ebuild 3580 BLAKE2B ce19b68c70a1a739e31c3e9dda9afe612df66a8f98f77d8bbdc22a8682cf1c1bdc2374a0a42f6bb06fba437b9f4e9f75f5f15350c34df2ab3fd49f0f322b9288 SHA512 5d7a9b3e083b0f28e4774c5a51895cace0287cc581984ce5b8d4403670663b6bb79cffe1c0d516dcbf57fee8752e3723b1e18c80e5a495a7add224c2835957e9 EBUILD sphinx-1.5.2.ebuild 3433 BLAKE2B 6800221d87257dd5b36fff4616330cff0be6bf851d3b08f1a9fa33cd56ef3e567afa31b1f53d9ce544b4162942d1d49293db18b1d0333b3c556d648343f7c2a8 SHA512 9ad0815a09704cf9a634cb531fa3343fde843115abf5622f2deb2b40cc300302a8c89f991554b4a9d48dce83890690ccec07c0e3a63f992b02562cbf79d46e4d EBUILD sphinx-1.6.3-r1.ebuild 3400 BLAKE2B eecd2492f3fa7eaa56abfd8627fa530a708474b37d53e94e1555c4f244c9c2a3de2b4a6f3853fb3998a165ca9a6b68df0830e392de6991645be1281b8da10412 SHA512 571647d383ade15d9484124c04ea1b75eaa24a4fb0e835a864e2c15e8c1938d89fd09b9b86cdb4d64b385c016ed6dddb88e2796e9079e7db7160d1cff6f86988 -EBUILD sphinx-1.6.3-r2.ebuild 3431 BLAKE2B 0bd079f6dfdf7510d0eae1a541c35c71847103c8c1ad8c056094dc31b0f85ece9ed8cd9fa06c1089b68bd2331a69a0437ccf701febd0a0867d332e6ec102b2e8 SHA512 3664089e65261529d4621be424fd51c5ffb7731addbdd5c2666a26836977d2cd37226487b60dbca75465154a31d00a17ed7f3b29e2c56420b59f4362506a41b9 +EBUILD sphinx-1.6.3-r3.ebuild 3422 BLAKE2B 8aca39ff63500a156c87677f94a205fcce22eb6e42a1a75db9cd994ec150165b34e40c85ec7eceec395916a7dffb932ac57833a4e4f196b6ddef35b48b6602ca SHA512 bfa29c4f9b17c4b2f18ad9c85d40d3f19dbdb974c5d056347ab992d476e16b9f685c9efe4060f2ff5d8547bc71a8321904984b9438c4b5250c76a98591c01343 MISC metadata.xml 556 BLAKE2B a2689efbe3d569fa878296875f4145fdb4d83b4c4821aa636d4006b1823e5646b9cebd5341b4bc02de30985191b83461363cc892aca638e678f86a6e314dcef3 SHA512 bff6813bf9c5110c2e4f5764f911309325923cb58300c19c079d1e6de3d6c4c0bcaf4e206fa4bc11ebf54b961c7e09217310b5647029350d4f9602da6325db0c diff --git a/dev-python/sphinx/sphinx-1.6.3-r2.ebuild b/dev-python/sphinx/sphinx-1.6.3-r2.ebuild deleted file mode 100644 index 115fe201822d..000000000000 --- a/dev-python/sphinx/sphinx-1.6.3-r2.ebuild +++ /dev/null @@ -1,117 +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} pypy{,3} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 eutils versionator - -DESCRIPTION="Python documentation generator" -HOMEPAGE="http://www.sphinx-doc.org/" -SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" -IUSE="doc latex net test" - -RDEPEND=" - >=dev-python/alabaster-0.7.9[${PYTHON_USEDEP}] - =dev-python/Babel-2.1.1[${PYTHON_USEDEP}] - >=dev-python/docutils-0.11[${PYTHON_USEDEP}] - dev-python/imagesize[${PYTHON_USEDEP}] - >=dev-python/jinja-2.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0.1-r1[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - >=dev-python/six-1.5[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] - >=dev-python/sphinx_rtd_theme-0.1[${PYTHON_USEDEP}] - =dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}] - >=dev-python/whoosh-2.0[${PYTHON_USEDEP}] - )" -PDEPEND="dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}] - >=dev-python/whoosh-2.0[${PYTHON_USEDEP}] - virtual/imagemagick-tools[jpeg,png,svg] - virtual/python-enum34[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${P^}" - -PATCHES=( - "${FILESDIR}"/${PN}-1.5.1-fix-pycode-grammar.patch -) - -python_prepare_all() { - # remove tests that fail due to network-sandbox - rm tests/test_websupport.py || die "Failed to remove web tests" - rm tests/test_build_linkcheck.py || die "Failed to remove web tests" - - 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 - emake -C doc SPHINXBUILD='"${EPYTHON}" "${S}/sphinx-build.py"' html - HTML_DOCS=( doc/_build/html/. ) - fi -} - -python_test() { - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - cp -r -l tests "${BUILD_DIR}"/ || die "Failed to copy tests" - cp Makefile "${BUILD_DIR}"/ || die "Failed to copy Makefile" - emake test -} - -pkg_postinst() { - replacing_python_eclass() { - local pv - for pv in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 1.1.3-r4 ${pv}; then - return 0 - fi - done - - return 1 - } - - if replacing_python_eclass; then - ewarn "Replaced a very old sphinx version. If you are" - ewarn "experiencing problems, please re-emerge sphinx." - fi -} diff --git a/dev-python/sphinx/sphinx-1.6.3-r3.ebuild b/dev-python/sphinx/sphinx-1.6.3-r3.ebuild new file mode 100644 index 000000000000..551ff31244cf --- /dev/null +++ b/dev-python/sphinx/sphinx-1.6.3-r3.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 eutils versionator + +DESCRIPTION="Python documentation generator" +HOMEPAGE="http://www.sphinx-doc.org/" +SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="doc latex net test" + +RDEPEND=" + >=dev-python/alabaster-0.7.9[${PYTHON_USEDEP}] + =dev-python/Babel-2.1.1[${PYTHON_USEDEP}] + >=dev-python/docutils-0.11[${PYTHON_USEDEP}] + dev-python/imagesize[${PYTHON_USEDEP}] + >=dev-python/jinja-2.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0.1-r1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/six-1.5[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] + >=dev-python/sphinx_rtd_theme-0.1[${PYTHON_USEDEP}] + =dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}] + >=dev-python/whoosh-2.0[${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}] + >=dev-python/whoosh-2.0[${PYTHON_USEDEP}] + virtual/imagemagick-tools[jpeg,png,svg] + virtual/python-enum34[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${P^}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.1-fix-pycode-grammar.patch +) + +python_prepare_all() { + # remove tests that fail due to network-sandbox + rm tests/test_websupport.py || die "Failed to remove web tests" + rm tests/test_build_linkcheck.py || die "Failed to remove web tests" + + 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 + emake -C doc SPHINXBUILD='"${EPYTHON}" "${S}/sphinx-build.py"' html + HTML_DOCS=( doc/_build/html/. ) + fi +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + cp -r -l tests "${BUILD_DIR}"/ || die "Failed to copy tests" + cp Makefile "${BUILD_DIR}"/ || die "Failed to copy Makefile" + emake test +} + +pkg_postinst() { + replacing_python_eclass() { + local pv + for pv in ${REPLACING_VERSIONS}; do + if ! version_is_at_least 1.1.3-r4 ${pv}; then + return 0 + fi + done + + return 1 + } + + if replacing_python_eclass; then + ewarn "Replaced a very old sphinx version. If you are" + ewarn "experiencing problems, please re-emerge sphinx." + fi +} -- cgit v1.2.3