diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-11-26 16:25:09 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-11-26 17:08:49 +0100 |
commit | 4f39791a28e91162e5a3ca6273374321ec5c9ae2 (patch) | |
tree | 10171ec9f21a17ad5dfca1fab336d343bc9f809a /dev-ruby/regexp_parser | |
parent | dev-ruby/rcairo: stabilize 1.17.5-r1 for amd64 (diff) | |
download | gentoo-4f39791a28e91162e5a3ca6273374321ec5c9ae2.tar.gz gentoo-4f39791a28e91162e5a3ca6273374321ec5c9ae2.tar.bz2 gentoo-4f39791a28e91162e5a3ca6273374321ec5c9ae2.zip |
dev-ruby/regexp_parser: add 2.6.1
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.6.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index f3e6c738da38..3aaa811be716 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -2,3 +2,4 @@ DIST regexp_parser-2.3.1.tar.gz 92120 BLAKE2B e4dc8d3d38a260be0d21812703380af418 DIST regexp_parser-2.4.0.tar.gz 93162 BLAKE2B cab80ca22b1f34d60a47f7bb3f671e2a7af46b598250a0d1f85049b5b682800badf82c7f0cfc676808999d4128bd8b8a6d2bd073d8a771ee7c07253f1e24e5ce SHA512 cd7a9d5d3d4882753b47a8369a807b3c6d943e36a66d0001d51d5d37d19a46c2ba078217d95952f1dc7c7434699a35bbd6414cd45264db08a0173f887a8d4826 DIST regexp_parser-2.5.0.tar.gz 94251 BLAKE2B 203dcef35f36dec5abd737f56aeb826d102fed875ac90f36521ecdc09c4708ab19ea48dcb6d34259c9358e2db112a34a891dd1f61f0ce322318dd010350e81be SHA512 1ea8082874f6ec8f97f1015fc3f6efb87fd59fafa74c92d0f54d4f649be2a5111ffad400851f3fc3307cc5c361c22a2372b12f1af51f5ac5903e407f49c2e8ff DIST regexp_parser-2.6.0.tar.gz 96082 BLAKE2B 13247e32002ff2b7d33cb24ce20b4841b11202c9427c701e4e970c30e24172bcae949680a7b33130c61050996b49fafd535f8f7f4bc853a6780738d5901a1846 SHA512 1d05f664de803253a000ded43cf4ed492914eb285bdeb1613597568f13804587c829f80289e11ba00274b25862331e36010d5214e64abc1ec3fa9cd9895cb863 +DIST regexp_parser-2.6.1.tar.gz 96292 BLAKE2B 0b981aff33e31c821bff82348d84b755532460a57d328e50b123eb73c04553ebaaf6f4bb360c59798ef0ad1886904e8cf95202a4b50206fa6e88fedf00492a32 SHA512 990d2af8577466887be24f9a942fe1f833a73c2e1048f7ce9d11aced3179fda5385eae9234c6242f306b71ec6014bf087bf67f789e23c513306f307a114f855f diff --git a/dev-ruby/regexp_parser/regexp_parser-2.6.1.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.6.1.ebuild new file mode 100644 index 000000000000..709592b3f05e --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.6.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +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 ~riscv ~sparc ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake dev-ruby/rspec:3 + test? ( dev-ruby/ice_nine 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 +} |