dev-python/django: fix invalid metadata
authorMike Gilbert <floppym@gentoo.org>
Sat, 29 Oct 2016 23:01:59 +0000 (19:01 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sat, 29 Oct 2016 23:14:57 +0000 (19:14 -0400)
Package-Manager: portage-2.3.2

dev-python/django/django-1.5.12.ebuild

index c41ae1d733ebca554a78ae737e5eff2f9c24c59e..b8bbde1104642bf07cb00e3029b9d0bbcfb7c7ab 100644 (file)
@@ -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}"