summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-10-24 06:42:01 +0200
committerHans de Graaff <graaff@gentoo.org>2023-10-24 06:42:01 +0200
commit619490626325724630a8baa7a7455ed66b6f5d2a (patch)
tree4f7144ecdc47ffd906a63270bd3da83ed3d5a72e /dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild
parentdev-ruby/io-event: add 1.3.3 (diff)
downloadgentoo-619490626325724630a8baa7a7455ed66b6f5d2a.tar.gz
gentoo-619490626325724630a8baa7a7455ed66b6f5d2a.tar.bz2
gentoo-619490626325724630a8baa7a7455ed66b6f5d2a.zip
dev-ruby/mini_portile2: add 2.8.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild')
-rw-r--r--dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild b/dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild
new file mode 100644
index 000000000000..9db9e3838fb1
--- /dev/null
+++ b/dev-ruby/mini_portile2/mini_portile2-2.8.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos"
+IUSE=""
+
+BDEPEND="test? ( dev-util/cmake )"
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitar
+ dev-ruby/minitest-hooks
+ dev-ruby/net-ftp
+ dev-ruby/webrick
+)"
+
+each_ruby_test() {
+ ${RUBY} -w -W2 -I. -Ilib -e 'Dir["test/test_*.rb"].map{|f| require f}' || die
+}