summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/faker/Manifest1
-rw-r--r--dev-ruby/faker/faker-2.11.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/faker/Manifest b/dev-ruby/faker/Manifest
index 90781a87b940..09df612b0f8f 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.10.2.tar.gz 1028811 BLAKE2B 27976e94f2910c37943318d4e4330d557dec3d7aed9ff291bfa7ac108298787352cb7c93f15fda80d17d2c639615b215e147d8f97c707c8ab66033acab1c7f9e SHA512 3a6326778a190a26ff0842e9d21c43d27106b8fff5a7057eb4ce3d7f64ae378604f56e93ab1baee84634c256633044f3aaef93b49e06b70905d959f09fa1d70a
+DIST faker-2.11.0.tar.gz 1033369 BLAKE2B 51677346980bd5070a145b1d8dd11a6426cf9da5c407e030d9722ed8ccc4ed1a0a8b2d5534c96b50fbe79e84fe71e4268f3228c223dc61fe4c74cda0de18a790 SHA512 9adc03cdef0714656738d354d787a99cb9fcc85718847db7b183b02f38d550ff86d65c8e6ed13be3c839cc64f36f3e95ff25dd5d2f8f45c7207dbe5735238e0a
DIST faker-2.8.1.tar.gz 1019881 BLAKE2B 06336ba84a512058150ac50535e4d6a466628d127999a47f954076250c5fbb01ca901b80e1933286a88ae0770a1fef874ac24299f5d28a327f06f901007c729d SHA512 8cee9dc1ea8c1aea65f117dcfdda0b9cf17c297ead58ed8ee97626f0c448f91e4f87fe4c27a09c5da844af7476ea442ae32e23d829f50d6686b44283569a0902
diff --git a/dev-ruby/faker/faker-2.11.0.ebuild b/dev-ruby/faker/faker-2.11.0.ebuild
new file mode 100644
index 000000000000..175a91f89e20
--- /dev/null
+++ b/dev-ruby/faker/faker-2.11.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+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 '/rubocop/I s:^:#:' Rakefile || die
+ sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}