commit:     c445c88bc79f8a37ff59059ec51f156f2523776e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  7 06:17:22 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Nov  7 07:18:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c445c88b

dev-ruby/stringex: add 2.8.5

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/stringex/Manifest              |  1 +
 dev-ruby/stringex/stringex-2.8.5.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-ruby/stringex/Manifest b/dev-ruby/stringex/Manifest
index 4a8d22924ce..acc049f318a 100644
--- a/dev-ruby/stringex/Manifest
+++ b/dev-ruby/stringex/Manifest
@@ -1,2 +1,3 @@
 DIST stringex-2.8.2.gem 130048 BLAKE2B 
3f3e88d69924a26eba830d94d9bc9240eb2b7a32cc9d3e444fb55af5f462d2091f2069c8c0ba39c9bebc7c4a48b54d23ee5b3fb9ba18f93a4c122d5b2f237e51
 SHA512 
e5750df84eeea6787d85f9289200d1f32fe9feb31c44c583a8e2e153c7d6cbcd940ca1cfd7cfd6f9a958e4a866f0ea3204ddb584ff2a43893da274e9813a4497
 DIST stringex-2.8.4.gem 130048 BLAKE2B 
69cf894a0d7a6828197d70c474f6075083c41cf36171808d8f16763283654c7907938411b44bdd6a2af85ae445442bf018788c851f72276f89eeae467c01da59
 SHA512 
5ab6e096133e49ef426c8faee897bd8fbb6fc61db87a80ced13900f7191639b8f5abe223bdfc5170e5049ef7b340883a436ab53feefb708c47207d6fead9094a
+DIST stringex-2.8.5.gem 130048 BLAKE2B 
c07eaaee07bf348690166b41b0846bc49eb49c5ba9e39c7eaeea2a3a60d6089edd7c7d1d75fd9a5208c9883c4bff8840ccf56c6f186daeabcf79e7f4fb6b4d25
 SHA512 
53f9908f176f465d2e884e92dffb26abcdf75593c94ee8250253da0eb29eddf489cf5b3f539135659ad4c0e2dd738d2affff6a946c50abd5f36517148d8338ce

diff --git a/dev-ruby/stringex/stringex-2.8.5.ebuild 
b/dev-ruby/stringex/stringex-2.8.5.ebuild
new file mode 100644
index 00000000000..30df68532ab
--- /dev/null
+++ b/dev-ruby/stringex/stringex-2.8.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Extensions for Ruby's String class"
+HOMEPAGE="https://github.com/rsl/stringex";
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
+IUSE="test"
+
+# we could rely on activerecord[sqlite3], but since we do not remove the
+# sqlite3 adapter from activerecord when building -sqlite3, it's easier
+# to just add another dependency, so the user doesn't have to change the
+# USE flags at all.
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/i18n-0.7.0:0.7
+               dev-ruby/redcloth
+               dev-ruby/test-unit:2
+               >=dev-ruby/activerecord-3
+               dev-ruby/sqlite3 )"
+
+all_ruby_prepare() {
+       sed -i -e '1agem "i18n", "~>0.7.0"' test/test_helper.rb || die
+}

Reply via email to