dev-ruby/bindex: add 0.8.1
authorHans de Graaff <graaff@gentoo.org>
Sat, 13 Jul 2019 06:12:34 +0000 (08:12 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 13 Jul 2019 06:13:30 +0000 (08:13 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/bindex/Manifest
dev-ruby/bindex/bindex-0.8.1.ebuild [new file with mode: 0644]

index ab2e51743b76964a165d748d761a90402c698d83..015e99992e1f619aa375fbf84d1a9305ace87f55 100644 (file)
@@ -1 +1,2 @@
 DIST bindex-0.7.0.gem 19456 BLAKE2B b9bbd6856e2e8c388aa02dbe6e93762cbb2011909ca62eb8d710e064c569f3f0454e352777434257920f33ce953195c48a368e337a672b63afd201c20597de16 SHA512 f991514979661cd7a03ece0aea368136ffcb8ed0b6d49ce11b3e1291d1dd3b653e78465b6433dc75b15cd320fb9839021937683828c8361b3cc1753377e3a757
+DIST bindex-0.8.1.gem 19968 BLAKE2B dccbee6954c530f64ac13e7ed0108fe81978327c216ad2e60b675eed92419494cd32ba0e09ff2fa5371f3fff61e05661bdf704644cce49310dc6ce10888cc4e5 SHA512 18729825e329c24e483f1e181315d373d5095c18918088d915a8307e2775e5d0163dae50440f5c58609bf32806fa567ece8bfbbd69a061a8c30e367605bc3444
diff --git a/dev-ruby/bindex/bindex-0.8.1.ebuild b/dev-ruby/bindex/bindex-0.8.1.ebuild
new file mode 100644 (file)
index 0000000..b4793d7
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Bindings for your Ruby exceptions"
+HOMEPAGE="https://github.com/gsamokovarov/bindex"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+       sed -i -e '/bundler/I s:^:#:' Rakefile || die
+}
+
+each_ruby_configure() {
+       ${RUBY} -Cext/skiptrace extconf.rb || die
+}
+
+each_ruby_compile() {
+       emake V=1 -Cext/skiptrace
+       cp ext/skiptrace/cruby.so lib/skiptrace/internal/ || die
+}