commit: f1f167b0336dea6c820996410e927fd6e0d94d97 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jan 1 09:42:43 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jan 1 10:08:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f167b0
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 ...build => sphinxcontrib-websupport-1.0.1-r1.ebuild} | 19 ++++++++++--------- 1 file 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 similarity index 78% rename from dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild rename to dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild index 62634aaae3c..77893f37777 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
