diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-11-15 08:23:31 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-11-15 08:24:01 +0100 |
commit | c500ebe5e411cc9bf804cc53b0bf8d8c30660df5 (patch) | |
tree | 2430bc63839fc73d532c373fa3d0472fc1de9662 | |
parent | dev-ruby/httparty: add 0.16.3 (diff) | |
download | gentoo-c500ebe5e411cc9bf804cc53b0bf8d8c30660df5.tar.gz gentoo-c500ebe5e411cc9bf804cc53b0bf8d8c30660df5.tar.bz2 gentoo-c500ebe5e411cc9bf804cc53b0bf8d8c30660df5.zip |
dev-ruby/regexp_parser: add 1.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r-- | dev-ruby/regexp_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/regexp_parser/regexp_parser-1.3.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 9e6da9c8829f..318873386520 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,3 +1,4 @@ DIST regexp_parser-0.4.13.tar.gz 81658 BLAKE2B 008b5c2ab7b08a23c18f165de2028fab7b42660644dedc467edc5b36065ccebdd80aac0612a37efc59248d2c7116746de41beca964a5c92800c23d33faf98ac0 SHA512 f6996b4c0be7f387657fed7a8fd505dd9dd3a15dcd09e12be0bcaf0bdf2321dc6a15a731e7062b76dc40e953b207340747f1429cc7e621dc0b1caa58154ba841 DIST regexp_parser-0.5.0.tar.gz 80554 BLAKE2B 7890e6850e3ffbb927c5e72430ab29e6aeec4f8684eb56f4153414aca62702faa57f48887618e84b1d087e2ba366ec9d6b2e92200cc34472b7bbb5a8b0043415 SHA512 0d1c43fda01077b9b3d9c28ce9cb01772f10817e42d9c0ff28e6ea5cd059ad4869b940498c6a4e77d4fc6acb6ac0aba293ae67dd012650cdb58989b90868be16 DIST regexp_parser-1.2.0.tar.gz 82333 BLAKE2B 9748e69c876365f8ef9431dd14168e2759312e51145d856043cd36a7198a68ea08ad31e120aab76ed64a615d776c3ac20e269fc62915fb3ef472438eb90fd440 SHA512 4f47a12e420ecefcc167ff9655b4df97c4a06de4e0ac6479d3595fe1d89b142dc6a64d34b9f4401da9f06119e71fde19d46db7c7e28c4eb0ab5df2e293a36cea +DIST regexp_parser-1.3.0.tar.gz 82564 BLAKE2B 4b35174893fe3af4d4c2f65625c8920ed4fa5b081868ecfdd418af5bd24749e123c27f26201caa7a792cc3abd89bd826ac332ad042731a330fbf3b05052c14fa SHA512 e2947d32bb8f81fab2428c92ca03389a6df963c4bc2104f9cb9bf013616efc5fdbef711e87d6ff15e2d3a5bc667b1a8c9fc643672975fa23b6e700b2a090c536 diff --git a/dev-ruby/regexp_parser/regexp_parser-1.3.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.3.0.ebuild new file mode 100644 index 000000000000..619f17bc84fb --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-1.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINWRAP="" + +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" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake test? ( dev-ruby/regexp_property_values )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + sed -i -e '1irequire "delegate"' test/support/warning_extractor.rb || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib bin/test || die +} |