diff options
author | 2018-01-01 10:42:43 +0100 | |
---|---|---|
committer | 2018-01-01 11:08:40 +0100 | |
commit | f1f167b0336dea6c820996410e927fd6e0d94d97 (patch) | |
tree | f712de1902a35cf4dd091ad2429c82e8ae4bcf94 /dev-python | |
parent | Revert "sys-libs/musl: prefixify build" (diff) | |
download | gentoo-f1f167b0336dea6c820996410e927fd6e0d94d97.tar.gz gentoo-f1f167b0336dea6c820996410e927fd6e0d94d97.tar.bz2 gentoo-f1f167b0336dea6c820996410e927fd6e0d94d97.zip |
dev-python/sphinxcontrib-websupport: Make sphinx PDEP, fix other deps
Fix dependencies to be more accurate. Move dev-python/sphinx to PDEPEND
to avoid circular dependencies, and remove runtime dependencies from
DEPEND unless tests are enabled as they are not strictly necessary
or verified.
Bug: https://bugs.gentoo.org/624672
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild (renamed from dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild) | 19 |
1 files changed, 10 insertions, 9 deletions
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 index 62634aaae3c8..77893f377774 100644 --- a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild +++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,22 +15,23 @@ SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" IUSE="test" -CDEPEND=" +RDEPEND=" >=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}] >=dev-python/whoosh-2.0[${PYTHON_USEDEP}] >=dev-python/six-1.5[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.5.3[${PYTHON_USEDEP}] - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] -" -DEPEND="${CDEPEND} + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" +# avoid circular dependency with sphinx +PDEPEND=" + >=dev-python/sphinx-1.5.3[${PYTHON_USEDEP}]" +DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( + ${RDEPEND} + ${PDEPEND} dev-python/tox[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] - ) -" -RDEPEND="${CDEPEND}" + )" python_install_all() { distutils-r1_python_install_all |