summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-11-04 12:53:57 +0100
committerHans de Graaff <graaff@gentoo.org>2022-11-05 08:10:07 +0100
commit99aa7b309701ee0375a16542971afab9c95696b3 (patch)
treee7f2ebb9ac5cd596ac103cb3a37acc8f68343f08 /dev-ruby/faker
parentdev-ruby/bindata: add 2.4.14 (diff)
downloadgentoo-99aa7b309701ee0375a16542971afab9c95696b3.tar.gz
gentoo-99aa7b309701ee0375a16542971afab9c95696b3.tar.bz2
gentoo-99aa7b309701ee0375a16542971afab9c95696b3.zip
dev-ruby/faker: add 2.23.0
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.23.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index 9adc0890b035..b19e0966dcf0 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -1,2 +1,3 @@
DIST faker-2.19.0.tar.gz 1674687 BLAKE2B d96f30e1ab1febc4f31f4a0709b838978aa2e6ff2e218be25075cb93a19cfef40182ba71a4f7e8bcf1793ff7737a1fa9178d2b847928e40249fb546791841740 SHA512 28d0bfafafb7a2679cd0ec476d14ef79e60f85f6dad2c8ce78002a530474106b0b29191f483a7c4a8f9c1262811fbb6488badae1a400bd520c8c863902e078b6
DIST faker-2.22.0.tar.gz 1703265 BLAKE2B 931fa442d647186e7124c38afe4e6953f8dfea595140e2765ad86e9c98fc1ca02e6780cd01a49391614798a5862b4b69725bc5f5bbd1c6559f0831782dfe312b SHA512 9447b74d2403714de2bcbf4f3cfae8fc85c42a8a7dda413a06d6cdc8afa0acee620609af8a6ff8962db3b3bdaef27af7c08ab7ba71a23e939ce49638326e9807
+DIST faker-2.23.0.tar.gz 1709736 BLAKE2B e3524dbecbd1a4825ef8b38801ae1fa30a4392a7d2eb6fe1c94c3da0b0a4f18db621a42423510bf2f9c4bba175d66e10808252a923c9703aaa8de5d5ed54dd44 SHA512 b037833b3a6d07adaa70c665af66343d90389f282a2faf8ca55a5a81988163263e3b3069744e67ede206512bb67cf53a104eed34c39d92feb10a282f411bde41
diff --git a/dev-ruby/faker/faker-2.23.0.ebuild b/dev-ruby/faker/faker-2.23.0.ebuild
new file mode 100644
index 000000000000..5332cb86e976
--- /dev/null
+++ b/dev-ruby/faker/faker-2.23.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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.8.11:1"
+
+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
+}