summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-01-11 07:52:46 +0100
committerHans de Graaff <graaff@gentoo.org>2020-01-11 07:52:46 +0100
commitd29e43126984ccf450dbf20f0bdf274dbf12a750 (patch)
tree3ca976967e748c11702a6d53d7379105c1583ce9 /dev-ruby
parentdev-ruby/fakefs: add 1.0.0 (diff)
downloadgentoo-d29e43126984ccf450dbf20f0bdf274dbf12a750.tar.gz
gentoo-d29e43126984ccf450dbf20f0bdf274dbf12a750.tar.bz2
gentoo-d29e43126984ccf450dbf20f0bdf274dbf12a750.zip
dev-ruby/faker: add 2.10.0
Package-Manager: Portage-2.3.79, Repoman-2.3.16 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.10.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index 5026da09c52b..9cfc3e0cc310 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -1,4 +1,5 @@
DIST faker-1.9.6.tar.gz 1833392 BLAKE2B 826ee480515873d1e250147e5c3749e222b1273a00fd4ae0a2a28dca91c5981290c8540602d89d406e91d98a0f5dbc6fc4a54ab6d7d2b716a4d4957ab32254dc SHA512 1ea0c4194603b5eaec0f4abc2460fb39cb9de97179d7699c3cb37673731ebf8bf03d20fb422911d4725d4308691d4c92a82f5a661e034381cc04066ddcc955bc
+DIST faker-2.10.0.tar.gz 1026104 BLAKE2B 4e669233bc6def8c15d9b042607fed37c6a267494551af71000b7c774f84a90d5dfbc6a168024fa8cf2a16b03d5041c90a94924fd55a96c7c5d091d6907310c9 SHA512 de7abb03be6c0a2a6a367dcf0611b5416c5d2128ddb33252758f1a0ac9a663fdad034e0f7dd3ca8cf060fe5bca011e3a078b2a9b36bab5daec9d7a406d9df7ba
DIST faker-2.6.0.tar.gz 983084 BLAKE2B 663075668d17b25eef1528379ce0f8079d34672bac658d7cc96d8b3bb07d63d7aec0249409bcee7d60eb033753be8a37ad04c43b22dcfaa5c4dfb735c1663a64 SHA512 ddec1d70e1becab987da2e9c261e7b3e8903fae77e0e7151f8230aac4d6cfc919a3d9497728d262b28bb3e727e9409a360eb76b410f7b701a108c35380059a4b
DIST faker-2.7.0.tar.gz 986186 BLAKE2B 57cfdc6cf3b241edf3ada2cac3a2430989e5c1ce565701aa0252fcee37d4b61034f423eea1b75a9203b19e66cc070592bc9e13d3a932f68ab3c51c09c8188eb0 SHA512 967cac98efed0f5e35dccca9e78cf4a8a61678d6c1f2bf388db300a4beba8dd9ff004d143c2fea60ab4abdbbff4b5c90354f3cd1cd4c789f80e3fdb81870ed8e
DIST faker-2.8.0.tar.gz 1013036 BLAKE2B e8839083ecaa5849e491c95cf26fefd19fa9245b0fb977701e7ec867961d92eca70031dbb4b43a18acdd41a40aca042195651851c781efbb00188b0b0ba19ecc SHA512 878fb19ed7c29a038c84b26dde17288c6f3af0493975fe8baf7b48487cd89f80e8e471fba5261617a58354f07ce0323b7e90001b39c0f46dd4b87c64a88ec486
diff --git a/dev-ruby/faker/faker-2.10.0.ebuild b/dev-ruby/faker/faker-2.10.0.ebuild
new file mode 100644
index 000000000000..cae4b1e72530
--- /dev/null
+++ b/dev-ruby/faker/faker-2.10.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 !!<dev-ruby/faker-1.9.6-r1"
+
+ruby_add_bdepend "test? ( dev-ruby/timecop )"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}