summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-02-22 09:11:30 +0100
committerHans de Graaff <graaff@gentoo.org>2022-02-22 09:17:16 +0100
commit6bec5063e5272d18c71609d8e65deede9a0d05e1 (patch)
treed1bfb5ee2eb902c5d68cd260089c274ffdff8982 /dev-ruby/mini_portile2/mini_portile2-2.8.0.ebuild
parentdev-python/mkdocs-git-revision-date-localized-plugin: add missing test dep (diff)
downloadgentoo-6bec5063e5272d18c71609d8e65deede9a0d05e1.tar.gz
gentoo-6bec5063e5272d18c71609d8e65deede9a0d05e1.tar.bz2
gentoo-6bec5063e5272d18c71609d8e65deede9a0d05e1.zip
dev-ruby/mini_portile2: add 2.8.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mini_portile2/mini_portile2-2.8.0.ebuild')
-rw-r--r--dev-ruby/mini_portile2/mini_portile2-2.8.0.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/mini_portile2/mini_portile2-2.8.0.ebuild b/dev-ruby/mini_portile2/mini_portile2-2.8.0.ebuild
new file mode 100644
index 000000000000..5bcbb0b35482
--- /dev/null
+++ b/dev-ruby/mini_portile2/mini_portile2-2.8.0.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"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simplistic port-like solution for developers"
+HOMEPAGE="https://github.com/flavorjones/mini_portile"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitar
+ dev-ruby/minitest-hooks
+ dev-ruby/webrick
+)"
+
+each_ruby_test() {
+ ${RUBY} -w -W2 -I. -Ilib -e 'Dir["test/test_*.rb"].map{|f| require f}' || die
+}