diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-10-12 07:11:41 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-10-12 07:19:00 +0200 |
commit | 3dd3ccb9075becaaf61e0a894c894e85573abddc (patch) | |
tree | 646e529c35009bd7128a14839143d5c71e268629 /dev-ruby | |
parent | dev-lang/rust: add libressl 3.2.x patch to 1.47.0 (diff) | |
download | gentoo-3dd3ccb9075becaaf61e0a894c894e85573abddc.tar.gz gentoo-3dd3ccb9075becaaf61e0a894c894e85573abddc.tar.bz2 gentoo-3dd3ccb9075becaaf61e0a894c894e85573abddc.zip |
dev-ruby/regexp_parser: add 1.8.2
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/regexp_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/regexp_parser/regexp_parser-1.8.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 6980112fd2c7..655816159381 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -3,3 +3,4 @@ DIST regexp_parser-1.5.1.tar.gz 82482 BLAKE2B ff1746e52e786e273923dd222ea8c8276e DIST regexp_parser-1.7.1.tar.gz 83865 BLAKE2B 1aab4f5c4d399ee48951a9fa9f24fef14073ca5267ec29e5011880274d2749a7a3d1f5cb2a6a5107d5c848537367e1f725a6de9bb9af8803ccc8ccedaac415eb SHA512 fda810bc18039484725df5c6092b3d1b31f398e337cbace253cfdfa934274902f2dcb4e64c4fd0bb24379c79ea2976383313c1a5cd4ad246ecb7eabfd1a47d64 DIST regexp_parser-1.8.0.tar.gz 85071 BLAKE2B 1d9f60617372f872e8b372bbee0f808d060add768094d53bc05ef2f4757936fcfb4772dc0a2ba59630884b339a3c66d34336cfa05825f4ef53427ddd3528b9d7 SHA512 bbf2429c00c214288869b77641e44d04591c3917ceeb9262ae8638c0731b020bead4a7b11d397ef2e1a26752c660addcc46fd94a4e557766d230de71b99a9501 DIST regexp_parser-1.8.1.tar.gz 85379 BLAKE2B 341f16b6fce9654984c9fbab589ef0991d50f42e935558da2741e2dcbfe8cbc21200fd2233abff2907a1bd44c5b350b41a665ef4f993591b92f31d3280a24ba5 SHA512 6642dad18313e10856d86bf3ecd2fc5b0927698ca8e37f17745b755088f750febf2c05fd098e99b87543cd90f944ae0d9c4c03452048d2b44b4b1fb68e986045 +DIST regexp_parser-1.8.2.tar.gz 85592 BLAKE2B 55333dbf59606d1f203c84cc3e712ddba9551be492745f2a0ce9ca8ba56e9a6eb1aee0c9d3d5079114c65747746f6ef4df3cbbf5a917562f413ca3426fd16efc SHA512 8192ee4334d2da13af5552eccd4fed82b24ed57489e3e0d8d083e8cf72e52fa185c2e007e9adf1ec6e59b0cf4e4055eb8def28d5cc94cc7a9ab7981d14f8e727 diff --git a/dev-ruby/regexp_parser/regexp_parser-1.8.2.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.8.2.ebuild new file mode 100644 index 000000000000..9a339fd368c9 --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-1.8.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:full" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="regexp_parser.gemspec" + +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="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/regexp_property_values dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} |