Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-websupport/
Date: Mon, 01 Jan 2018 10:08:57
Message-Id: 1514801320.f1f167b0336dea6c820996410e927fd6e0d94d97.mgorny@gentoo
1 commit: f1f167b0336dea6c820996410e927fd6e0d94d97
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 09:42:43 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 1 10:08:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f167b0
7
8 dev-python/sphinxcontrib-websupport: Make sphinx PDEP, fix other deps
9
10 Fix dependencies to be more accurate. Move dev-python/sphinx to PDEPEND
11 to avoid circular dependencies, and remove runtime dependencies from
12 DEPEND unless tests are enabled as they are not strictly necessary
13 or verified.
14
15 Bug: https://bugs.gentoo.org/624672
16
17 ...build => sphinxcontrib-websupport-1.0.1-r1.ebuild} | 19 ++++++++++---------
18 1 file changed, 10 insertions(+), 9 deletions(-)
19
20 diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild
21 similarity index 78%
22 rename from dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild
23 rename to dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild
24 index 62634aaae3c..77893f37777 100644
25 --- a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild
26 +++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild
27 @@ -1,4 +1,4 @@
28 -# Copyright 1999-2017 Gentoo Foundation
29 +# Copyright 1999-2018 Gentoo Foundation
30 # Distributed under the terms of the GNU General Public License v2
31
32 EAPI=6
33 @@ -15,22 +15,23 @@ SLOT="0"
34 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
35 IUSE="test"
36
37 -CDEPEND="
38 +RDEPEND="
39 >=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}]
40 >=dev-python/whoosh-2.0[${PYTHON_USEDEP}]
41 >=dev-python/six-1.5[${PYTHON_USEDEP}]
42 - >=dev-python/sphinx-1.5.3[${PYTHON_USEDEP}]
43 - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
44 -"
45 -DEPEND="${CDEPEND}
46 + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]"
47 +# avoid circular dependency with sphinx
48 +PDEPEND="
49 + >=dev-python/sphinx-1.5.3[${PYTHON_USEDEP}]"
50 +DEPEND="
51 dev-python/setuptools[${PYTHON_USEDEP}]
52 test? (
53 + ${RDEPEND}
54 + ${PDEPEND}
55 dev-python/tox[${PYTHON_USEDEP}]
56 dev-python/pytest[${PYTHON_USEDEP}]
57 dev-python/mock[${PYTHON_USEDEP}]
58 - )
59 -"
60 -RDEPEND="${CDEPEND}"
61 + )"
62
63 python_install_all() {
64 distutils-r1_python_install_all