summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-03-21 07:10:00 +0100
committerHans de Graaff <graaff@gentoo.org>2018-03-21 07:10:00 +0100
commit1a87a09ef2d2092b6e356099659a8f55881ce15a (patch)
tree2c27721c905c78935984defe39e45f5480cef57f /dev-ruby/stringex
parentdev-ruby/mysql2: add 0.5.0 (diff)
downloadgentoo-1a87a09ef2d2092b6e356099659a8f55881ce15a.tar.gz
gentoo-1a87a09ef2d2092b6e356099659a8f55881ce15a.tar.bz2
gentoo-1a87a09ef2d2092b6e356099659a8f55881ce15a.zip
dev-ruby/stringex: add 2.8.4
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/stringex')
-rw-r--r--dev-ruby/stringex/Manifest1
-rw-r--r--dev-ruby/stringex/stringex-2.8.4.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/stringex/Manifest b/dev-ruby/stringex/Manifest
index 1874a7c3a705..16744064e022 100644
--- a/dev-ruby/stringex/Manifest
+++ b/dev-ruby/stringex/Manifest
@@ -1,2 +1,3 @@
DIST stringex-2.7.1.gem 130048 BLAKE2B e16eba7e5bf85fdaf262205e39387483a00559bdaeaabed51b349319328d0fec4b14a2117c949f36e3d190bc86dfd9cebb93823ce23521df74c4783a58225e4f SHA512 2e53079ceaa33a7d040efcd3428601ffa0b4a1c2c231c8d068754ed4577ca610aeae46cde5d402566929cb5204a1999a287f10661a241197e6efbdadd4c928c4
DIST stringex-2.8.2.gem 130048 BLAKE2B 3f3e88d69924a26eba830d94d9bc9240eb2b7a32cc9d3e444fb55af5f462d2091f2069c8c0ba39c9bebc7c4a48b54d23ee5b3fb9ba18f93a4c122d5b2f237e51 SHA512 e5750df84eeea6787d85f9289200d1f32fe9feb31c44c583a8e2e153c7d6cbcd940ca1cfd7cfd6f9a958e4a866f0ea3204ddb584ff2a43893da274e9813a4497
+DIST stringex-2.8.4.gem 130048 BLAKE2B 69cf894a0d7a6828197d70c474f6075083c41cf36171808d8f16763283654c7907938411b44bdd6a2af85ae445442bf018788c851f72276f89eeae467c01da59 SHA512 5ab6e096133e49ef426c8faee897bd8fbb6fc61db87a80ced13900f7191639b8f5abe223bdfc5170e5049ef7b340883a436ab53feefb708c47207d6fead9094a
diff --git a/dev-ruby/stringex/stringex-2.8.4.ebuild b/dev-ruby/stringex/stringex-2.8.4.ebuild
new file mode 100644
index 000000000000..7b44be261f94
--- /dev/null
+++ b/dev-ruby/stringex/stringex-2.8.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_DOC_DIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.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 ~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
+}