Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/httpcore/
Date: Sun, 29 Mar 2020 13:21:25
Message-Id: 1585487079.5e03ed82c94af28ea6e94abd22d984673932b898.andrewammerlaan@gentoo
1 commit: 5e03ed82c94af28ea6e94abd22d984673932b898
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sun Mar 29 13:04:39 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun Mar 29 13:04:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e03ed82
7
8 dev-python/httpcore: doc can't find material even though
9
10 theme mkdocs-material is installed
11
12 Package-Manager: Portage-2.3.96, Repoman-2.3.22
13 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
14
15 dev-python/httpcore/Manifest | 2 +-
16 dev-python/httpcore/httpcore-0.7.0.ebuild | 35 ++++++++++++++++++++-----------
17 2 files changed, 24 insertions(+), 13 deletions(-)
18
19 diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
20 index 82c23f3..60b92b6 100644
21 --- a/dev-python/httpcore/Manifest
22 +++ b/dev-python/httpcore/Manifest
23 @@ -1 +1 @@
24 -DIST httpcore-0.7.0.tar.gz 24689 BLAKE2B 5a7fa8eab6dc166f96c1a71d2ce1980155c37e286421fe10ff17315680d5a1ba5a6b52a8e0bcf8f727cdb146971ea82942327a900408ab72f8c82e2bfc9f9f83 SHA512 4999900e23aa9750f830e0d521db51e606c5b43e254cad8b98c17c2d3e4b2bd59020308954f5411ad766bff1759e2812a5b5e313273be22002dd87a75ea2413a
25 +DIST httpcore-0.7.0.tar.gz 27932 BLAKE2B f3258a9f83a37bcf62422c6f6c5a911712afa1038378ef64aeda45c9b3e700d0e809e3526f2bc33633ce4dc827465d99298597a8b26b6cb13696f9663fcd5a87 SHA512 f5419ebbe6ff42e782bea127ca778de1d42637a15e0152d69e6b58ca7e3687d560a4b132781390a853595ec7d18a0fa567d5b752debbb7be7f5cc822a5eac3fd
26
27 diff --git a/dev-python/httpcore/httpcore-0.7.0.ebuild b/dev-python/httpcore/httpcore-0.7.0.ebuild
28 index acaa8e1..a0b354c 100644
29 --- a/dev-python/httpcore/httpcore-0.7.0.ebuild
30 +++ b/dev-python/httpcore/httpcore-0.7.0.ebuild
31 @@ -3,8 +3,7 @@
32
33 EAPI=7
34
35 -DISTUTILS_USE_SETUPTOOLS=rdepend
36 -PYTHON_COMPAT=( python3_6 )
37 +PYTHON_COMPAT=( python3_{6,7} )
38
39 inherit distutils-r1
40
41 @@ -13,12 +12,17 @@ HOMEPAGE="
42 https://github.com/encode/httpcore
43 https://pypi.org/project/httpcore
44 "
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47
48 LICENSE="BSD"
49 SLOT="0"
50 KEYWORDS="~amd64 ~x86"
51 -IUSE="doc test"
52 +
53 +# Temporary failure in name resolution
54 +RESTRICT="test"
55 +
56 +# ERROR - Config value: 'theme'. Error: Unrecognised theme name: 'material'. The available installed themes are: mkdocs, readthedocs
57 +#IUSE="doc"
58
59 RDEPEND="
60 dev-python/h11[${PYTHON_USEDEP}]
61 @@ -26,13 +30,13 @@ RDEPEND="
62 dev-python/sniffio[${PYTHON_USEDEP}]
63 dev-python/trio[${PYTHON_USEDEP}]
64 "
65 -BDEPEND="
66 - doc? (
67 - dev-python/mkautodoc
68 - dev-python/mkdocs
69 - dev-python/mkdocs-material
70 - )
71 -"
72 +#BDEPEND="
73 +# doc? (
74 +# dev-python/mkautodoc
75 +# dev-python/mkdocs
76 +# dev-python/mkdocs-material
77 +# )
78 +#"
79 DEPEND="
80 ${RDEPEND}
81 test? (
82 @@ -46,4 +50,11 @@ DEPEND="
83 "
84
85 distutils_enable_tests pytest
86 -#todo doc
87 +
88 +#python_compile_all() {
89 +# default
90 +# if use doc; then
91 +# mkdocs build || die "failed to make docs"
92 +# HTML_DOCS="site"
93 +# fi
94 +#}