diff options
author | Jesus Rivero <neurogeek@gentoo.org> | 2009-03-07 17:21:13 +0000 |
---|---|---|
committer | Jesus Rivero <neurogeek@gentoo.org> | 2009-03-07 17:21:13 +0000 |
commit | f4ae2a6bf4bf95d08c0b83826b58c56c5f38405e (patch) | |
tree | bfd7ab8eea4290c75f4ab4747d16b5222d38d261 /dev-java | |
parent | Bump to 3.1.4. Fixes #250582. Random SRC_URI change upstream. (diff) | |
download | gentoo-2-f4ae2a6bf4bf95d08c0b83826b58c56c5f38405e.tar.gz gentoo-2-f4ae2a6bf4bf95d08c0b83826b58c56c5f38405e.tar.bz2 gentoo-2-f4ae2a6bf4bf95d08c0b83826b58c56c5f38405e.zip |
Added patch to fix python-2.6 warnings. Bug #239479.
(Portage version: 2.2_rc20/cvs/Linux 2.6.27-gentoo-r7 i686)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/javatoolkit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch | 12 | ||||
-rw-r--r-- | dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild | 37 |
3 files changed, 56 insertions, 1 deletions
diff --git a/dev-java/javatoolkit/ChangeLog b/dev-java/javatoolkit/ChangeLog index e7e610f5daf2..44fa3846959b 100644 --- a/dev-java/javatoolkit/ChangeLog +++ b/dev-java/javatoolkit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/javatoolkit # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/ChangeLog,v 1.43 2009/03/04 20:40:54 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/ChangeLog,v 1.44 2009/03/07 17:21:12 neurogeek Exp $ + +*javatoolkit-0.3.0-r3 (07 Mar 2009) + + 07 Mar 2009; Jesus Rivero <neurogeek@gentoo.org> + +files/javatoolkit-0.3.0-python2.6.patch, +javatoolkit-0.3.0-r3.ebuild: + Added patch to fix python-2.6 warnings. Bug #239479. 04 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> javatoolkit-0.3.0-r2.ebuild: diff --git a/dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch b/dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch new file mode 100644 index 000000000000..d73c94bb6683 --- /dev/null +++ b/dev-java/javatoolkit/files/javatoolkit-0.3.0-python2.6.patch @@ -0,0 +1,12 @@ +diff -uNr py.orig/maven-helper.py py/maven-helper.py +--- src/py.orig/maven-helper.py 2009-03-07 10:36:10.000000000 -0430 ++++ src/py/maven-helper.py 2009-03-07 10:35:25.000000000 -0430 +@@ -21,7 +21,7 @@ + import sys + import StringIO + from optparse import OptionParser, make_option +-from javatoolkit.maven import MavenPom ++from javatoolkit.maven.MavenPom import MavenPom + + __version__ = "$Revision: 1.1 $"[11:-2] + diff --git a/dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild b/dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild new file mode 100644 index 000000000000..24df854eb770 --- /dev/null +++ b/dev-java/javatoolkit/javatoolkit-0.3.0-r3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 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-r3.ebuild,v 1.1 2009/03/07 17:21:12 neurogeek Exp $ + +EAPI="2" + +inherit distutils + +DESCRIPTION="Collection of Gentoo-specific tools for Java" +HOMEPAGE="http://www.gentoo.org/proj/en/java/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="dev-python/pyxml + || ( >=dev-lang/python-2.5[xml] dev-python/celementtree )" + +PYTHON_MODNAME="javatoolkit" + +src_prepare(){ + epatch "${FILESDIR}/${P}-python2.6.patch" +} + +src_install() { + distutils_src_install --install-scripts="/usr/$(get_libdir)/${PN}/bin" +} + +pkg_postrm() { + distutils_python_version + distutils_pkg_postrm +} + +pkg_postinst() { + distutils_pkg_postinst +} |