summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-04-16 10:17:00 +0200
committerHans de Graaff <graaff@gentoo.org>2022-04-17 07:31:46 +0200
commit2a2870da34c20408bbc89ea97f68309f0aad8486 (patch)
treed2626484fe6c3176b21c41157b91496f73aca8fe /dev-ruby/vcard
parentdev-ruby/vcard: drop 0.2.16 (diff)
downloadgentoo-2a2870da34c20408bbc89ea97f68309f0aad8486.tar.gz
gentoo-2a2870da34c20408bbc89ea97f68309f0aad8486.tar.bz2
gentoo-2a2870da34c20408bbc89ea97f68309f0aad8486.zip
dev-ruby/vcard: update EAPI 6 -> 8, add ruby30, ruby31
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/vcard')
-rw-r--r--dev-ruby/vcard/vcard-0.3.0-r1.ebuild26
1 files changed, 26 insertions, 0 deletions
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/
+}