dev-ruby/faker: add 1.9.5
authorHans de Graaff <graaff@gentoo.org>
Fri, 5 Jul 2019 04:18:09 +0000 (06:18 +0200)
committerHans de Graaff <graaff@gentoo.org>
Fri, 5 Jul 2019 04:18:09 +0000 (06:18 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/faker/Manifest
dev-ruby/faker/faker-1.9.5.ebuild [new file with mode: 0644]

index 9012e8ccc7ff29dd7a09a6f743ff6bf30c6ea6eb..1eb281c961a82f7787638e35af26bf274cad9660 100644 (file)
@@ -1 +1,2 @@
 DIST faker-1.9.3.tar.gz 974178 BLAKE2B 456cff1c57de07f6f0a5d068e45bcc76db6205bd3ab91aae12584bd5342d6ab0ce7e35f7d681915eab371f4211cc1d24443d5496dd31c8a406d73119aed56828 SHA512 b521372e152ce035363e31b140085210bd78763aa45d9e37867b727accd868fcaea7c5b5c07a5795e859dcdbf48ca49233083de231f771e6b7ae7705487c9e32
+DIST faker-1.9.5.tar.gz 991845 BLAKE2B 0f0824d320cf2449c2b8d9c55f30d6d8f6519bd71951b6f4a7a725bf295e62b18a44bcac8749d6ad445a441ecc53432b3864ab70d794220b3d21f6baa8c229d2 SHA512 ef5d31407d6209e37e8fbc5691904c6b242b97069c96d5a3d4d744c91894038255286b50dceadcd512742634f76bfe8d6088b53b46e7a20720fb98dbb2e7042f
diff --git a/dev-ruby/faker/faker-1.9.5.ebuild b/dev-ruby/faker/faker-1.9.5.ebuild
new file mode 100644 (file)
index 0000000..8f37473
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+RUBY_S="faker-v.${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/i18n-0.7:*"
+
+ruby_add_bdepend "test? ( dev-ruby/timecop )"
+
+all_ruby_prepare() {
+       sed -i -e '/simplecov/,/^end/ s:^:#:' test/test_helper.rb || die
+}