bump sphinx-2.1.2

This commit is contained in:
Andreas Billmeier 2019-11-18 14:15:26 +01:00
parent 7581c75d16
commit b823fadbb1
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 106 additions and 0 deletions

View File

@ -4,6 +4,7 @@
* copy current ebuild to esphome-9999
* update esphome-1.14.3
* bump libpyvivotek
* bump sphinx-2.1.2
2019-11-17 add new use flags
* axis: communicating with devices from Axis Communications

View File

@ -1,4 +1,6 @@
DIST Sphinx-1.8.3.tar.gz 5760197 BLAKE2B c95f3708d00a69f1d3daad97ea2aa7c750412ae6dfa0267425d3fb81115ac33d43522fbef48d1a100f81d410ba0fa493cabebe7f8da24b69f9aab2be3d05d10a SHA512 f0a0aa9f6c57001c0c5326d941aa81cd49ec79abd15b217b121750c405a8f5bd6ab965e5eaf15c8be3d681aa711bac0405ff13f2b0a1d58b03c44be4335ed8e3
DIST Sphinx-2.1.2.tar.gz 6253121 BLAKE2B 10454e4669645002be8cc45a959d2c04ebc1d9bf8b9a441dd156f9bacc75a9b47c2326792fc0f7903dc5a2c558e564ecf52098a49e57288b30163387fa739bed SHA512 22696cd143b75c497c36e08b81b10981e80ad10a4f9f42a29165bfed18bacbc33dc2f477926fe795faf9918dce9d283cd1acf03f7289bd50fa93a86e7979d9f1
EBUILD sphinx-1.8.3-r1.ebuild 3280 BLAKE2B 744c9eccc35f1266bdc8646a3b1a4aa463a6764bbf0df0fdb843d32d64445d84c56cd623bd84bb0220cadd1e0dc7361d94b782f56b710d3ede731f2334c452ba SHA512 a39deb912e5eda6a4a76370d672af06290b1170d2b7de990c44e265e3c316c94aa4d347036b4d1ab1582b97adda7b595189982c5645cd97b987e7728d17f7421
EBUILD sphinx-1.8.3.ebuild 3300 BLAKE2B 953fff611f05ba786e23e61352e5c43fbcf141c2f17070a8f849e564b39e2668ecc44cf4f2dc028579001538cbbea8856c5ec419ef6cd6fc981901331139f61e SHA512 3693200c63d550ccae100bd6573cb1d5e0b46e471cbee845201fc756b2db1d7c7cab36e553b1d9d2761b9933c93587afd153611e17032969e441758d31d84cde
EBUILD sphinx-2.1.2.ebuild 3280 BLAKE2B 744c9eccc35f1266bdc8646a3b1a4aa463a6764bbf0df0fdb843d32d64445d84c56cd623bd84bb0220cadd1e0dc7361d94b782f56b710d3ede731f2334c452ba SHA512 a39deb912e5eda6a4a76370d672af06290b1170d2b7de990c44e265e3c316c94aa4d347036b4d1ab1582b97adda7b595189982c5645cd97b987e7728d17f7421
MISC metadata.xml 556 BLAKE2B a2689efbe3d569fa878296875f4145fdb4d83b4c4821aa636d4006b1823e5646b9cebd5341b4bc02de30985191b83461363cc892aca638e678f86a6e314dcef3 SHA512 bff6813bf9c5110c2e4f5764f911309325923cb58300c19c079d1e6de3d6c4c0bcaf4e206fa4bc11ebf54b961c7e09217310b5647029350d4f9602da6325db0c

View File

@ -0,0 +1,103 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python documentation generator"
HOMEPAGE="https://www.sphinx-doc.org/"
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 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc latex net test"
# Tests automagically use latex, bug 667414
#REQUIRED_USE="test? ( latex )"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/alabaster-0.7.9[${PYTHON_USEDEP}]
<dev-python/alabaster-0.8[${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-2.0.0[${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/sphinx_rtd_theme-2.0[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
virtual/python-typing[${PYTHON_USEDEP}]
latex? (
dev-texlive/texlive-latexextra
dev-texlive/texlive-luatex
app-text/dvipng
)
net? (
>=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/html5lib[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${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}]
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_websupport.py || die "Failed to remove web tests"
rm tests/test_build_linkcheck.py || die "Failed to remove web tests"
sed -i -e 's:test_latex_remote_images:_&:' tests/test_build_latex.py || die
# fails when additional sphinx themes are installed
sed -i -e 's:test_theme_api:_&:' tests/test_theming.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"
py.test -vv || die "Tests fail with ${EPYTHON}"
}