/[gentoo-x86]/dev-java/jruby/jruby-1.3.1.ebuild
Gentoo

Diff of /dev-java/jruby/jruby-1.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/Attic/jruby-1.3.1.ebuild,v 1.1 2009/08/07 20:40:51 ali_bush Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-java/jruby/Attic/jruby-1.3.1.ebuild,v 1.2 2009/08/22 22:14:27 ali_bush Exp $
4 4
5# Note:this pmasked in gentoo-x86/profiles. 5# Note:this pmasked in gentoo-x86/profiles.
6# Please remove both once a full release is available. 6# Please remove both once a full release is available.
7 7
8EAPI="2" 8EAPI="2"
59SITE_RUBY=${RUBY_HOME}/site_ruby 59SITE_RUBY=${RUBY_HOME}/site_ruby
60GEMS=${RUBY_HOME}/gems 60GEMS=${RUBY_HOME}/gems
61 61
62JAVA_ANT_REWRITE_CLASSPATH="true" 62JAVA_ANT_REWRITE_CLASSPATH="true"
63JAVA_ANT_IGNORE_SYSTEM_CLASSES="true" 63JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
64EANT_GENTOO_CLASSPATH="asm-3 bytelist constantine jay jcodings jffi-0.4 jline 64EANT_GENTOO_CLASSPATH="asm-3 bytelist constantine jay jcodings jffi-0.4 jline \
65joda-time joni jna jna-posix jvyamlb,nailgun" 65joda-time joni jna jna-posix jvyamlb,nailgun"
66EANT_NEEDS_TOOLS="true" 66EANT_NEEDS_TOOLS="true"
67 67
68pkg_setup() { 68pkg_setup() {
69 java-pkg-2_pkg_setup 69 java-pkg-2_pkg_setup
125 ewarn 'The tests will fail if run as root so skipping them.' 125 ewarn 'The tests will fail if run as root so skipping them.'
126 ewarn 'Enable FEATURES="userpriv" if you want to run them.' 126 ewarn 'Enable FEATURES="userpriv" if you want to run them.'
127 return 127 return
128 fi 128 fi
129 129
130 # ali_bush was getting crashes while attempting to run a test.
131 # No info about why it crashed seemed to be produced.
132 # remove it as temp fix.
133 sed -i -e '/MRI/d' build.xml || die "Failed to sed build.xml"
134
130 # BSF is a compile-time only dependency because it's just the adapter 135 # BSF is a compile-time only dependency because it's just the adapter
131 # classes and they won't be used unless invoked from BSF itself. 136 # classes and they won't be used unless invoked from BSF itself.
132 use bsf && java-pkg_jar-from --into build_lib --with-dependencies bsf-2.3 137 use bsf && java-pkg_jar-from --into build_lib --with-dependencies bsf-2.3
133 138
134 # Our jruby.jar is unbundled so we need to add the classpath to this test. 139 # Our jruby.jar is unbundled so we need to add the classpath to this test.

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20