diff options
-rw-r--r-- | dev-ruby/diff-lcs/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/text-format/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/text-format/text-format-1.0.0-r1.ebuild | 28 | ||||
-rw-r--r-- | dev-ruby/text-hyphen/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/text-hyphen/files/text-hyphen-1.0.0+ruby-1.9.patch | 41 | ||||
-rw-r--r-- | dev-ruby/text-hyphen/text-hyphen-1.0.0-r1.ebuild | 29 |
6 files changed, 126 insertions, 4 deletions
diff --git a/dev-ruby/diff-lcs/Manifest b/dev-ruby/diff-lcs/Manifest index fa5928f71bee..1c7e0d15788c 100644 --- a/dev-ruby/diff-lcs/Manifest +++ b/dev-ruby/diff-lcs/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST diff-lcs-1.1.2.gem 27136 RMD160 f57dcbd09658cea31f286039ec3f0b599c99ff25 SHA1 05a1164be2de3555104af79791da2977e6419d59 SHA256 d78fc78ce54ea5ed423589b97b96cfc7f35feac4a27d2895560af2736077abc4 +DIST diff-lcs-1.1.2.tar.gz 27133 RMD160 eb452b85a9dfc8cccd6fdb7c0323d8b40deadc89 SHA1 260d5f15cbd3c2703f8addfca5dfef7bc30469e9 SHA256 30da8db91e31b9124a676b55bb22a30f4ff035913fd04850a74b8ffe1bce74fc +EBUILD diff-lcs-1.1.2-r1.ebuild 802 RMD160 6e935ad33ad93bae602cef4e020525e19cad5cdf SHA1 f4655839b4b4e0167fac6adbd58428df84f55952 SHA256 9b808a120d7041e6b34fe425f5c9c007da6f869c1cb6ef7576d94a4815729879 EBUILD diff-lcs-1.1.2.ebuild 564 RMD160 58dceb9461e953e35d477dc6c18996e963097e00 SHA1 b6e2df26376eddcf0fb2a2dabbe42670f99a9c66 SHA256 b845929a28176baefb1ffe356d4ff58f41f2853408d6dc159974e15f8b2e8bbd -MISC ChangeLog 809 RMD160 20f429beb2b1c0439c80ff65b706bd29bb1b11a2 SHA1 6407977c32e4952cfdf59528ac18517822b9ea22 SHA256 c2d9626c83a7adb0fa05e2d586830724239889e5de757bddd70b8f276af5eef2 +MISC ChangeLog 984 RMD160 f1417a5de60bbaa071ffca19caafe49ef1cf6ec9 SHA1 074096cafb2fae155e7e262b2d382ccb236d1fdc SHA256 bfd3f507d24e157888be2e11d5da5f5ed32e7637c6fe5ee1aa063bf714c7d460 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.13 (GNU/Linux) + +iEYEARECAAYFAksnpGEACgkQAiZjviIA2XiqjQCgtD9KGB7hNpxS4dHpdPzezfwG +tGAAnRXg+6YDAbodgCKKPyv9dNwV5sL0 +=rgSi +-----END PGP SIGNATURE----- diff --git a/dev-ruby/text-format/ChangeLog b/dev-ruby/text-format/ChangeLog index fc82ac7731a2..d7a6541211c1 100644 --- a/dev-ruby/text-format/ChangeLog +++ b/dev-ruby/text-format/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/text-format # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-format/ChangeLog,v 1.27 2009/06/13 07:36:54 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-format/ChangeLog,v 1.28 2009/12/15 14:57:06 flameeyes Exp $ + +*text-format-1.0.0-r1 (15 Dec 2009) + + 15 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +text-format-1.0.0-r1.ebuild: + Bump to ruby-fakegem, drop ppc and ppc64 keywords for now. 13 Jun 2009; Hans de Graaff <graaff@gentoo.org> -text-format-0.64.ebuild, text-format-1.0.0.ebuild: diff --git a/dev-ruby/text-format/text-format-1.0.0-r1.ebuild b/dev-ruby/text-format/text-format-1.0.0-r1.ebuild new file mode 100644 index 000000000000..c4be5fa7893f --- /dev/null +++ b/dev-ruby/text-format/text-format-1.0.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-format/text-format-1.0.0-r1.ebuild,v 1.1 2009/12/15 14:57:06 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README Changelog ToDo" + +inherit ruby-fakegem + +DESCRIPTION="Text::Format provides strong text formatting capabilities to Ruby" +HOMEPAGE="http://rubyforge.org/projects/text-format/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd" +IUSE="" + +ruby_add_rdepend '>=dev-ruby/text-hyphen-1.0.0' +ruby_add_bdepend test 'dev-ruby/archive-tar-minitar' + +all_ruby_prepare() { + # Fix rakefile for new rake versions + sed -i -e 's: if t\.verbose::' Rakefile || die +} diff --git a/dev-ruby/text-hyphen/ChangeLog b/dev-ruby/text-hyphen/ChangeLog index 099159608a9b..802b0fcb2c21 100644 --- a/dev-ruby/text-hyphen/ChangeLog +++ b/dev-ruby/text-hyphen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/text-hyphen -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-hyphen/ChangeLog,v 1.10 2008/11/10 10:49:52 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-hyphen/ChangeLog,v 1.11 2009/12/15 14:54:25 flameeyes Exp $ + +*text-hyphen-1.0.0-r1 (15 Dec 2009) + + 15 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +text-hyphen-1.0.0-r1.ebuild, +files/text-hyphen-1.0.0+ruby-1.9.patch: + Bump to ruby-fakegem, drop ppc and ppc64 keywords for now. 10 Nov 2008; Raúl Porcel <armin76@gentoo.org> text-hyphen-1.0.0.ebuild: ia64 stable wrt #244214 diff --git a/dev-ruby/text-hyphen/files/text-hyphen-1.0.0+ruby-1.9.patch b/dev-ruby/text-hyphen/files/text-hyphen-1.0.0+ruby-1.9.patch new file mode 100644 index 000000000000..f74e10fb30ab --- /dev/null +++ b/dev-ruby/text-hyphen/files/text-hyphen-1.0.0+ruby-1.9.patch @@ -0,0 +1,41 @@ +Index: text-hyphen-1.0.0/lib/text/hyphen.rb +=================================================================== +--- text-hyphen-1.0.0.orig/lib/text/hyphen.rb ++++ text-hyphen-1.0.0/lib/text/hyphen.rb +@@ -269,7 +269,8 @@ private + + def make_result_list(res) #:nodoc: + r = [] +- res.each_with_index { |c, i| r << i * (c.to_i % 2) } ++ res_a = (res.is_a? Array) ? res : res.split(//) ++ res_a.each_with_index { |c, i| r << i * (c.to_i % 2) } + r.reject { |i| i.to_i == 0 } + end + +Index: text-hyphen-1.0.0/tests/tc_text_hyphen.rb +=================================================================== +--- text-hyphen-1.0.0.orig/tests/tc_text_hyphen.rb ++++ text-hyphen-1.0.0/tests/tc_text_hyphen.rb +@@ -12,7 +12,7 @@ class Test__Text__Hyphen < Test::Unit::T + playback presents programmable representation) + POINTS = [ + [2, 4, 8], # additional +- [], # declination ++ [3, 5, 7], # declination + [2], # going + [4], # leaving + [3, 4], # maximize +@@ -24,11 +24,11 @@ class Test__Text__Hyphen < Test::Unit::T + [3, 5, 8, 10] # representation + ] + +- VISUAL = %w(ad-di-tion-al declination go-ing leav-ing max-i-mizes ++ VISUAL = %w(ad-di-tion-al dec-li-na-tion go-ing leav-ing max-i-mizes + mul-ti-ple pe-ter play-back presents pro-gram-mable + rep-re-sen-ta-tion) + +- HY_TO = [ %w(addi- tional), [nil, 'declination'], %w(go- ing), ++ HY_TO = [ %w(addi- tional), %w(dec- lination), %w(go- ing), + %w(leav- ing), %w(maxi- mizes), %w(mul- tiple), %w(pe- ter), + %w(play- back), [nil, 'presents'], %w(pro- grammable), + %w(rep- resentation)] diff --git a/dev-ruby/text-hyphen/text-hyphen-1.0.0-r1.ebuild b/dev-ruby/text-hyphen/text-hyphen-1.0.0-r1.ebuild new file mode 100644 index 000000000000..7149dac5be26 --- /dev/null +++ b/dev-ruby/text-hyphen/text-hyphen-1.0.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-hyphen/text-hyphen-1.0.0-r1.ebuild,v 1.1 2009/12/15 14:54:25 flameeyes Exp $ + +EAPI=2 +USE_RUBY="ruby18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README Changelog" + +inherit ruby-fakegem eutils + +DESCRIPTION="Hyphenates various words according to the rules of the language the word is written in." +HOMEPAGE="http://rubyforge.org/projects/text-format" +SRC_URI="mirror://rubyforge/text-format/${P}.tar.gz" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="" + +ruby_add_bdepend test dev-ruby/archive-tar-minitar + +all_ruby_prepare() { + # Fix rakefile for new rake versions + sed -i -e 's: if t\.verbose::' Rakefile || die + + epatch "${FILESDIR}/${P}+ruby-1.9.patch" +} |