diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-02-26 06:49:19 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-02-26 06:49:19 +0100 |
commit | 7cb43590de8f6b58521eccbf627e21cc5ef231f1 (patch) | |
tree | 55c083700d31df9b29d69a965188c12e55716ae3 /dev-ruby/regexp_parser | |
parent | dev-ruby/mime-types-data: add 3.2021.0225 (diff) | |
download | gentoo-7cb43590de8f6b58521eccbf627e21cc5ef231f1.tar.gz gentoo-7cb43590de8f6b58521eccbf627e21cc5ef231f1.tar.bz2 gentoo-7cb43590de8f6b58521eccbf627e21cc5ef231f1.zip |
dev-ruby/regexp_parser: add 2.1.1
Package-Manager: Portage-3.0.13, Repoman-3.0.2
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.1.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index 289117edb355..d0222c4c2865 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -4,3 +4,4 @@ DIST regexp_parser-1.8.2.tar.gz 85592 BLAKE2B 55333dbf59606d1f203c84cc3e712ddba9 DIST regexp_parser-2.0.0.tar.gz 85985 BLAKE2B 6d206de85e85cd5f3f472f6b2cba49bc03aa43fc246af145188c2ebfe3da1c23e0b8b5d307d8902662abcd220b3c7a439825ada2012a09fdfffd9c390865a0d3 SHA512 a896f81988c8fb8074e05abe6c9723a314b147ac2098d11324842b79a8b74ae3a8237ef1ec0f80cadc223c13b06fa0ba231013ffdcd00710381e5c2fc7ebf175 DIST regexp_parser-2.0.3.tar.gz 86862 BLAKE2B 261703b7f005d234bbb2be655b6f9974e9f160b36af9082339653f469b9a18cffd39e04878a0a007c09252be747928bcd04e59af1c5572bc3f627495432bcc3d SHA512 0df0c6a023b26c48570ec5761af4bc90ab78afeae4f6f6864529102b826301b11b8a2cbfa7dbdd4b18221be7450ccd0d69c603a4cdd800c0b68fd6e5cc3c0eff DIST regexp_parser-2.1.0.tar.gz 89371 BLAKE2B b63dea78a98b85566ac45078350c545ba8b0e77398e1307aa530b160b607aa98c6605dc2c01dbe51eaef15720067c9197a50c81c442e04ee39473a58567c01ca SHA512 007c1b3a0d90fa0667dbe7ee85ed35d5b45bf511f8d90feb787d7f8d5c017155987368459b64a635ef3af529b6f73920e3c566f37ea7cf4bb68cb641aee9f55c +DIST regexp_parser-2.1.1.tar.gz 89399 BLAKE2B 7632b1e65e929f610e6bedc7954f81ca080f4f290794da617dbaeaae324186581a6e0ab78fb8d7311c33876b8cce090fdb6d4b868eeb80b82fa8461da5d82bfe SHA512 809b8c5f7bcceb0c31e97256d5a40a04bb7919cfa0a139e972e90a72ba15eee6dce8ac1f8e65f5e8f7a5f992a2fab91d6ae19f27a1f5ec7795fcc082ff037e13 diff --git a/dev-ruby/regexp_parser/regexp_parser-2.1.1.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.1.1.ebuild new file mode 100644 index 000000000000..f159a54f45da --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.1.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="test:full" + +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="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~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 +} |