summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-06-01 08:13:10 +0200
committerHans de Graaff <graaff@gentoo.org>2024-06-01 08:13:10 +0200
commit88ebcf76cea4c30e1174da7525ca79c56d3236a7 (patch)
tree8ea87f2d92fd0872c73c42486bc2d8cdae4121be /dev-ruby/faker
parentdev-ruby/fiber-storage: new package, add 0.1.1 (diff)
downloadgentoo-88ebcf76cea4c30e1174da7525ca79c56d3236a7.tar.gz
gentoo-88ebcf76cea4c30e1174da7525ca79c56d3236a7.tar.bz2
gentoo-88ebcf76cea4c30e1174da7525ca79c56d3236a7.zip
dev-ruby/faker: add 3.4.1
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-3.4.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index a60d1d0dadf2..fae9b9b76fca 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -2,3 +2,4 @@ DIST faker-2.23.0.tar.gz 1709736 BLAKE2B e3524dbecbd1a4825ef8b38801ae1fa30a4392a
DIST faker-3.2.0.tar.gz 1741224 BLAKE2B 0ff591bda01c5009ef1303403fa954f00f4fb885ef48d4838aa471cc00f527b2a738eedc93ada1cb00c0286c53650960dbf55cbf1ac056b16c93f2489dc0f5ae SHA512 472029d6966a5583cab3991821557af25d2b2bfbbee3c9cda824503d3a0cf8f8ffc9ffaa40299cab952815a40148d20aed78c37d3dedb3c91b3f4bcdf70e5bd1
DIST faker-3.2.1.tar.gz 1790088 BLAKE2B 87131d359c40f4a517a0aa5dfde0aa5a8807a6cfd4af31c5fd61cefcc7a4311549b98fe132c846ead0c9d2b1afd7551d3cc32d285ecedf4ee3ec733ed1d886e3 SHA512 6ee9ffacf60bee367a3590195676cc80c79625d920c52bf9dff42957c2afdb099e1fc28c3fe3d981ee163bea3cb044153396c458b3bf859e2fe3f2b6f44aea85
DIST faker-3.2.2.tar.gz 1808552 BLAKE2B 148e821b254de61fc44ff0836e91bb66574bf913d5899410bf4e7939ccbed74a343dc6a1fa504f4cb618dcbdac949d591a36c54e02ac1ae1181cf35b3a309f97 SHA512 d13211874f74a380a21cc8940cd7e7382d404cf28b4b3e4becbf0d6b9c027ebb0e206c15febddecd4ad48bdcd59017c9e33399fa0467d0e205cad044078ba5a6
+DIST faker-3.4.1.tar.gz 1852623 BLAKE2B f3473832cde76ac4775cc9ba8b666f9b92601d2a775c899ffda46bc3b0a7e02b71fce54aa1953c414cb56607705db885925de9e8ed337e5eda64db9e74f724e5 SHA512 28128cbc5e82226cba82d9c0f8c899a3b43d952de965449a357231f1d9e2925a7084053fd6dd653c1a218df99135a0d3b264d87431f042438454cea7acbcabe4
diff --git a/dev-ruby/faker/faker-3.4.1.ebuild b/dev-ruby/faker/faker-3.4.1.ebuild
new file mode 100644
index 000000000000..ab1550bdb13b
--- /dev/null
+++ b/dev-ruby/faker/faker-3.4.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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 '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/**/test*.rb"].each { require _1 }' || die
+}