summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-11-21 07:35:29 +0100
committerHans de Graaff <graaff@gentoo.org>2020-11-21 07:35:29 +0100
commitc79407021747161ea702d621c0160a94d5cc0a02 (patch)
tree315a43d5394ae71353ec989e41738aac8d8b9a81 /dev-ruby
parentdev-ruby/test-unit: add 3.3.7 (diff)
downloadgentoo-c79407021747161ea702d621c0160a94d5cc0a02.tar.gz
gentoo-c79407021747161ea702d621c0160a94d5cc0a02.tar.bz2
gentoo-c79407021747161ea702d621c0160a94d5cc0a02.zip
dev-ruby/vcard: add 0.3.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/vcard/Manifest1
-rw-r--r--dev-ruby/vcard/vcard-0.3.0.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/vcard/Manifest b/dev-ruby/vcard/Manifest
index bb311958aaca..a03df8b0bc00 100644
--- a/dev-ruby/vcard/Manifest
+++ b/dev-ruby/vcard/Manifest
@@ -1 +1,2 @@
DIST vcard-0.2.16.gem 52224 BLAKE2B b8ee48d597e00fad376d632813fba61a22ae5b6b16ce3fc9c7b79839fd2f0d0f87b8bede3d3f6ebd41bb205a222fde540f4d3c46fcef8eb9b5a014ce8abf14da SHA512 33c8183d05b160e65a89747587f174dfa91b299c178c265645d271b54506734e818e3d3ac51a5b20fcddbc489b9ff910e321e5a1160f7b6254bc16faa185634b
+DIST vcard-0.3.0.gem 54272 BLAKE2B ed019b7f771dbe2da574fc059dacdc8eb5b5eca735abe15c2d8aec08b4f91b22c413f317d4f39f100bc78d16bf8e3edf0e0a99d55b8fbdda5b47315bc33d37b1 SHA512 5b54bada881f4d6cce66bb76c15b3594e310659024d163598f857c4c434379c57e07f28873646d0a5a5aecef4313c8fc731313e80df5542e982f333c05802d4d
diff --git a/dev-ruby/vcard/vcard-0.3.0.ebuild b/dev-ruby/vcard/vcard-0.3.0.ebuild
new file mode 100644
index 000000000000..8c9fdf412fbb
--- /dev/null
+++ b/dev-ruby/vcard/vcard-0.3.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+# Avoid the complexity of the "rake" recipe and run testrb-2 manually.
+RUBY_FAKEGEM_RECIPE_TEST=none
+RUBY_FAKEGEM_RECIPE_DOC=none
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby vcard support extracted from Vpim"
+HOMEPAGE="https://github.com/qoobaa/vcard"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+
+each_ruby_test() {
+ ruby-ng_testrb-2 --load-path=lib --pattern='.*_test\.rb' test/
+}