forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |