summaryrefslogtreecommitdiff
path: root/dev-ruby/unindent
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/unindent')
-rw-r--r--dev-ruby/unindent/Manifest1
-rw-r--r--dev-ruby/unindent/unindent-1.0-r1.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-ruby/unindent/Manifest b/dev-ruby/unindent/Manifest
index d35593155100..1a1c2f723ada 100644
--- a/dev-ruby/unindent/Manifest
+++ b/dev-ruby/unindent/Manifest
@@ -1,3 +1,4 @@
DIST unindent-1.0.gem 6144 BLAKE2B 8720a1f6aca7da8cc8659f5a3943e9e56d15f9349efdd622857bbeffc39b04b61beb2b72a9cd337d516db2fbefd7aae02827b6705a81622ca5904dcdcc7575ad SHA512 1bab3352fc8da8b8a3ade8dff2f7c565e36529a79ca68c0a1ca73cdeca93fa507baa9399c6eed4fa020aa74dea6c4260a0242fa8057931a90bc172f138a5e655
+EBUILD unindent-1.0-r1.ebuild 502 BLAKE2B 4778cd88fb57a091dcbe2657173e6579af988168eb82861308040f36ca65934977d47a93cfc9999dfa1e6314e4ebad2b13c95153647def67ee87e1b725cd009c SHA512 34b014659b987bdca57e07200266503cd4ef4a9578c958ca22b3b25d86e3233bb69f7970174bcf7bc7998539453d06d1805025a0ab5cc4733822abc61c1b3bb9
EBUILD unindent-1.0.ebuild 533 BLAKE2B ecd119a1b6dd26bde0b8b38e78a6236313027d7296ffb66355371c8d9b67b543aeebaf58e125203cf743eddd8ee196308cfc46c2698390bad280003387921e81 SHA512 05046ab219719e3cde630f2af113d9d8e8f9bd2e2b779b6f850006096b4280ef7e43aaa1f0915be9e2947da8766740ecddc0687653ffe78c9bf82b61686d254d
MISC metadata.xml 341 BLAKE2B b95139c053f991f2430ac53d70f116c8d70757162b4bdd246283cd3e477afc58c0bb9ce2de89cdf27a7f54148f4958920b04a5066522a7f628a062a81f4bf033 SHA512 41d29de1617293949f2df18b503f931818137f002639578a75b7b6254d78f47d5b56f08ac028c37b3d399dfd8a1d63b2d3f40e22452f9a7ec8beb61c52d88e21
diff --git a/dev-ruby/unindent/unindent-1.0-r1.ebuild b/dev-ruby/unindent/unindent-1.0-r1.ebuild
new file mode 100644
index 000000000000..5c81007c698f
--- /dev/null
+++ b/dev-ruby/unindent/unindent-1.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby method to unindent strings"
+HOMEPAGE="https://github.com/mynyml/unindent"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/nanotest )"
+
+each_ruby_test() {
+ ${RUBY} -I.:lib test/test_unindent.rb || die
+}