summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-04-28 09:45:15 +0200
committerHans de Graaff <graaff@gentoo.org>2023-04-28 10:49:15 +0200
commit5afdc59f21189d6bb842d71442ec948824eedb7a (patch)
tree14c756e35a0c58c7e53079aa249a4f2a5ee50af5 /dev-ruby
parentdev-ruby/backports: add 3.24.1 (diff)
downloadgentoo-5afdc59f21189d6bb842d71442ec948824eedb7a.tar.gz
gentoo-5afdc59f21189d6bb842d71442ec948824eedb7a.tar.bz2
gentoo-5afdc59f21189d6bb842d71442ec948824eedb7a.zip
dev-ruby/faker: add 3.2.0
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-3.2.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index de50ffe95afd..2e3f1c990e0b 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -1,3 +1,4 @@
DIST faker-2.23.0.tar.gz 1709736 BLAKE2B e3524dbecbd1a4825ef8b38801ae1fa30a4392a7d2eb6fe1c94c3da0b0a4f18db621a42423510bf2f9c4bba175d66e10808252a923c9703aaa8de5d5ed54dd44 SHA512 b037833b3a6d07adaa70c665af66343d90389f282a2faf8ca55a5a81988163263e3b3069744e67ede206512bb67cf53a104eed34c39d92feb10a282f411bde41
DIST faker-3.1.0.tar.gz 1726248 BLAKE2B 55e5ece86c262c91cc7b806f31fc852297158cbfa213e375173d6ed4956daf515f7b3e09273ed40c70b92c2de8e94fc8ff45f62d87b59a37ee097a2cb6bc6a9b SHA512 4fa1d1dc72ae0cb21cdf6fede999a6cbf43e20062306896cca5e2333da9423612ac11b5ecdfb033da46c1eb3141a0bcac47d25485666f126a35971acb4edfcb5
DIST faker-3.1.1.tar.gz 1730104 BLAKE2B 131e017b48f4e270c616c33c824aeea827d654ecc6c68f8df5524d9b62950b0ca724b778b9075d00364a7133aa73eec4f2df656f0e828008bf17fe17ee0075de SHA512 43bb00a78520cff4168bcd0f63d07f524fa91588698a166492abf3547b1144ee4224022dd4b3004c779647d0902606788e12fb31735ccb2fb15fece326c5e08d
+DIST faker-3.2.0.tar.gz 1741224 BLAKE2B 0ff591bda01c5009ef1303403fa954f00f4fb885ef48d4838aa471cc00f527b2a738eedc93ada1cb00c0286c53650960dbf55cbf1ac056b16c93f2489dc0f5ae SHA512 472029d6966a5583cab3991821557af25d2b2bfbbee3c9cda824503d3a0cf8f8ffc9ffaa40299cab952815a40148d20aed78c37d3dedb3c91b3f4bcdf70e5bd1
diff --git a/dev-ruby/faker/faker-3.2.0.ebuild b/dev-ruby/faker/faker-3.2.0.ebuild
new file mode 100644
index 000000000000..eba3f189c07d
--- /dev/null
+++ b/dev-ruby/faker/faker-3.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+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/faker-ruby/faker"
+SRC_URI="https://github.com/faker-ruby/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 !<dev-ruby/faker-2.23.0-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
+}