summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-05 08:30:16 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-05 13:51:35 +0200
commit326feca5bd70e91fe144a404ab75720873537371 (patch)
tree2ce60ca124207f49ed56233f65334daf5a65a3f7 /dev-ruby/mab
parentdev-ruby/method_source: amd64 stable (diff)
downloadgentoo-326feca5bd70e91fe144a404ab75720873537371.tar.gz
gentoo-326feca5bd70e91fe144a404ab75720873537371.tar.bz2
gentoo-326feca5bd70e91fe144a404ab75720873537371.zip
dev-ruby/mab: add ruby27; EAPI 7
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mab')
-rw-r--r--dev-ruby/mab/mab-0.0.3-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/mab/mab-0.0.3-r1.ebuild b/dev-ruby/mab/mab-0.0.3-r1.ebuild
new file mode 100644
index 000000000000..5bd2144edae2
--- /dev/null
+++ b/dev-ruby/mab/mab-0.0.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Markup as Ruby"
+HOMEPAGE="https://github.com/camping/mab"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+IUSE="test"
+
+ruby_add_bdepend "
+ test? ( >=dev-ruby/minitest-4:0 )"
+
+all_ruby_prepare() {
+ sed -i -e '1igem "minitest", "~> 4.0"' test/helper.rb || die
+}