summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-29 08:19:47 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-29 08:36:07 +0200
commita20727a71d03067c43229d894c48ed1eff9632e3 (patch)
tree1ef1b2fee14b7deca7b6ae2c6dde71c67a8ac0de /dev-ruby/regexp_parser
parentdev-perl/Encode-compat: Cleanup old version 0.70.0-r1 (diff)
downloadgentoo-a20727a71d03067c43229d894c48ed1eff9632e3.tar.gz
gentoo-a20727a71d03067c43229d894c48ed1eff9632e3.tar.bz2
gentoo-a20727a71d03067c43229d894c48ed1eff9632e3.zip
dev-ruby/regexp_parser: add 0.5.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/regexp_parser')
-rw-r--r--dev-ruby/regexp_parser/Manifest1
-rw-r--r--dev-ruby/regexp_parser/regexp_parser-0.5.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest
index e0cbade9b3c4..4389d05d05a1 100644
--- a/dev-ruby/regexp_parser/Manifest
+++ b/dev-ruby/regexp_parser/Manifest
@@ -1,3 +1,4 @@
DIST regexp_parser-0.4.13.tar.gz 81658 BLAKE2B 008b5c2ab7b08a23c18f165de2028fab7b42660644dedc467edc5b36065ccebdd80aac0612a37efc59248d2c7116746de41beca964a5c92800c23d33faf98ac0 SHA512 f6996b4c0be7f387657fed7a8fd505dd9dd3a15dcd09e12be0bcaf0bdf2321dc6a15a731e7062b76dc40e953b207340747f1429cc7e621dc0b1caa58154ba841
DIST regexp_parser-0.4.5.tar.gz 77819 BLAKE2B c25bd61c226903783822ccd71aa8f6ba6a610c6aadedab91d5eb19754b066d2dfc741895cd5ea1f8b101bbf990858a3ecde9020503783a18c7b52bdd3783da68 SHA512 03248616b163bb9c82f3e9be7c0ca30b1d6cee7b1e38b2e9f2386017752544983786e37e26cad2c00a79e3cfedc08672c1b334234f8642c4c67e6ecb35f54af9
DIST regexp_parser-0.4.9.tar.gz 80496 BLAKE2B bf9f5e16e3cd02902ce86091e3f6519e17ed97852218bcea4fff340f89638ad30fd1be4be25282233bc1d5e7936c818bf73e344f5c5de2a6c4229969835191f1 SHA512 e5fdab4bfc4a98c96a5d8bb6ba0cb10982111b4329626439a4fdf687cb641caf693096c455db48ff1d5fbc0de9b4fa88bc10ed86111fce4f3fb2245c54073a7d
+DIST regexp_parser-0.5.0.tar.gz 80554 BLAKE2B 7890e6850e3ffbb927c5e72430ab29e6aeec4f8684eb56f4153414aca62702faa57f48887618e84b1d087e2ba366ec9d6b2e92200cc34472b7bbb5a8b0043415 SHA512 0d1c43fda01077b9b3d9c28ce9cb01772f10817e42d9c0ff28e6ea5cd059ad4869b940498c6a4e77d4fc6acb6ac0aba293ae67dd012650cdb58989b90868be16
diff --git a/dev-ruby/regexp_parser/regexp_parser-0.5.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.5.0.ebuild
new file mode 100644
index 000000000000..e9781606fb8f
--- /dev/null
+++ b/dev-ruby/regexp_parser/regexp_parser-0.5.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions"
+HOMEPAGE="https://github.com/ammar/regexp_parser"
+SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND+=" =dev-util/ragel-6*"
+
+ruby_add_bdepend "dev-ruby/rake"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/I s:^:#:' Rakefile || die
+ sed -i -e '1irequire "delegate"' test/support/warning_extractor.rb || die
+}
+
+each_ruby_compile() {
+ ${RUBY} -S rake ragel:rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib bin/test || die
+}