diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-02-24 07:23:37 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-02-24 07:27:18 +0100 |
commit | d6656716715609b4100e71bc4379a6ac4d3a2615 (patch) | |
tree | 039506171fce1fec28dfdf6c33942c550e50cb2f /dev-ruby/regexp_parser | |
parent | dev-ruby/power_assert: add 1.1.6 (diff) | |
download | gentoo-d6656716715609b4100e71bc4379a6ac4d3a2615.tar.gz gentoo-d6656716715609b4100e71bc4379a6ac4d3a2615.tar.bz2 gentoo-d6656716715609b4100e71bc4379a6ac4d3a2615.zip |
dev-ruby/regexp_parser: add 1.7.0
Package-Manager: Portage-2.3.84, Repoman-2.3.20
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-1.7.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index fc8f92526902..855e59cf66ad 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,3 +1,4 @@ DIST regexp_parser-0.5.0.tar.gz 80554 BLAKE2B 7890e6850e3ffbb927c5e72430ab29e6aeec4f8684eb56f4153414aca62702faa57f48887618e84b1d087e2ba366ec9d6b2e92200cc34472b7bbb5a8b0043415 SHA512 0d1c43fda01077b9b3d9c28ce9cb01772f10817e42d9c0ff28e6ea5cd059ad4869b940498c6a4e77d4fc6acb6ac0aba293ae67dd012650cdb58989b90868be16 DIST regexp_parser-1.5.1.tar.gz 82482 BLAKE2B ff1746e52e786e273923dd222ea8c8276eb1e4ffe9bf899068160dec229784709ba679983c1e43736c128ec094861174bd43e0aceea704ee2d38aff4a53e6775 SHA512 4856fbcac800083b417880c30b5d6a5ea445bb85950bdd7898f368bfa2d44b01b1e2058b279f1640cf1cf4d7b28e225d25bc2d356d2c4a7c1be0a2c621dd3827 DIST regexp_parser-1.6.0.tar.gz 82909 BLAKE2B bbf36af3686165c7d0d439cc22181519a79e46853d7e185577026e4e200c1dda9d8696fa2d83a3cb90f78cb2f13632ff0ba9996b7f4a029780d840ba8211507c SHA512 96214654e56bd17a5b79cd979e87ca4cbd86bf9070fb0646dcea913d482e731c8190e17eb31668eb5d429b7ee6f9a13ef3111c60d2d9b87adddfb760859241e9 +DIST regexp_parser-1.7.0.tar.gz 83146 BLAKE2B 2e2c7b2c28fd3ac6e20738da1ccf7d0da0d35bb62523bbdfb221f484d8eb412790938f3aaf3f5a31e3ae892778e3ef876cb9f1bb3eafa695810e1354f70ed9e5 SHA512 5a7c733c581ddf64ee1c55ef6e514333029ac1611ceb71cf0edc9c75061579237c457c3320b84ed069c771ae36b266c796bc49b1f6ff69b1c746b0153b72c2e6 diff --git a/dev-ruby/regexp_parser/regexp_parser-1.7.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.7.0.ebuild new file mode 100644 index 000000000000..7f741fcfa74b --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-1.7.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +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="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake + test? ( 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 +} + +each_ruby_test() { + ${RUBY} -Ilib bin/test || die +} |