diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-07-31 14:46:27 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-07-31 14:46:27 +0000 |
commit | 0a3b02a8a9d4a019e1be61e5ca3ac4ea05516f9f (patch) | |
tree | 425ca89d5f31b4683a5d55d45a9171709d170890 /dev-java | |
parent | drop old, they are vulnerable anyway (diff) | |
download | gentoo-2-0a3b02a8a9d4a019e1be61e5ca3ac4ea05516f9f.tar.gz gentoo-2-0a3b02a8a9d4a019e1be61e5ca3ac4ea05516f9f.tar.bz2 gentoo-2-0a3b02a8a9d4a019e1be61e5ca3ac4ea05516f9f.zip |
Fix building with jython. #428586
Migrate to python-distutils-ng.eclass
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/javatoolkit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/javatoolkit/javatoolkit-0.3.0-r7.ebuild | 38 |
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-java/javatoolkit/ChangeLog b/dev-java/javatoolkit/ChangeLog index 699e01a07fb7..e17322902b84 100644 --- a/dev-java/javatoolkit/ChangeLog +++ b/dev-java/javatoolkit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/javatoolkit # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/ChangeLog,v 1.66 2012/05/12 03:11:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/ChangeLog,v 1.67 2012/07/31 14:46:27 sera Exp $ + +*javatoolkit-0.3.0-r7 (31 Jul 2012) + + 31 Jul 2012; Ralph Sennhauser <sera@gentoo.org> +javatoolkit-0.3.0-r7.ebuild: + Fix building with jython. #428586 + Migrate to python-distutils-ng.eclass 12 May 2012; Alexis Ballier <aballier@gentoo.org> javatoolkit-0.3.0-r6.ebuild: diff --git a/dev-java/javatoolkit/javatoolkit-0.3.0-r7.ebuild b/dev-java/javatoolkit/javatoolkit-0.3.0-r7.ebuild new file mode 100644 index 000000000000..2871d51afb50 --- /dev/null +++ b/dev-java/javatoolkit/javatoolkit-0.3.0-r7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 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-r7.ebuild,v 1.1 2012/07/31 14:46:27 sera Exp $ + +EAPI="4" + +PYTHON_COMPAT="jython2_5 python2_5 python2_6 python2_7" + +inherit eutils multilib python-distutils-ng + +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 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +# PYTHON_USE_WITH="xml(+)" not yet available. #426768 +COMMON_DEP=" + python_targets_jython2_5? ( >=dev-java/jython-2.5.2-r1:2.5 ) + python_targets_python2_5? ( dev-lang/python:2.5[xml] ) + python_targets_python2_6? ( dev-lang/python:2.6[xml] ) + python_targets_python2_7? ( dev-lang/python:2.7[xml] )" +RDEPEND="${COMMON_DEP}" +DEPEND="${COMMON_DEP}" + +python_prepare_all() { + epatch "${FILESDIR}/${P}-python2.6.patch" + epatch "${FILESDIR}/${P}-no-pyxml.patch" + + # can't pass --install-scripts to setup.py in python-distutils-ng-src_install + cat > setup.cfg <<- EOF + [install] + install-scripts = "${EPREFIX}"/usr/$(get_libdir)/${PN}/bin + EOF +} |