summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-07 09:54:40 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-07 10:37:03 +0200
commitd0363abcf5e03c00a9743c0f1df49a28ce699725 (patch)
tree8986c49ba3536d81251a9cba98339e0e4024ddc8 /dev-ruby/faker
parentdev-ruby/maxitest: cleanup (diff)
downloadgentoo-d0363abcf5e03c00a9743c0f1df49a28ce699725.tar.gz
gentoo-d0363abcf5e03c00a9743c0f1df49a28ce699725.tar.bz2
gentoo-d0363abcf5e03c00a9743c0f1df49a28ce699725.zip
dev-ruby/faker: add 2.12.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faker')
-rw-r--r--dev-ruby/faker/Manifest1
-rw-r--r--dev-ruby/faker/faker-2.12.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index a9b123ed6c00..940531cd362d 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.11.0.tar.gz 1033369 BLAKE2B 51677346980bd5070a145b1d8dd11a6426cf9da5c407e030d9722ed8ccc4ed1a0a8b2d5534c96b50fbe79e84fe71e4268f3228c223dc61fe4c74cda0de18a790 SHA512 9adc03cdef0714656738d354d787a99cb9fcc85718847db7b183b02f38d550ff86d65c8e6ed13be3c839cc64f36f3e95ff25dd5d2f8f45c7207dbe5735238e0a
+DIST faker-2.12.0.tar.gz 1100460 BLAKE2B 8be31911c9612d7433433121344a1fbfc735740898cb4fa7115a9ec33d22f610e5eca9ace3369da7f6e107478493e7b732a74650a233171ebb8b306f3e2d872e SHA512 7adc89cc3ba7e4d802d5f96199e21a6ed1dc9f0144d2da5a9a5adb705097d1acf4830c7ff0ce733fb9b0ddc11fba0290cade9f791824db5ab737b3facd93f93d
diff --git a/dev-ruby/faker/faker-2.12.0.ebuild b/dev-ruby/faker/faker-2.12.0.ebuild
new file mode 100644
index 000000000000..51feba618ce5
--- /dev/null
+++ b/dev-ruby/faker/faker-2.12.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+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:1 !!<dev-ruby/faker-1.9.6-r1"
+
+ruby_add_bdepend "test? ( dev-ruby/timecop )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(bundler\|rubocop\)/I s:^:#:' Rakefile || die
+ sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}