commit: 5e03ed82c94af28ea6e94abd22d984673932b898
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 29 13:04:39 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 29 13:04:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e03ed82
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 <AT> riseup.net>
dev-python/httpcore/Manifest | 2 +-
dev-python/httpcore/httpcore-0.7.0.ebuild | 35 ++++++++++++++++++++-----------
2 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
index 82c23f3..60b92b6 100644
--- a/dev-python/httpcore/Manifest
+++ b/dev-python/httpcore/Manifest
@@ -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
diff --git a/dev-python/httpcore/httpcore-0.7.0.ebuild
b/dev-python/httpcore/httpcore-0.7.0.ebuild
index acaa8e1..a0b354c 100644
--- a/dev-python/httpcore/httpcore-0.7.0.ebuild
+++ b/dev-python/httpcore/httpcore-0.7.0.ebuild
@@ -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
+#}