diff --git a/usr/portage/app-text/asciidoc/asciidoc-8.2.6.ebuild b/app-text/asciidoc/asciidoc-8.2.6.ebuild index c03a6d3..bd790bb 100644 --- a/usr/portage/app-text/asciidoc/asciidoc-8.2.6.ebuild +++ b/app-text/asciidoc/asciidoc-8.2.6.ebuild @@ -1,7 +1,12 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/asciidoc/asciidoc-8.2.6.ebuild,v 1.8 2008/12/07 11:45:39 vapier Exp $ +EAPI="3" + +PYTHON_DEPEND="2:2.4" +inherit python + DESCRIPTION="A text document format for writing short documents, articles, books and UNIX man pages" HOMEPAGE="http://www.methods.co.nz/asciidoc/" SRC_URI="http://www.methods.co.nz/${PN}/${P}.tar.gz" @@ -11,12 +16,14 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" IUSE="examples vim-syntax" -DEPEND=">=virtual/python-2.3 - dev-libs/libxslt" +DEPEND="dev-libs/libxslt" -src_unpack() { - unpack ${A} +pkg_setup() { + python_set_active_version 2 +} +src_prepare() { + python_convert_shebangs -r 2 . sed -i \ -e "s:^BINDIR=.*:BINDIR=${D}usr/bin:" \ -e "s:^MANDIR=.*:MANDIR=${D}usr/share/man:" \