diff --git a/dev-python/django/django-1.5.12.ebuild b/dev-python/django/django-1.5.12.ebuild index c41ae1d733ebc..b8bbde1104642 100644 --- a/dev-python/django/django-1.5.12.ebuild +++ b/dev-python/django/django-1.5.12.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} pypy ) +PYTHON_COMPAT=( python2_7 pypy ) PYTHON_REQ_USE='sqlite?,threads(+)' WEBAPP_NO_AUTO_INSTALL="yes" @@ -20,17 +20,16 @@ SLOT="0" KEYWORDS="" IUSE="doc mysql postgres sqlite test" -PY2_USEDEP=$(python_gen_usedep python2_7) -PY23_USEDEP=$(python_gen_usedep python2_7 'python{3_3,3_4}') +PY2_USEDEP=$(python_gen_usedep 'python*') RDEPEND="dev-python/pillow[${PYTHON_USEDEP}] - postgres? ( dev-python/psycopg:2[${PY23_USEDEP}] ) + postgres? ( dev-python/psycopg:2[${PY2_USEDEP}] ) mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )" DEPEND="${RDEPEND} doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) test? ( $(python_gen_impl_dep sqlite) )" -REQUIRED_USE="mysql? ( $(python_gen_useflags python2_7) ) - postgres? ( || ( $(python_gen_useflags 'python{2_7,3_2,3_3}') ) )" +REQUIRED_USE="mysql? ( $(python_gen_useflags 'python2*') ) + postgres? ( || ( $(python_gen_useflags 'python2*') ) )" S="${WORKDIR}/${MY_P}"