From 436409fde61202b4bb44229258ecba09ae1b50d3 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 28 Mar 2013 04:51:53 +0000 Subject: Add python3 support. (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) --- dev-python/django/ChangeLog | 5 ++++- dev-python/django/django-1.5.ebuild | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'dev-python') diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog index dd9845f1ec26..daaef83a8e25 100644 --- a/dev-python/django/ChangeLog +++ b/dev-python/django/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/django # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.100 2013/03/24 02:05:20 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.101 2013/03/28 04:51:53 floppym Exp $ + + 28 Mar 2013; Mike Gilbert django-1.5.ebuild: + Add python3 support. *django-1.5 (24 Mar 2013) diff --git a/dev-python/django/django-1.5.ebuild b/dev-python/django/django-1.5.ebuild index 579e31c8825d..800976995159 100644 --- a/dev-python/django/django-1.5.ebuild +++ b/dev-python/django/django-1.5.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.5.ebuild,v 1.1 2013/03/24 02:05:20 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.5.ebuild,v 1.2 2013/03/28 04:51:53 floppym Exp $ EAPI=5 # py3.2 support almost ready to add -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) PYTHON_REQ_USE='sqlite?' inherit bash-completion-r1 distutils-r1 versionator webapp @@ -20,9 +20,10 @@ SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="doc mysql postgres sqlite test" -RDEPEND="dev-python/imaging[$(python_gen_usedep python2*)] +py2dep=$(python_gen_usedep 'python2*') +RDEPEND="dev-python/imaging[${py2dep}] postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) - mysql? ( >=dev-python/mysql-python-1.2.3[${PYTHON_USEDEP}] )" + mysql? ( >=dev-python/mysql-python-1.2.3[${py2dep}] )" DEPEND="${RDEPEND} doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) test? ( ${PYTHON_DEPS//sqlite?/sqlite} )" -- cgit v1.2.3-65-gdbad