From 94639a8d2f617b196b556fec43c7f40555eb2c1e Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 25 Apr 2022 07:19:19 +0200 Subject: dev-ruby/regexp_parser: add 2.3.1 Signed-off-by: Hans de Graaff --- dev-ruby/regexp_parser/Manifest | 1 + dev-ruby/regexp_parser/regexp_parser-2.3.1.ebuild | 36 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-ruby/regexp_parser/regexp_parser-2.3.1.ebuild (limited to 'dev-ruby/regexp_parser') diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index b379c5bd5ba6..25bab88a4a46 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -3,3 +3,4 @@ DIST regexp_parser-1.8.2.tar.gz 85592 BLAKE2B 55333dbf59606d1f203c84cc3e712ddba9 DIST regexp_parser-2.1.1.tar.gz 89399 BLAKE2B 7632b1e65e929f610e6bedc7954f81ca080f4f290794da617dbaeaae324186581a6e0ab78fb8d7311c33876b8cce090fdb6d4b868eeb80b82fa8461da5d82bfe SHA512 809b8c5f7bcceb0c31e97256d5a40a04bb7919cfa0a139e972e90a72ba15eee6dce8ac1f8e65f5e8f7a5f992a2fab91d6ae19f27a1f5ec7795fcc082ff037e13 DIST regexp_parser-2.2.1.tar.gz 90169 BLAKE2B dcfa392bc5dc9e08816b3a2e401744c775a8a5c60067c410d195d60ef155eba287b31243e70677f018e3d751b371a8878933a5e34c4bd5b00cef3bf1b266c00a SHA512 a3a6fbd36e980eaf5f14d0c98c2680aed700b01c7941fbc4e406e14992e432b3ce1510a8be9ef7964ddf0ab85c55b556206cdea36a336de98e6956942b4ff726 DIST regexp_parser-2.3.0.tar.gz 92100 BLAKE2B d3d5315e4643e118f559cdfdc6f30c5fe2104298d4b0d297b4cc0b4cadcbd4b97fbc92eb454b9ca00c917e67d0099d8c50a747d76d51806506c8cc93d0e4d02e SHA512 d297d475897586d78c6678edb77077c2d562e59483b036f65ef1a550c2f2c28b9fc3c96b2a98d5726b58d2a061d6c65b72a48c1e1b3e2a5b7c3ea01543d22746 +DIST regexp_parser-2.3.1.tar.gz 92120 BLAKE2B e4dc8d3d38a260be0d21812703380af418ea6b87c1fff66048111e2d5295b04589cf3d838f3e9eb330f300c7b49c8ccb18867c6fac41e55c0c623cc0206d2c85 SHA512 3f2502afaaeeffe6738c0fa83717f93af22de8704a1ce3cfdae910be287a6bbbab5dcd80d9ce7fb840acabea8d55a0cb06bca1696820f5e568b75c96360c3895 diff --git a/dev-ruby/regexp_parser/regexp_parser-2.3.1.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.3.1.ebuild new file mode 100644 index 000000000000..6f59b303702a --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.3.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="ruby26 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 +} -- cgit v1.2.3-65-gdbad