summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/faker')
-rw-r--r--dev-ruby/faker/Manifest1
-rw-r--r--dev-ruby/faker/faker-2.7.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index bc7efc02a5f7..f46acddf2c96 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -1,2 +1,3 @@
DIST faker-1.9.6.tar.gz 1833392 BLAKE2B 826ee480515873d1e250147e5c3749e222b1273a00fd4ae0a2a28dca91c5981290c8540602d89d406e91d98a0f5dbc6fc4a54ab6d7d2b716a4d4957ab32254dc SHA512 1ea0c4194603b5eaec0f4abc2460fb39cb9de97179d7699c3cb37673731ebf8bf03d20fb422911d4725d4308691d4c92a82f5a661e034381cc04066ddcc955bc
DIST faker-2.6.0.tar.gz 983084 BLAKE2B 663075668d17b25eef1528379ce0f8079d34672bac658d7cc96d8b3bb07d63d7aec0249409bcee7d60eb033753be8a37ad04c43b22dcfaa5c4dfb735c1663a64 SHA512 ddec1d70e1becab987da2e9c261e7b3e8903fae77e0e7151f8230aac4d6cfc919a3d9497728d262b28bb3e727e9409a360eb76b410f7b701a108c35380059a4b
+DIST faker-2.7.0.tar.gz 986186 BLAKE2B 57cfdc6cf3b241edf3ada2cac3a2430989e5c1ce565701aa0252fcee37d4b61034f423eea1b75a9203b19e66cc070592bc9e13d3a932f68ab3c51c09c8188eb0 SHA512 967cac98efed0f5e35dccca9e78cf4a8a61678d6c1f2bf388db300a4beba8dd9ff004d143c2fea60ab4abdbbff4b5c90354f3cd1cd4c789f80e3fdb81870ed8e
diff --git a/dev-ruby/faker/faker-2.7.0.ebuild b/dev-ruby/faker/faker-2.7.0.ebuild
new file mode 100644
index 000000000000..4128467758c3
--- /dev/null
+++ b/dev-ruby/faker/faker-2.7.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+RUBY_FAKEGEM_GEMSPEC="faker.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library for generating fake data such as names, addresses, and phone numbers"
+HOMEPAGE="https://github.com/stympy/faker"
+SRC_URI="https://github.com/stympy/faker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/i18n-1.6 !!<dev-ruby/faker-1.9.6-r1"
+
+ruby_add_bdepend "test? ( dev-ruby/timecop )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}