summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-11-12 07:14:37 +0100
committerHans de Graaff <graaff@gentoo.org>2018-11-12 07:14:37 +0100
commitd4a6abe0e28cfce3dda99010a21b5b71cc729c72 (patch)
treef94198c82abc41178032b353dead90ba3ff0b2c2 /dev-ruby/regexp_parser
parentmedia-plugins/kodi-pvr-mythtv: 5.8.19 version bump (diff)
downloadgentoo-d4a6abe0e28cfce3dda99010a21b5b71cc729c72.tar.gz
gentoo-d4a6abe0e28cfce3dda99010a21b5b71cc729c72.tar.bz2
gentoo-d4a6abe0e28cfce3dda99010a21b5b71cc729c72.zip
dev-ruby/regexp_parser: add 1.2.0
Drop ~arm, ~x86 due to new dependency, bug 670976. Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/regexp_parser')
-rw-r--r--dev-ruby/regexp_parser/Manifest1
-rw-r--r--dev-ruby/regexp_parser/regexp_parser-1.2.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest
index 1d3331f090af..9e6da9c8829f 100644
--- a/dev-ruby/regexp_parser/Manifest
+++ b/dev-ruby/regexp_parser/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/dev-ruby/regexp_parser/regexp_parser-1.2.0.ebuild b/dev-ruby/regexp_parser/regexp_parser-1.2.0.ebuild
new file mode 100644
index 000000000000..619f17bc84fb
--- /dev/null
+++ b/dev-ruby/regexp_parser/regexp_parser-1.2.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
+}