summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-01-26 07:28:09 +0100
committerHans de Graaff <graaff@gentoo.org>2018-01-26 07:28:09 +0100
commit5320e47b7607fe9e26a0e030f32f95f336150f33 (patch)
tree8e9109c5a334c37aa399740c95603e44f60d3441 /dev-ruby/ast
parentdev-ruby/ascii85: add 1.0.3 (diff)
downloadgentoo-5320e47b7607fe9e26a0e030f32f95f336150f33.tar.gz
gentoo-5320e47b7607fe9e26a0e030f32f95f336150f33.tar.bz2
gentoo-5320e47b7607fe9e26a0e030f32f95f336150f33.zip
dev-ruby/ast: add 2.4.0
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/ast')
-rw-r--r--dev-ruby/ast/Manifest1
-rw-r--r--dev-ruby/ast/ast-2.4.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/ast/Manifest b/dev-ruby/ast/Manifest
index 07f2b4e904ad..d8696b756293 100644
--- a/dev-ruby/ast/Manifest
+++ b/dev-ruby/ast/Manifest
@@ -1,2 +1,3 @@
DIST ast-2.2.0.gem 14848 BLAKE2B c74733f6d72eeefb9576128e1e58f1f002352ba9d7c2a2474677b580a85783c5963ba7f681caa0e3fe08ab4c5fdf05d304898a478550ab437665eb520fc1f851 SHA512 556b9d68787a05f33f6f7e518971dfc965d326fd1a2e0dd1d16d1360526c598fccb0117a09348da88f6243bb3295dbb6d91fa6bd2a27c19cd7b519105b826aea
DIST ast-2.3.0.gem 14848 BLAKE2B 141aa3fd01bfd9d7c1b82ff20cab9243322c70f69ee54026ec121c5491fdfca1c00eae293c631c67b0c12b0ba9aeadcf3756a9cbe2a05cfa7c89a8acda48d188 SHA512 7b814517075a5f4607cab24e1c20747c7def1d818e6df95205eaad2152952a38cd551bff5f0d59979fd8c6cb7dfa6bc9830541257bb3a24927217fd84526d58f
+DIST ast-2.4.0.gem 15360 BLAKE2B 1d68fa8137bf2a158e8b2e0f30d3d803791db7fcb397133681cd2ffb57badebe6f9afd792a7cf3907dc1fa3e3a617fbb0331c85c69e36a46ca49962f30be9979 SHA512 60a0b00103ed57c71907155ee7966127985021e51c1d829e2149c87066504e76fdb955f9717bb19b5627d5b8c44f0d6a165e208900ede2355a47970ee9664b72
diff --git a/dev-ruby/ast/ast-2.4.0.ebuild b/dev-ruby/ast/ast-2.4.0.ebuild
new file mode 100644
index 000000000000..3f3bb140d306
--- /dev/null
+++ b/dev-ruby/ast/ast-2.4.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library for working with abstract syntax trees"
+HOMEPAGE="https://github.com/whitequark/ast"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? (
+ dev-ruby/bacon )"
+
+all_ruby_prepare() {
+ sed -i -e "/[Bb]undler/d" Rakefile || die
+ sed -i -e "/git ls/d" ${PN}.gemspec || die
+ sed -i -e "/simplecov/,+11d" -e "/colored_output/d" test/helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bacon -Itest -a || die
+}