diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-01-21 08:20:14 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-01-21 08:20:14 +0100 |
commit | 06c53a130d8b2b1065627284309f5ff314026429 (patch) | |
tree | 0e941c6b4d8ab31bcaa3c951bb1561a2d2a5b3a7 /dev-ruby/regexp_parser | |
parent | dev-ruby/rbs: add 2.8.4 (diff) | |
download | gentoo-06c53a130d8b2b1065627284309f5ff314026429.tar.gz gentoo-06c53a130d8b2b1065627284309f5ff314026429.tar.bz2 gentoo-06c53a130d8b2b1065627284309f5ff314026429.zip |
dev-ruby/regexp_parser: add 2.6.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.6.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index db5b96723050..91f225c7e2a7 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,3 +1,4 @@ DIST regexp_parser-2.4.0.tar.gz 93162 BLAKE2B cab80ca22b1f34d60a47f7bb3f671e2a7af46b598250a0d1f85049b5b682800badf82c7f0cfc676808999d4128bd8b8a6d2bd073d8a771ee7c07253f1e24e5ce SHA512 cd7a9d5d3d4882753b47a8369a807b3c6d943e36a66d0001d51d5d37d19a46c2ba078217d95952f1dc7c7434699a35bbd6414cd45264db08a0173f887a8d4826 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 +DIST regexp_parser-2.6.2.tar.gz 96648 BLAKE2B 5da51aa2a76a0f4156cb564936e457d301d3c479d15cc7788e69b3f359aa3555cf61e81c7ddc58f11966c1208c72ceb6f8950e3db2c1924c0185c18ef6c00cec SHA512 ac866233784385e89419f22eeb16c1de08e742715a8454024d94d00078ceaba2a9159e7d8cdc7dff1f93bda61be405453c63666caf31173154b802493c150ec0 diff --git a/dev-ruby/regexp_parser/regexp_parser-2.6.2.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.6.2.ebuild new file mode 100644 index 000000000000..05d3f3b8b8fd --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.6.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 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 +} |