summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-04-16 18:38:43 +0000
committerMichał Górny <mgorny@gentoo.org>2013-04-16 18:38:43 +0000
commit451efe0a1484ac0b2711e33549c7900a7235cc82 (patch)
tree068b2195bd9f0a15f1bf3e856a664cb0804820c5 /dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild
parentLicense for dev-java/concurrent-util, bug 463998. (diff)
downloadhistorical-451efe0a1484ac0b2711e33549c7900a7235cc82.tar.gz
historical-451efe0a1484ac0b2711e33549c7900a7235cc82.tar.bz2
historical-451efe0a1484ac0b2711e33549c7900a7235cc82.zip
Fix the use of distutils-r1. Fixes bug #466086.
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64 Manifest-Sign-Key: 0x9627F456F9DA7643!
Diffstat (limited to 'dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild')
-rw-r--r--dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild b/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild
index c92dd7b848ec..d8d66c6e16bc 100644
--- a/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild
+++ b/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild,v 1.1 2013/04/16 09:42:35 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.3.0-r9.ebuild,v 1.2 2013/04/16 18:38:34 mgorny Exp $
EAPI="5"
-PYTHON_COMPAT=(jython2_5 python2_{5,6,7})
+PYTHON_COMPAT=(python2_{5,6,7})
PYTHON_REQ_USE="xml(+)"
-inherit eutils multilib distutils-r1
+inherit distutils-r1 eutils multilib
DESCRIPTION="Collection of Gentoo-specific tools for Java"
HOMEPAGE="http://www.gentoo.org/proj/en/java/"
@@ -19,10 +19,15 @@ KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
python_prepare_all() {
- epatch "${FILESDIR}/${P}-python2.6.patch"
- epatch "${FILESDIR}/${P}-no-pyxml.patch"
+ local PATCHES=(
+ "${FILESDIR}/${P}-python2.6.patch"
+ "${FILESDIR}/${P}-no-pyxml.patch"
+ )
+
+ distutils-r1_python_prepare_all
}
-python_configure_all() {
- mydistutilsargs=( --install-scripts="${EPREFIX}"/usr/$(get_libdir)/${PN}/bin )
+python_install() {
+ distutils-r1_python_install \
+ --install-scripts="${EPREFIX}"/usr/$(get_libdir)/${PN}/bin
}