diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-12-28 08:17:26 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-12-28 08:17:26 +0000 |
commit | d21b5783036e6d8e1ad1c49bce8927910565ab45 (patch) | |
tree | 80fe52c1ec17d33c4f35af87dc5a9607dcaca002 /dev-ruby/sary-ruby | |
parent | Revision bump to drop ruby19 from stable version. (diff) | |
download | gentoo-2-d21b5783036e6d8e1ad1c49bce8927910565ab45.tar.gz gentoo-2-d21b5783036e6d8e1ad1c49bce8927910565ab45.tar.bz2 gentoo-2-d21b5783036e6d8e1ad1c49bce8927910565ab45.zip |
Revision bump to drop ruby19 from stable version.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/sary-ruby')
-rw-r--r-- | dev-ruby/sary-ruby/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-ruby/sary-ruby/sary-ruby-1.2.0-r3.ebuild | 49 |
3 files changed, 58 insertions, 3 deletions
diff --git a/dev-ruby/sary-ruby/ChangeLog b/dev-ruby/sary-ruby/ChangeLog index 0caaa46d7a50..28f4dfa338cc 100644 --- a/dev-ruby/sary-ruby/ChangeLog +++ b/dev-ruby/sary-ruby/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/sary-ruby # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/ChangeLog,v 1.43 2011/12/03 19:04:28 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/ChangeLog,v 1.44 2011/12/28 08:17:26 graaff Exp $ + +*sary-ruby-1.2.0-r3 (28 Dec 2011) + + 28 Dec 2011; Hans de Graaff <graaff@gentoo.org> sary-ruby-1.2.0-r2.ebuild, + +sary-ruby-1.2.0-r3.ebuild: + Revision bump to drop ruby19 from stable version. 03 Dec 2011; Markos Chandras <hwoarang@gentoo.org> sary-ruby-1.2.0-r2.ebuild: Stable on amd64 wrt bug #391587 diff --git a/dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild b/dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild index ec067b930850..5d980851b1d8 100644 --- a/dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild +++ b/dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild,v 1.3 2011/12/03 19:04:28 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild,v 1.4 2011/12/28 08:17:26 graaff Exp $ EAPI="2" # jruby: mkmf issue -USE_RUBY="ruby18 ree18 ruby19" +USE_RUBY="ruby18 ree18" inherit ruby-ng DESCRIPTION="Ruby Binding of Sary" diff --git a/dev-ruby/sary-ruby/sary-ruby-1.2.0-r3.ebuild b/dev-ruby/sary-ruby/sary-ruby-1.2.0-r3.ebuild new file mode 100644 index 000000000000..fcd3247eb947 --- /dev/null +++ b/dev-ruby/sary-ruby/sary-ruby-1.2.0-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/sary-ruby-1.2.0-r3.ebuild,v 1.1 2011/12/28 08:17:26 graaff Exp $ + +EAPI="2" +# jruby: mkmf issue +USE_RUBY="ruby18 ree18 ruby19" +inherit ruby-ng + +DESCRIPTION="Ruby Binding of Sary" +HOMEPAGE="http://sary.sourceforge.net/" +SRC_URI="http://sary.sourceforge.net/${P}.tar.gz" + +LICENSE="LGPL-2.1" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +IUSE="" + +RDEPEND=">=app-text/sary-1.2.0" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RUBY_PATCHES=( + "${P}-gentoo.patch" + "${P}-ruby19.patch" +) + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + # We have injected --no-undefined in Ruby as a safety precaution + # against broken ebuilds, but the Ruby-Gnome bindings + # unfortunately rely on the lazy load of other extensions; see bug + # #320545. + find . -name Makefile -print0 | xargs -0 \ + sed -i -e 's:-Wl,--no-undefined ::' || die "--no-undefined removal failed" + + emake || die "emake failed" +} + +each_ruby_install() { + emake DESTDIR="${D}" install || die "make install failed" +} + +all_ruby_install() { + dodoc ChangeLog *.rd || die +} |