summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-10-02 08:53:32 +0200
committerHans de Graaff <graaff@gentoo.org>2021-10-03 08:02:15 +0200
commit5b1e5dc575284102b0cc7ed9535678d03d3cefc8 (patch)
treeb543414e2bf50c2b4dabf087e85f76529c76abe5 /dev-ruby/mini_portile2
parentdev-ruby/nokogumbo: cleanup (diff)
downloadgentoo-5b1e5dc575284102b0cc7ed9535678d03d3cefc8.tar.gz
gentoo-5b1e5dc575284102b0cc7ed9535678d03d3cefc8.tar.bz2
gentoo-5b1e5dc575284102b0cc7ed9535678d03d3cefc8.zip
dev-ruby/mini_portile2: import of 2.6.1
New dependency for dev-ruby/nokogiri-1.12.x Import from graaff overlay. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mini_portile2')
-rw-r--r--dev-ruby/mini_portile2/Manifest1
-rw-r--r--dev-ruby/mini_portile2/metadata.xml11
-rw-r--r--dev-ruby/mini_portile2/mini_portile2-2.6.1.ebuild26
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/mini_portile2/Manifest b/dev-ruby/mini_portile2/Manifest
new file mode 100644
index 000000000000..c20a72305e80
--- /dev/null
+++ b/dev-ruby/mini_portile2/Manifest
@@ -0,0 +1 @@
+DIST mini_portile2-2.6.1.gem 27136 BLAKE2B 762b538c2d57cffe8a8ef570469b7796442f51a7a813a2e4f1dae5bd9a3ca62220c6dad1fc9d9157cbb8e93f940afce4b1e5b2b4d4f9edf01d54ce48d99dd6ca SHA512 d1cda6b7bb6b10187360717fc8ae6812d8f6625f6d302d4f76b7a829213f7938c7f0b68cdad7d7433186513542acfadd30100f4c641693e19ff82c5d6dc78859
diff --git a/dev-ruby/mini_portile2/metadata.xml b/dev-ruby/mini_portile2/metadata.xml
new file mode 100644
index 000000000000..7eb5329f4083
--- /dev/null
+++ b/dev-ruby/mini_portile2/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">flavorjones/mini_portile</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/mini_portile2/mini_portile2-2.6.1.ebuild b/dev-ruby/mini_portile2/mini_portile2-2.6.1.ebuild
new file mode 100644
index 000000000000..29de69e5e838
--- /dev/null
+++ b/dev-ruby/mini_portile2/mini_portile2-2.6.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 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="~amd64"
+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
+}