commit:     2a2870da34c20408bbc89ea97f68309f0aad8486
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 16 08:17:00 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 05:31:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a2870da

dev-ruby/vcard: update EAPI 6 -> 8, add ruby30, ruby31

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/vcard/vcard-0.3.0-r1.ebuild | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/dev-ruby/vcard/vcard-0.3.0-r1.ebuild 
b/dev-ruby/vcard/vcard-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..b292c1e31a12
--- /dev/null
+++ b/dev-ruby/vcard/vcard-0.3.0-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+# 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/
+}

Reply via email to