sphinx updates
This commit is contained in:
parent
56ecbe7e9c
commit
3f59609059
@ -1,3 +1,7 @@
|
||||
2019-12-12
|
||||
* bump sphinx-2.2.2
|
||||
* bump sphinx-autodoc-typehints-1.10.3
|
||||
|
||||
2019-12-12 fail2ban
|
||||
* patch fail2ban for Python 3.7
|
||||
* bump pydocstyle-5.0.1
|
||||
|
||||
@ -1,2 +1,4 @@
|
||||
DIST sphinx-autodoc-typehints-1.10.3.tar.gz 16396 BLAKE2B 5621e6225fa8f97f61a3e7ad387631bc524bd4cd236a184e88431dd044dbf208b042882a150a88372f7bdd613d06de980a5b6685ed1814c6b0c7c1a27079f715 SHA512 170fd6cea10d730eefeef4e2e4de985119dbcde06d43181bb522ec31923ddc49dd7757ca623c820e2e5008198ef9b522d70e08c0c6ff5349921f1777b797bddb
|
||||
DIST sphinx-autodoc-typehints-1.6.0.tar.gz 11752 BLAKE2B 4aadda769d19cea73430b49ffcb0f2abd7f046300a0642d4d025ff77e9bbc66d33e2c4c98dc5c1a1320492c89e810ce8f008b7eec8803d508e438bbef5141209 SHA512 01d832592721528f45f5c5867e1c5fb859ae0cecff51cd033a172fc3aae972662e83913aef95dcd2f41c8140475ae668dd3ae5aab6fb8d5f1e295a1efceb3c1c
|
||||
EBUILD sphinx-autodoc-typehints-1.10.3.ebuild 672 BLAKE2B 214c0e54a3688ac5dcf2dd59944c5cff72ec356957890a328646ac7d45814b5536450d74d21ecb47303aa36a7292b9af9afff7b4484bfe77952f7aa35191e0fb SHA512 50c835a30e04dd0807f3524e317a529d5e2578a99e6b11c2620f937f827952d55aaceae41e789845a2eb77a4f0f253cf6c101a849cd3a2707c03349c5180c1cc
|
||||
EBUILD sphinx-autodoc-typehints-1.6.0.ebuild 672 BLAKE2B 214c0e54a3688ac5dcf2dd59944c5cff72ec356957890a328646ac7d45814b5536450d74d21ecb47303aa36a7292b9af9afff7b4484bfe77952f7aa35191e0fb SHA512 50c835a30e04dd0807f3524e317a529d5e2578a99e6b11c2620f937f827952d55aaceae41e789845a2eb77a4f0f253cf6c101a849cd3a2707c03349c5180c1cc
|
||||
|
||||
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type hints (PEP 484) support for the Sphinx autodoc extension"
|
||||
HOMEPAGE=" https://pypi.org/project/sphinx-autodoc-typehints/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
@ -1,6 +1,8 @@
|
||||
DIST Sphinx-1.8.3.tar.gz 5760197 BLAKE2B c95f3708d00a69f1d3daad97ea2aa7c750412ae6dfa0267425d3fb81115ac33d43522fbef48d1a100f81d410ba0fa493cabebe7f8da24b69f9aab2be3d05d10a SHA512 f0a0aa9f6c57001c0c5326d941aa81cd49ec79abd15b217b121750c405a8f5bd6ab965e5eaf15c8be3d681aa711bac0405ff13f2b0a1d58b03c44be4335ed8e3
|
||||
DIST Sphinx-2.1.2.tar.gz 6253121 BLAKE2B 10454e4669645002be8cc45a959d2c04ebc1d9bf8b9a441dd156f9bacc75a9b47c2326792fc0f7903dc5a2c558e564ecf52098a49e57288b30163387fa739bed SHA512 22696cd143b75c497c36e08b81b10981e80ad10a4f9f42a29165bfed18bacbc33dc2f477926fe795faf9918dce9d283cd1acf03f7289bd50fa93a86e7979d9f1
|
||||
DIST Sphinx-2.2.2.tar.gz 5828933 BLAKE2B 24aacb9b20456fc1e0830ff9f99d4798f03b4fbe5267c10c2655dc94c52b85ef12fd76b1063a90a7c034b8c10bfa362bd91be236c610968a628f1d8fb799103e SHA512 2aaed5980c6fb3bf1a8b2911bbf5d7b8a2d9356e2e9faad58e9ac93e76f76e0c5f40243774553a719dfe982e5e683821545db56142cd8e3db914e97e363124f1
|
||||
EBUILD sphinx-1.8.3-r1.ebuild 3280 BLAKE2B 744c9eccc35f1266bdc8646a3b1a4aa463a6764bbf0df0fdb843d32d64445d84c56cd623bd84bb0220cadd1e0dc7361d94b782f56b710d3ede731f2334c452ba SHA512 a39deb912e5eda6a4a76370d672af06290b1170d2b7de990c44e265e3c316c94aa4d347036b4d1ab1582b97adda7b595189982c5645cd97b987e7728d17f7421
|
||||
EBUILD sphinx-1.8.3.ebuild 3301 BLAKE2B 27a98fab3d987b1f18674ccdf94e0bcad02b7b079d06bfa95307f25be42d17faac029f8cd8b900b94b1a4899859bd3020df11a0b0e259670b85ec81691e07306 SHA512 2d3aebe75903dcd21bde49f027c3d3c468eba0f7a1ec28ee53e2858d0545f799f441305fad7b8a23db0129eb939f87bc9a0eceb255279278ec5d01ee2f9e83d9
|
||||
EBUILD sphinx-2.1.2.ebuild 3280 BLAKE2B 744c9eccc35f1266bdc8646a3b1a4aa463a6764bbf0df0fdb843d32d64445d84c56cd623bd84bb0220cadd1e0dc7361d94b782f56b710d3ede731f2334c452ba SHA512 a39deb912e5eda6a4a76370d672af06290b1170d2b7de990c44e265e3c316c94aa4d347036b4d1ab1582b97adda7b595189982c5645cd97b987e7728d17f7421
|
||||
EBUILD sphinx-2.2.2.ebuild 3280 BLAKE2B 744c9eccc35f1266bdc8646a3b1a4aa463a6764bbf0df0fdb843d32d64445d84c56cd623bd84bb0220cadd1e0dc7361d94b782f56b710d3ede731f2334c452ba SHA512 a39deb912e5eda6a4a76370d672af06290b1170d2b7de990c44e265e3c316c94aa4d347036b4d1ab1582b97adda7b595189982c5645cd97b987e7728d17f7421
|
||||
MISC metadata.xml 556 BLAKE2B a2689efbe3d569fa878296875f4145fdb4d83b4c4821aa636d4006b1823e5646b9cebd5341b4bc02de30985191b83461363cc892aca638e678f86a6e314dcef3 SHA512 bff6813bf9c5110c2e4f5764f911309325923cb58300c19c079d1e6de3d6c4c0bcaf4e206fa4bc11ebf54b961c7e09217310b5647029350d4f9602da6325db0c
|
||||
|
||||
103
dev-python/sphinx/sphinx-2.2.2.ebuild
Normal file
103
dev-python/sphinx/sphinx-2.2.2.ebuild
Normal 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}"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user