diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-13 07:19:18 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-13 07:22:43 +0200 |
commit | d3d0f43d7b96dad567a71213da27b46559ea5c38 (patch) | |
tree | 6b79793f0cf7da3d27c8b885d8d9148d84995d3d /dev-ruby/regexp_parser | |
parent | dev-ruby/timecop: drop 0.9.5 (diff) | |
download | gentoo-d3d0f43d7b96dad567a71213da27b46559ea5c38.tar.gz gentoo-d3d0f43d7b96dad567a71213da27b46559ea5c38.tar.bz2 gentoo-d3d0f43d7b96dad567a71213da27b46559ea5c38.zip |
dev-ruby/regexp_parser: add 2.8.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.8.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 560630dba256..72f0c78a86f0 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,2 +1,3 @@ DIST regexp_parser-2.6.2.tar.gz 96648 BLAKE2B 5da51aa2a76a0f4156cb564936e457d301d3c479d15cc7788e69b3f359aa3555cf61e81c7ddc58f11966c1208c72ceb6f8950e3db2c1924c0185c18ef6c00cec SHA512 ac866233784385e89419f22eeb16c1de08e742715a8454024d94d00078ceaba2a9159e7d8cdc7dff1f93bda61be405453c63666caf31173154b802493c150ec0 DIST regexp_parser-2.7.0.tar.gz 97494 BLAKE2B 676829775c73939f981758ce36b8ad40bf94ba91a75514a6446730abe256fb47877455f973ded2b5a5e6b92ce8adf46e4553231fc8d21579fd08a4acd7273e28 SHA512 850cdc4c1f51e14f7cd704900ded9e82f827a9a26c979113e17bd316bd6a21038fa4f23b3791c6a50b9a675a8524f21504526e40da14fe74baae566d267b9d7c +DIST regexp_parser-2.8.1.tar.gz 102383 BLAKE2B a23df1637f40e1184476bc5511f5e87fba7a3ce398cc725b9a8b2b13fc10dc75a232c62fe7304969334ff4e3dd88a47f47fa6c2749bd3ca09b3036a0c53836fc SHA512 161a3922eef18f7c91a095dcff436c22d090c779bec89407a4bea4a051f0baf76e7f1639f2b534cbf62d9fec9e577170489e8fb961263458960ca45adcd97eee diff --git a/dev-ruby/regexp_parser/regexp_parser-2.8.1.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.8.1.ebuild new file mode 100644 index 000000000000..59958acbb09b --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.8.1.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="ruby30 ruby31 ruby32" + +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" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake dev-ruby/rspec:3 + test? ( dev-ruby/leto:2 dev-ruby/regexp_property_values dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_compile() { + CI=true ${RUBY} -S rake ragel:rb || die +} |