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
This commit is contained in:
Virgil Dupras
2018-07-24 22:27:44 -04:00
parent f881438373
commit 437eb41205

View File

@@ -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/django-1.10[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/mock-1.1.0[${PYTHON_USEDEP}]' python2_7)
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] )"