Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-celery/
Date: Wed, 09 Dec 2015 17:24:12
Message-Id: 1449681835.a61c89b4677cb9cc1cd31a86e980cc971a99cb28.mgorny@gentoo
1 commit: a61c89b4677cb9cc1cd31a86e980cc971a99cb28
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 9 17:22:46 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 9 17:23:55 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61c89b4
7
8 dev-python/django-celery: Remove unnecessary py2 restrictions
9
10 Remove the restrictions to python2.* since all dependencies support
11 python3.4 now, and the doc building works fine with it.
12
13 dev-python/django-celery/django-celery-3.1.17.ebuild | 13 ++++---------
14 1 file changed, 4 insertions(+), 9 deletions(-)
15
16 diff --git a/dev-python/django-celery/django-celery-3.1.17.ebuild b/dev-python/django-celery/django-celery-3.1.17.ebuild
17 index 41aef6b..2f71c42 100644
18 --- a/dev-python/django-celery/django-celery-3.1.17.ebuild
19 +++ b/dev-python/django-celery/django-celery-3.1.17.ebuild
20 @@ -21,7 +21,6 @@ IUSE="doc examples test"
21 # with ValueError: save() prohibited to prevent data loss due to
22 # unsaved related object 'interval'.
23
24 -PY2_USEDEP=$(python_gen_usedep python2_7)
25 RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
26 >dev-python/django-1.4[${PYTHON_USEDEP}]
27 <dev-python/django-1.9[${PYTHON_USEDEP}]
28 @@ -32,17 +31,13 @@ DEPEND="${RDEPEND}
29 dev-python/django-nose[${PYTHON_USEDEP}]
30 >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
31 dev-python/nose-cover3[${PYTHON_USEDEP}]
32 - dev-python/mock[${PY2_USEDEP}]
33 - dev-python/python-memcached[${PY2_USEDEP}] )
34 + dev-python/mock[${PYTHON_USEDEP}]
35 + dev-python/python-memcached[${PYTHON_USEDEP}] )
36 doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
37 - dev-python/sphinxcontrib-issuetracker[${PY2_USEDEP}]
38 - dev-python/python-memcached[${PY2_USEDEP}]
39 + dev-python/sphinxcontrib-issuetracker[${PYTHON_USEDEP}]
40 + dev-python/python-memcached[${PYTHON_USEDEP}]
41 )"
42
43 -PY27_REQUSE="$(python_gen_useflags 'python2.7')"
44 -REQUIRED_USE="
45 - doc? ( ${PY27_REQUSE} )"
46 -
47 python_compile_all() {
48 use doc && emake -C docs html
49 }