diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-01-03 08:23:50 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-01-03 09:05:23 +0100 |
commit | 822348dc6d830fc32aca782ccf07d31a4a22b879 (patch) | |
tree | 20ea0db10463da81ddfdd826694edde62067bd2b /dev-ruby/regexp_parser | |
parent | dev-ruby/recog: add 2.3.18 (diff) | |
download | gentoo-822348dc6d830fc32aca782ccf07d31a4a22b879.tar.gz gentoo-822348dc6d830fc32aca782ccf07d31a4a22b879.tar.bz2 gentoo-822348dc6d830fc32aca782ccf07d31a4a22b879.zip |
dev-ruby/regexp_parser: add 2.0.3
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
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-2.0.3.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index f35954285136..fa55a228831d 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -2,3 +2,4 @@ DIST regexp_parser-0.5.0.tar.gz 80554 BLAKE2B 7890e6850e3ffbb927c5e72430ab29e6ae DIST regexp_parser-1.7.1.tar.gz 83865 BLAKE2B 1aab4f5c4d399ee48951a9fa9f24fef14073ca5267ec29e5011880274d2749a7a3d1f5cb2a6a5107d5c848537367e1f725a6de9bb9af8803ccc8ccedaac415eb SHA512 fda810bc18039484725df5c6092b3d1b31f398e337cbace253cfdfa934274902f2dcb4e64c4fd0bb24379c79ea2976383313c1a5cd4ad246ecb7eabfd1a47d64 DIST regexp_parser-1.8.2.tar.gz 85592 BLAKE2B 55333dbf59606d1f203c84cc3e712ddba9551be492745f2a0ce9ca8ba56e9a6eb1aee0c9d3d5079114c65747746f6ef4df3cbbf5a917562f413ca3426fd16efc SHA512 8192ee4334d2da13af5552eccd4fed82b24ed57489e3e0d8d083e8cf72e52fa185c2e007e9adf1ec6e59b0cf4e4055eb8def28d5cc94cc7a9ab7981d14f8e727 DIST regexp_parser-2.0.0.tar.gz 85985 BLAKE2B 6d206de85e85cd5f3f472f6b2cba49bc03aa43fc246af145188c2ebfe3da1c23e0b8b5d307d8902662abcd220b3c7a439825ada2012a09fdfffd9c390865a0d3 SHA512 a896f81988c8fb8074e05abe6c9723a314b147ac2098d11324842b79a8b74ae3a8237ef1ec0f80cadc223c13b06fa0ba231013ffdcd00710381e5c2fc7ebf175 +DIST regexp_parser-2.0.3.tar.gz 86862 BLAKE2B 261703b7f005d234bbb2be655b6f9974e9f160b36af9082339653f469b9a18cffd39e04878a0a007c09252be747928bcd04e59af1c5572bc3f627495432bcc3d SHA512 0df0c6a023b26c48570ec5761af4bc90ab78afeae4f6f6864529102b826301b11b8a2cbfa7dbdd4b18221be7450ccd0d69c603a4cdd800c0b68fd6e5cc3c0eff diff --git a/dev-ruby/regexp_parser/regexp_parser-2.0.3.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.0.3.ebuild new file mode 100644 index 000000000000..f159a54f45da --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 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="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~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 +} |