From: Virgil Dupras Date: Wed, 25 Jul 2018 02:27:44 +0000 (-0400) Subject: dev-python/django-tastypie: fix broken "doc" dependencies X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=437eb41205b8f17951caee1c2b26c4812caa0225;p=gentoo.git dev-python/django-tastypie: fix broken "doc" dependencies The "doc" conditional dependencies were, strangely, different from the runtime dependency and pinned specifically on django 1.9 which had to be masked for security reasons. Because of that, we had to mask the "doc" USE flag on the package. In this commit, we remove these strange dependencies and use the same as the runtime deps. Documentation builds fine. Committing as straight-to-stable because documentation simply couldn't be built before that. Package-Manager: Portage-2.3.43, Repoman-2.3.10 --- diff --git a/dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild b/dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild index 366834775c9b..901a7ba4a769 100644 --- a/dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild +++ b/dev-python/django-tastypie/django-tastypie-0.13.3-r1.ebuild @@ -28,8 +28,10 @@ RDEPEND="${COMMON_DEPEND} # test: django fails at current version of sci-libs/geos, making tests # explode immediately -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${COMMON_DEPEND} +DEPEND=" + ${COMMON_DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/biplist[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] @@ -38,8 +40,6 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/pytz-2013b[${PYTHON_USEDEP}] !!sci-libs/geos[python] ) doc? ( dev-python/sphinx[${PYTHON_USEDEP}] - >=dev-python/django-1.9[${PYTHON_USEDEP}] - =dev-python/mock-1.1.0[${PYTHON_USEDEP}]' python2_7) dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )"