dev-python/django-celery: Remove unnecessary py2 restrictions
authorMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 17:22:46 +0000 (18:22 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 17:23:55 +0000 (18:23 +0100)
Remove the restrictions to python2.* since all dependencies support
python3.4 now, and the doc building works fine with it.

dev-python/django-celery/django-celery-3.1.17.ebuild

index 41aef6b7da42e51dc6493c9e879d225bb604b6cf..2f71c42072ca8ba22002e606a8edcc17ae9fc7a5 100644 (file)
@@ -21,7 +21,6 @@ IUSE="doc examples test"
 # with ValueError: save() prohibited to prevent data loss due to
 # unsaved related object 'interval'.
 
-PY2_USEDEP=$(python_gen_usedep python2_7)
 RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
        >dev-python/django-1.4[${PYTHON_USEDEP}]
        <dev-python/django-1.9[${PYTHON_USEDEP}]
@@ -32,17 +31,13 @@ DEPEND="${RDEPEND}
                dev-python/django-nose[${PYTHON_USEDEP}]
                >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
                dev-python/nose-cover3[${PYTHON_USEDEP}]
-               dev-python/mock[${PY2_USEDEP}]
-               dev-python/python-memcached[${PY2_USEDEP}] )
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/python-memcached[${PYTHON_USEDEP}] )
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
-               dev-python/sphinxcontrib-issuetracker[${PY2_USEDEP}]
-               dev-python/python-memcached[${PY2_USEDEP}]
+               dev-python/sphinxcontrib-issuetracker[${PYTHON_USEDEP}]
+               dev-python/python-memcached[${PYTHON_USEDEP}]
        )"
 
-PY27_REQUSE="$(python_gen_useflags 'python2.7')"
-REQUIRED_USE="
-       doc? ( ${PY27_REQUSE} )"
-
 python_compile_all() {
        use doc && emake -C docs html
 }