diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-12-20 06:53:03 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-12-20 06:53:03 +0100 |
commit | 480e47e6be07c188f2b4a4348b732de98b47cdb0 (patch) | |
tree | 1e77cdd9f668593c1b4a564a2a922e73d663567b /dev-ruby/regexp_parser | |
parent | dev-ruby/sass: clean up old slot that no longer has dependencies (diff) | |
download | gentoo-480e47e6be07c188f2b4a4348b732de98b47cdb0.tar.gz gentoo-480e47e6be07c188f2b4a4348b732de98b47cdb0.tar.bz2 gentoo-480e47e6be07c188f2b4a4348b732de98b47cdb0.zip |
dev-ruby/regexp_parser: add 0.4.1
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/regexp_parser')
-rw-r--r-- | dev-ruby/regexp_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/regexp_parser/regexp_parser-0.4.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 4eee93b87f19..29c10456ed7a 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,2 +1,3 @@ DIST regexp_parser-0.3.2.gem 94720 SHA256 147d6d2b4f7e10c3ef96801176cd9c8c811c6a923bcda4ffd6055d9bfb6eaa1f SHA512 4a53a54136936bec98be7828372d132ffb8fc809f6e989eb584d6037a44714efa707eaf27e3dc41072243b3db4a80be69dbf9e0065d7f5b2014d06f5b94b11ba WHIRLPOOL 0d8ef2b357c20d1f7eb5b5d391cf166f3faefb9115ba20beb16519d07ebc18581277c46f7c3ed7990c718766ff06b3dd4611ecbc0e53410b7d8bda8d002046bd 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 diff --git a/dev-ruby/regexp_parser/regexp_parser-0.4.1.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.4.1.ebuild new file mode 100644 index 000000000000..765e3913d179 --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-0.4.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +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="" + +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 +} |