graaff      14/07/27 06:56:41

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

Revision  Changes    Path
1.15                 dev-ruby/serialport/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog   24 Apr 2014 16:45:53 -0000      1.14
+++ ChangeLog   27 Jul 2014 06:56:41 -0000      1.15
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/serialport
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.14 
2014/04/24 16:45:53 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/serialport/ChangeLog,v 1.15 
2014/07/27 06:56:41 graaff Exp $
+
+*serialport-1.3.1 (27 Jul 2014)
+
+  27 Jul 2014; Hans de Graaff <[email protected]> +serialport-1.3.1.ebuild:
+  Version bump. Add ruby21.
 
   24 Apr 2014; Manuel Rüger <[email protected]> serialport-1.3.0.ebuild:
   Remove ruby18 support.



1.1                  dev-ruby/serialport/serialport-1.3.1.ebuild

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

Index: serialport-1.3.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-ruby/serialport/serialport-1.3.1.ebuild,v 1.1 
2014/07/27 06:56:41 graaff Exp $

EAPI=5

# jruby → uses native library
USE_RUBY="ruby19 ruby20 ruby21"

RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"

inherit multilib ruby-fakegem

DESCRIPTION="a library for serial port (rs232) access in ruby"
HOMEPAGE="http://rubyforge.org/projects/ruby-serialport/";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

all_ruby_prepare() {
        # Fix the miniterm script so that it might actually work, we'll
        # install it as example.
        sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die
}

each_ruby_configure() {
        cd ext/native || die
        ${RUBY} extconf.rb || die
}

each_ruby_compile() {
        pushd ext/native &>/dev/null
        emake V=1
        popd &>/dev/null

        # Avoids the need for a specific install phase
        cp ext/native/*$(get_modname) lib/ || die "extension copy failed"
}

all_ruby_install() {
        all_fakegem_install

        # don't compress it
        insinto /usr/share/doc/${PF}/examples
        doins test/miniterm.rb
}




Reply via email to