# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.1.ebuild,v 1.4 2010/12/16 16:14:40 neurogeek Exp $ EAPI="2" WANT_AUTOMAKE="none" inherit autotools eutils flag-o-matic multilib pax-utils python toolchain-funcs if [[ "${PV}" == *_pre* ]]; then inherit subversion ESVN_PROJECT="python" ESVN_REPO_URI="http://svn.python.org/projects/python/branches/release27-maint" ESVN_REVISION="" else MY_PV="${PV%_p*}" MY_P="Python-${MY_PV}" fi PATCHSET_REVISION="0" DESCRIPTION="Python is an interpreted, interactive, object-oriented programming language." HOMEPAGE="http://www.python.org/" if [[ "${PV}" == *_pre* ]]; then SRC_URI="" else SRC_URI="http://www.python.org/ftp/python/${MY_PV}/${MY_P}.tar.bz2 mirror://gentoo/python-gentoo-patches-${MY_PV}$([[ "${PATCHSET_REVISION}" != "0" ]] && echo "-r${PATCHSET_REVISION}").tar.bz2" fi LICENSE="PSF-2.2" SLOT="2.7" PYTHON_ABI="${SLOT}" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" IUSE="-berkdb build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml" RDEPEND=">=app-admin/eselect-python-20091230 >=sys-libs/zlib-1.1.3 virtual/libffi virtual/libintl !build? ( berkdb? ( || ( sys-libs/db:4.8 sys-libs/db:4.7 sys-libs/db:4.6 sys-libs/db:4.5 sys-libs/db:4.4 sys-libs/db:4.3 sys-libs/db:4.2 ) ) gdbm? ( sys-libs/gdbm ) ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) ) sqlite? ( >=dev-db/sqlite-3.3.8:3[extensions] ) ssl? ( dev-libs/openssl ) tk? ( >=dev-lang/tk-8.0 ) xml? ( >=dev-libs/expat-2 ) ) !!