commit:     a61c89b4677cb9cc1cd31a86e980cc971a99cb28
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  9 17:22:46 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 17:23:55 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61c89b4

dev-python/django-celery: Remove unnecessary py2 restrictions

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 | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/dev-python/django-celery/django-celery-3.1.17.ebuild 
b/dev-python/django-celery/django-celery-3.1.17.ebuild
index 41aef6b..2f71c42 100644
--- a/dev-python/django-celery/django-celery-3.1.17.ebuild
+++ b/dev-python/django-celery/django-celery-3.1.17.ebuild
@@ -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
 }

Reply via email to