diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-07-31 09:23:34 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-07-31 09:42:10 +0200 |
commit | 52204b3891084c8f5d23c2b195f5bbd265a44a6a (patch) | |
tree | a8ea88d4fad6c920b6a514c2e9f9d3122dc80e72 /dev-ruby/faker | |
parent | media-libs/sratom: bump to 0.6.12 (diff) | |
download | gentoo-52204b3891084c8f5d23c2b195f5bbd265a44a6a.tar.gz gentoo-52204b3891084c8f5d23c2b195f5bbd265a44a6a.tar.bz2 gentoo-52204b3891084c8f5d23c2b195f5bbd265a44a6a.zip |
dev-ruby/faker: add 2.22.0
Closes: https://bugs.gentoo.org/835317
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/faker')
-rw-r--r-- | dev-ruby/faker/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/faker/faker-2.22.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest index 963136ea814d..9adc0890b035 100644 --- a/dev-ruby/faker/Manifest +++ b/dev-ruby/faker/Manifest @@ -1 +1,2 @@ DIST faker-2.19.0.tar.gz 1674687 BLAKE2B d96f30e1ab1febc4f31f4a0709b838978aa2e6ff2e218be25075cb93a19cfef40182ba71a4f7e8bcf1793ff7737a1fa9178d2b847928e40249fb546791841740 SHA512 28d0bfafafb7a2679cd0ec476d14ef79e60f85f6dad2c8ce78002a530474106b0b29191f483a7c4a8f9c1262811fbb6488badae1a400bd520c8c863902e078b6 +DIST faker-2.22.0.tar.gz 1703265 BLAKE2B 931fa442d647186e7124c38afe4e6953f8dfea595140e2765ad86e9c98fc1ca02e6780cd01a49391614798a5862b4b69725bc5f5bbd1c6559f0831782dfe312b SHA512 9447b74d2403714de2bcbf4f3cfae8fc85c42a8a7dda413a06d6cdc8afa0acee620609af8a6ff8962db3b3bdaef27af7c08ab7ba71a23e939ce49638326e9807 diff --git a/dev-ruby/faker/faker-2.22.0.ebuild b/dev-ruby/faker/faker-2.22.0.ebuild new file mode 100644 index 000000000000..5332cb86e976 --- /dev/null +++ b/dev-ruby/faker/faker-2.22.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 +} |