summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ast')
-rw-r--r--dev-ruby/ast/Manifest1
-rw-r--r--dev-ruby/ast/ast-2.4.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ast/Manifest b/dev-ruby/ast/Manifest
index ad9128a011f8..a718527c899f 100644
--- a/dev-ruby/ast/Manifest
+++ b/dev-ruby/ast/Manifest
@@ -1 +1,2 @@
DIST ast-2.4.0.gem 15360 BLAKE2B 1d68fa8137bf2a158e8b2e0f30d3d803791db7fcb397133681cd2ffb57badebe6f9afd792a7cf3907dc1fa3e3a617fbb0331c85c69e36a46ca49962f30be9979 SHA512 60a0b00103ed57c71907155ee7966127985021e51c1d829e2149c87066504e76fdb955f9717bb19b5627d5b8c44f0d6a165e208900ede2355a47970ee9664b72
+DIST ast-2.4.1.tar.gz 11046 BLAKE2B ef2bf6e9ac6af90c2cc8844d372fd97ddef3d85f846711f1348534a58e0824b92bc7533a36eb737ff436fe79ccedf2169bd01bd740bf7cbbba89f1062bfc9f0d SHA512 270cd84c034fb017e9bb7637443b51e9ba453e467d39093e1212521372ea9ec1c27c1a71f3cc99ff58b8ce6a762b5363e1238fd98efd3bc794449641e53b0bc2
diff --git a/dev-ruby/ast/ast-2.4.1.ebuild b/dev-ruby/ast/ast-2.4.1.ebuild
new file mode 100644
index 000000000000..77cd5eeb8177
--- /dev/null
+++ b/dev-ruby/ast/ast-2.4.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="ast.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library for working with abstract syntax trees"
+HOMEPAGE="https://github.com/whitequark/ast"
+SRC_URI="https://github.com/whitequark/ast/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+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
+}