diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-04-07 07:22:12 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-04-07 07:22:12 +0200 |
commit | 5e805961be05db1801a2640554635acd85849971 (patch) | |
tree | e3558c776b4c7cf578ae715806eeb393ab29f683 /dev-ruby | |
parent | app-admin/puppetdb: 4.4.0 bup (diff) | |
download | gentoo-5e805961be05db1801a2640554635acd85849971.tar.gz gentoo-5e805961be05db1801a2640554635acd85849971.tar.bz2 gentoo-5e805961be05db1801a2640554635acd85849971.zip |
dev-ruby/regexp_parser: add 0.4.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/regexp_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/regexp_parser/regexp_parser-0.4.3.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 12c69aeae236..e06a073a9af4 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,2 +1,3 @@ DIST regexp_parser-0.3.6.gem 96256 SHA256 5c4536dfb8ba1102ce3a9e6d7e1ec57a17a0d752ca495a31efaf5e6984ed9b31 SHA512 2c4b91d095c18cb1381b176f79772f38ec86b39cd7c2678d830150a6d3519bd45531a8bf6ca404b9499a3f5ec083d21a0f7e1f36574176faea06c67527164a41 WHIRLPOOL 05aa63f2f2caedc3c7f9f3ce9e1e5cf5ebcdcb0865d159b6ddc15cd06925a4b2c229d5213971ea8a35819b10701b62f42bc784f0952576deacff3e200da19327 DIST regexp_parser-0.4.1.tar.gz 76970 SHA256 5beebf24e5e0eaf8aa09b9a26af437af849ea6883a2e86adeb1cbadf4ec0ed27 SHA512 9d8c9ee2a9b7fcba52b05a54d5e21c21b81d77edd4acf181c3d0efd576d68b509af44d06f9b961288ce76198fbab404c93a1a5092baea3d725db242228e74183 WHIRLPOOL b6e6981caff91e918b7e54167220c60ec304d223b457a1243b72fcc5d37ea8dab2a39420b3402f263381b7cfe37710e3e56ff78004b4a81b3c7d43867370fd22 +DIST regexp_parser-0.4.3.tar.gz 77226 SHA256 fd5a0642c871e707bd31790cc5831fe661536a82d74f3256586e08b302da9419 SHA512 6b9447e54238c57333b8e9209ad2a737f4f87c459d2955ce53b4331852d8ec74b1e7de3ec974c74eb8535b2e6fea7b9245a807f84aa165a4bc4223cad7fa092a WHIRLPOOL a63f59a27cbb1603bef0f5472a94f662090502e0e804d9bc4253b4152e4c91c1f26c9f63b595c788c5f2e76b1e7ca0d9c6d6c6b43021c6d42be76e0b706633f5 diff --git a/dev-ruby/regexp_parser/regexp_parser-0.4.3.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.4.3.ebuild new file mode 100644 index 000000000000..86075ebaa8ec --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-0.4.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 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 +} |