# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.7-r2.ebuild,v 1.3 2011/08/07 09:58:09 naota Exp $ EAPI="2" WANT_AUTOMAKE="none" inherit autotools eutils flag-o-matic multilib python toolchain-funcs if [[ "${PV}" == *_pre* ]]; then inherit mercurial EHG_REPO_URI="http://hg.python.org/cpython" EHG_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.6" 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 app-arch/bzip2 >=sys-libs/zlib-1.1.3 virtual/libffi virtual/libintl !build? ( berkdb? ( || ( 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.3:3 ) ssl? ( dev-libs/openssl ) tk? ( >=dev-lang/tk-8.0 dev-tcltk/blt ) xml? ( >=dev-libs/expat-2 ) ) !!