summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 18:51:36 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 18:51:36 +0000
commitdcb3c67fe1b297871507bf5f34c87eccb7aa94be (patch)
tree82f3de4fddbfbb92a1ac55ee3ad09653fbf9aca9 /app-text/sgmltools-lite
parentFix deprecation warnings. (diff)
downloadgentoo-2-dcb3c67fe1b297871507bf5f34c87eccb7aa94be.tar.gz
gentoo-2-dcb3c67fe1b297871507bf5f34c87eccb7aa94be.tar.bz2
gentoo-2-dcb3c67fe1b297871507bf5f34c87eccb7aa94be.zip
Use Python 2 (bug #312123).
(Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
Diffstat (limited to 'app-text/sgmltools-lite')
-rw-r--r--app-text/sgmltools-lite/ChangeLog6
-rw-r--r--app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild19
2 files changed, 16 insertions, 9 deletions
diff --git a/app-text/sgmltools-lite/ChangeLog b/app-text/sgmltools-lite/ChangeLog
index 2399e95b27b0..c4875de656b5 100644
--- a/app-text/sgmltools-lite/ChangeLog
+++ b/app-text/sgmltools-lite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/sgmltools-lite
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.52 2011/04/05 05:06:50 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.53 2011/04/25 18:51:36 arfrever Exp $
+
+ 25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ sgmltools-lite-3.0.3-r10.ebuild:
+ Use Python 2 (bug #312123).
05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> sgmltools-lite-3.0.3-r10.ebuild:
Depend on dev-lang/python because virtual/python will go away, bug 358849.
diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild
index d6f4693f69ad..85d59a21d56f 100644
--- a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild
+++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild,v 1.14 2011/04/05 05:06:50 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r10.ebuild,v 1.15 2011/04/25 18:51:36 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
inherit python sgml-catalog
@@ -14,8 +17,7 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE="jadetex"
-DEPEND=">=dev-lang/python-1.5
- app-text/sgml-common
+DEPEND="app-text/sgml-common
~app-text/docbook-sgml-dtd-3.1
app-text/docbook-dsssl-stylesheets
app-text/openjade
@@ -27,17 +29,18 @@ DEPEND=">=dev-lang/python-1.5
sgml-catalog_cat_include "/etc/sgml/sgml-lite.cat" \
"/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+src_prepare() {
# Remove CVS directories from the tree
find . -name CVS | xargs rm -rf
}
src_compile() {
- econf || die
- emake || die
+ default
}
src_install() {