graaff      14/04/19 09:08:07

  Modified:             ChangeLog
  Added:                erubis-2.7.0-r2.ebuild
  Log:
  Add ruby21.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x8883FA56A308A8D7!)

Revision  Changes    Path
1.28                 dev-ruby/erubis/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/erubis/ChangeLog?rev=1.28&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/erubis/ChangeLog?rev=1.28&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/erubis/ChangeLog?r1=1.27&r2=1.28

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog   5 Apr 2014 14:19:29 -0000       1.27
+++ ChangeLog   19 Apr 2014 09:08:07 -0000      1.28
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/erubis
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v 1.27 2014/04/05 
14:19:29 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v 1.28 2014/04/19 
09:08:07 graaff Exp $
+
+*erubis-2.7.0-r2 (19 Apr 2014)
+
+  19 Apr 2014; Hans de Graaff <[email protected]> +erubis-2.7.0-r2.ebuild:
+  Add ruby21.
 
   05 Apr 2014; Manuel RĂ¼ger <[email protected]> erubis-2.7.0-r1.ebuild,
   erubis-2.7.0.ebuild:



1.1                  dev-ruby/erubis/erubis-2.7.0-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/erubis/erubis-2.7.0-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/erubis/erubis-2.7.0-r2.ebuild?rev=1.1&content-type=text/plain

Index: erubis-2.7.0-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/erubis-2.7.0-r2.ebuild,v 1.1 
2014/04/19 09:08:07 graaff Exp $

EAPI=5

USE_RUBY="ruby19 ruby20 ruby21 jruby"

RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""

RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt"

inherit ruby-fakegem

DESCRIPTION="Erubis is an implementation of eRuby"
HOMEPAGE="http://www.kuwata-lab.com/erubis/";

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""

ruby_add_rdepend ">=dev-ruby/abstract-1.0.0"

all_ruby_prepare() {
        # These tests now fail due to other ordering and fact that sym
        # are now returned.
        rm test/test-users-guide.rb || die
        sed -i -e '/test-users-guide/ s:^:#:' test/test.rb || die
}

each_ruby_prepare() {
        case ${RUBY} in
                *jruby)
                        # Avoid test on jruby that fails different on syntax 
error.
                        sed -i -e '/test_syntax2/,/^  end/ s:^:#:' 
test/test-main.rb || die
                        ;;
        esac
}

each_ruby_test() {
        case ${RUBY} in
                # 
http://rubyforge.org/tracker/index.php?func=detail&aid=29484&group_id=1320&atid=5201
                *ruby19)
                        einfo "Tests are not compatible with ruby 1.9.3 with 
Psych as YAML module."
                        ;;
                *ruby20)
                        einfo "Tests are not compatible with ruby 2.0.0 with 
Psych as YAML module."
                        ;;
                *ruby21)
                        einfo "Tests are not compatible with ruby 2.1.x with 
Psych as YAML module."
                        ;;
                *)
                        PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -I. 
test/test.rb || die
                        ;;
        esac
}




Reply via email to