summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-09-23 08:13:07 +0200
committerHans de Graaff <graaff@gentoo.org>2017-09-23 08:13:24 +0200
commit92636dacc2d44babddc23040dbf1e83f8779bbb0 (patch)
treef7038dad1223105d5c9b0cd4f0ba4f4262ddc01e
parentx11-drivers/nvidia-drivers: Version bump. (diff)
downloadgentoo-92636dacc2d44babddc23040dbf1e83f8779bbb0.tar.gz
gentoo-92636dacc2d44babddc23040dbf1e83f8779bbb0.tar.bz2
gentoo-92636dacc2d44babddc23040dbf1e83f8779bbb0.zip
dev-ruby/regexp_parser: add 0.4.5
Package-Manager: Portage-2.3.8, Repoman-2.3.2
-rw-r--r--dev-ruby/regexp_parser/Manifest1
-rw-r--r--dev-ruby/regexp_parser/regexp_parser-0.4.5.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest
index 56d461aec17..6b6657c388b 100644
--- a/dev-ruby/regexp_parser/Manifest
+++ b/dev-ruby/regexp_parser/Manifest
@@ -1,2 +1,3 @@
DIST regexp_parser-0.4.3.tar.gz 77226 SHA256 fd5a0642c871e707bd31790cc5831fe661536a82d74f3256586e08b302da9419 SHA512 6b9447e54238c57333b8e9209ad2a737f4f87c459d2955ce53b4331852d8ec74b1e7de3ec974c74eb8535b2e6fea7b9245a807f84aa165a4bc4223cad7fa092a WHIRLPOOL a63f59a27cbb1603bef0f5472a94f662090502e0e804d9bc4253b4152e4c91c1f26c9f63b595c788c5f2e76b1e7ca0d9c6d6c6b43021c6d42be76e0b706633f5
DIST regexp_parser-0.4.4.tar.gz 77548 SHA256 86cd8300e1e10202355abcdfc394db9bf8a8ac6a3c5a6ec40600b46cbdc561fd SHA512 c145c68878b34795d318644ff2b472b8f2120334614ad8f27683185e13ec14d001f7d2c4761a15b871a13eed8a25bd43d547c5b28d06005d943f670f1b15ccba WHIRLPOOL c039d2f9fc815a9d5cc4beb150082e17202b6a9fc7764c3e9c96049ac6b2acdc38bd8c60073f20cead38dbc9b592fcaa7346dec69bc3df9cba05a7e40ed1b6ff
+DIST regexp_parser-0.4.5.tar.gz 77819 SHA256 b2480ee1327c25f634f5f5008d78b94292d8ba05b8adaefc5bd16330127ce92d SHA512 03248616b163bb9c82f3e9be7c0ca30b1d6cee7b1e38b2e9f2386017752544983786e37e26cad2c00a79e3cfedc08672c1b334234f8642c4c67e6ecb35f54af9 WHIRLPOOL 156103ebd3a5c562e46c7f4cc1ea0adf0845548e6a736ec14654902d3d617116056d0182def20b4c8b4e92dc1e9e897da1f03a69d7fdc3f389c7a06075ddbd87
diff --git a/dev-ruby/regexp_parser/regexp_parser-0.4.5.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.4.5.ebuild
new file mode 100644
index 00000000000..50350f12b48
--- /dev/null
+++ b/dev-ruby/regexp_parser/regexp_parser-0.4.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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
+}