summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-03 07:45:32 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-03 07:45:32 +0100
commitcdb7e278cf956364aa41682788473df6fa7b8891 (patch)
tree856706ea4d8f6fb9720c6861d84ffe13a9de23e1 /dev-ruby/faker
parentmail-mta/postfix: remove old (diff)
downloadgentoo-cdb7e278cf956364aa41682788473df6fa7b8891.tar.gz
gentoo-cdb7e278cf956364aa41682788473df6fa7b8891.tar.bz2
gentoo-cdb7e278cf956364aa41682788473df6fa7b8891.zip
dev-ruby/faker: add 2.8.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/faker')
-rw-r--r--dev-ruby/faker/Manifest1
-rw-r--r--dev-ruby/faker/faker-2.8.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index f46acddf2c96..ddaa0b6a6561 100644
--- a/dev-ruby/faker/Manifest
+++ b/dev-ruby/faker/Manifest
@@ -1,3 +1,4 @@
DIST faker-1.9.6.tar.gz 1833392 BLAKE2B 826ee480515873d1e250147e5c3749e222b1273a00fd4ae0a2a28dca91c5981290c8540602d89d406e91d98a0f5dbc6fc4a54ab6d7d2b716a4d4957ab32254dc SHA512 1ea0c4194603b5eaec0f4abc2460fb39cb9de97179d7699c3cb37673731ebf8bf03d20fb422911d4725d4308691d4c92a82f5a661e034381cc04066ddcc955bc
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.8.0.ebuild b/dev-ruby/faker/faker-2.8.0.ebuild
new file mode 100644
index 000000000000..4128467758c3
--- /dev/null
+++ b/dev-ruby/faker/faker-2.8.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 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
+}