dev-ruby/stringex: add 2.8.4
authorHans de Graaff <graaff@gentoo.org>
Wed, 21 Mar 2018 06:10:00 +0000 (07:10 +0100)
committerHans de Graaff <graaff@gentoo.org>
Wed, 21 Mar 2018 06:10:00 +0000 (07:10 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-ruby/stringex/Manifest
dev-ruby/stringex/stringex-2.8.4.ebuild [new file with mode: 0644]

index 1874a7c3a7056837100b0d37458fd57fdef70f4e..16744064e022e95aa2aff3d354bfcb2a180a5621 100644 (file)
@@ -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 (file)
index 0000000..7b44be2
--- /dev/null
@@ -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
+}