diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-10-01 08:56:11 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-10-01 09:06:33 +0200 |
commit | e29a92ebdd20e0555e94b0911aaee89790c7dcaf (patch) | |
tree | 0e886ef93be8721a0ae23746f24e8a4a38a5bbc4 /dev-ruby/regexp_parser | |
parent | dev-ruby/psych: add 4.0.6 (diff) | |
download | gentoo-e29a92ebdd20e0555e94b0911aaee89790c7dcaf.tar.gz gentoo-e29a92ebdd20e0555e94b0911aaee89790c7dcaf.tar.bz2 gentoo-e29a92ebdd20e0555e94b0911aaee89790c7dcaf.zip |
dev-ruby/regexp_parser: add 2.6.0
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.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 1c4cbfad351c..f3e6c738da38 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,3 +1,4 @@ DIST regexp_parser-2.3.1.tar.gz 92120 BLAKE2B e4dc8d3d38a260be0d21812703380af418ea6b87c1fff66048111e2d5295b04589cf3d838f3e9eb330f300c7b49c8ccb18867c6fac41e55c0c623cc0206d2c85 SHA512 3f2502afaaeeffe6738c0fa83717f93af22de8704a1ce3cfdae910be287a6bbbab5dcd80d9ce7fb840acabea8d55a0cb06bca1696820f5e568b75c96360c3895 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 diff --git a/dev-ruby/regexp_parser/regexp_parser-2.6.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.6.0.ebuild new file mode 100644 index 000000000000..709592b3f05e --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.6.0.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 +} |