diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-05-15 06:43:42 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-05-15 07:15:31 +0200 |
commit | f7b0b6b9aa294fa419555b95cedc30c3b8d89956 (patch) | |
tree | f36af8b9213172f6e5374ebcfbc0c15f670268e3 /dev-ruby/regexp_parser | |
parent | net-fs/samba: Removed old. (diff) | |
download | gentoo-f7b0b6b9aa294fa419555b95cedc30c3b8d89956.tar.gz gentoo-f7b0b6b9aa294fa419555b95cedc30c3b8d89956.tar.bz2 gentoo-f7b0b6b9aa294fa419555b95cedc30c3b8d89956.zip |
dev-ruby/regexp_parser: add 0.4.13
Package-Manager: Portage-2.3.36, Repoman-2.3.9
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-0.4.13.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 1b9f99262df2..e0cbade9b3c4 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.4.5.tar.gz 77819 BLAKE2B c25bd61c226903783822ccd71aa8f6ba6a610c6aadedab91d5eb19754b066d2dfc741895cd5ea1f8b101bbf990858a3ecde9020503783a18c7b52bdd3783da68 SHA512 03248616b163bb9c82f3e9be7c0ca30b1d6cee7b1e38b2e9f2386017752544983786e37e26cad2c00a79e3cfedc08672c1b334234f8642c4c67e6ecb35f54af9 DIST regexp_parser-0.4.9.tar.gz 80496 BLAKE2B bf9f5e16e3cd02902ce86091e3f6519e17ed97852218bcea4fff340f89638ad30fd1be4be25282233bc1d5e7936c818bf73e344f5c5de2a6c4229969835191f1 SHA512 e5fdab4bfc4a98c96a5d8bb6ba0cb10982111b4329626439a4fdf687cb641caf693096c455db48ff1d5fbc0de9b4fa88bc10ed86111fce4f3fb2245c54073a7d diff --git a/dev-ruby/regexp_parser/regexp_parser-0.4.13.ebuild b/dev-ruby/regexp_parser/regexp_parser-0.4.13.ebuild new file mode 100644 index 000000000000..e9781606fb8f --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-0.4.13.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 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="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake" + +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 +} |