dev-python/httpcore: doc can't find material even though

theme mkdocs-material is installed

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-29 15:04:39 +02:00
parent be0208ec65
commit 5e03ed82c9
2 changed files with 24 additions and 13 deletions

View File

@@ -1 +1 @@
DIST httpcore-0.7.0.tar.gz 24689 BLAKE2B 5a7fa8eab6dc166f96c1a71d2ce1980155c37e286421fe10ff17315680d5a1ba5a6b52a8e0bcf8f727cdb146971ea82942327a900408ab72f8c82e2bfc9f9f83 SHA512 4999900e23aa9750f830e0d521db51e606c5b43e254cad8b98c17c2d3e4b2bd59020308954f5411ad766bff1759e2812a5b5e313273be22002dd87a75ea2413a
DIST httpcore-0.7.0.tar.gz 27932 BLAKE2B f3258a9f83a37bcf62422c6f6c5a911712afa1038378ef64aeda45c9b3e700d0e809e3526f2bc33633ce4dc827465d99298597a8b26b6cb13696f9663fcd5a87 SHA512 f5419ebbe6ff42e782bea127ca778de1d42637a15e0152d69e6b58ca7e3687d560a4b132781390a853595ec7d18a0fa567d5b752debbb7be7f5cc822a5eac3fd

View File

@@ -3,8 +3,7 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@@ -13,12 +12,17 @@ HOMEPAGE="
https://github.com/encode/httpcore
https://pypi.org/project/httpcore
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
# Temporary failure in name resolution
RESTRICT="test"
# ERROR - Config value: 'theme'. Error: Unrecognised theme name: 'material'. The available installed themes are: mkdocs, readthedocs
#IUSE="doc"
RDEPEND="
dev-python/h11[${PYTHON_USEDEP}]
@@ -26,13 +30,13 @@ RDEPEND="
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
"
BDEPEND="
doc? (
dev-python/mkautodoc
dev-python/mkdocs
dev-python/mkdocs-material
)
"
#BDEPEND="
# doc? (
# dev-python/mkautodoc
# dev-python/mkdocs
# dev-python/mkdocs-material
# )
#"
DEPEND="
${RDEPEND}
test? (
@@ -46,4 +50,11 @@ DEPEND="
"
distutils_enable_tests pytest
#todo doc
#python_compile_all() {
# default
# if use doc; then
# mkdocs build || die "failed to make docs"
# HTML_DOCS="site"
# fi
#}