summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-04-11 07:41:55 +0200
committerHans de Graaff <graaff@gentoo.org>2021-04-12 05:54:28 +0200
commit7620988e91b64b7069b2e62ae154e8a34e80ab2d (patch)
tree831d1ed4376f3ee12484145f78e67125c83673d9 /dev-ruby
parentgames-strategy/darwinia-demo: fix dodoc->doins (diff)
downloadgentoo-7620988e91b64b7069b2e62ae154e8a34e80ab2d.tar.gz
gentoo-7620988e91b64b7069b2e62ae154e8a34e80ab2d.tar.bz2
gentoo-7620988e91b64b7069b2e62ae154e8a34e80ab2d.zip
dev-ruby/faker: add 2.17.0
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/faker/Manifest1
-rw-r--r--dev-ruby/faker/faker-2.17.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index 3619d43798a8..16db91657e2f 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -1,3 +1,4 @@
DIST faker-2.14.0.tar.gz 1150487 BLAKE2B 51343e8d45d2615d180fac4845d2cc8a6509b3710528c2770e52f2e4203e458ba07e3fa4f8f7559704598379b54fe38d8d557fc6cc0b614f3695cee8265adc49 SHA512 3a65a65c587f9e2a12c0d7a1e5ecbb12d059146cfda944d5bca950dd2b8cbdb509722b7b181fc619f395ebb526c3f99461ed74803a79cda1b74df83c203db518
DIST faker-2.15.1.tar.gz 1213822 BLAKE2B dd627078ce1edab63a3f16a5e893c29911b9bf8d88b6d490a368ec16a633e7138124ee66d439738c4f2a8e14b6d0815611ed744d5323817873a0e13f2bddfb06 SHA512 de3721290683a86f985c2783c749be530c3306be73d929517fb54dcde2f64b124cedfa6b10c51e390a38a0b5ac81e2feb0b491c165d0bae9f017463596794fbf
DIST faker-2.16.0.tar.gz 1234511 BLAKE2B 99c53c85094022b33f2213af20b642fafb885ae9cb99169aa2684697e3af9d393b73476ebcd4e7e0541777d0648a53570cd93c352316a7f86c7a2026bf02b47c SHA512 b33054414ad57dd34ce0448d3b8a411d71a14bdbd66fd969007267d1969b40dc37b8d1b6622f81dfe1ed9d38b95cdd9dec699e3233195cfcdb9289d309c0a6f8
+DIST faker-2.17.0.tar.gz 1268170 BLAKE2B 560fe5ebe8384121e720b540d0375aa50cfb40717e2ea4d438cce1918a7996fa3414a01344c26c65e2e0ac6115b3694985355543290b89500359ddc523e47304 SHA512 fd5e3726d881d6378c21932d97c5d92c23e8cf0e36289f6707d76474dc5ee843a731ea6c6a29bfe33564bd7521c91e1a90adff0c205c19a77b0a944766b1d159
diff --git a/dev-ruby/faker/faker-2.17.0.ebuild b/dev-ruby/faker/faker-2.17.0.ebuild
new file mode 100644
index 000000000000..d9a2059ab502
--- /dev/null
+++ b/dev-ruby/faker/faker-2.17.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="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\|yard\)/I s:^:#:' Rakefile || die
+ sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}