From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00DEA1382C5 for ; Tue, 18 May 2021 06:04:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D70E7E0802; Tue, 18 May 2021 06:04:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE52BE0802 for ; Tue, 18 May 2021 06:04:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 464CA335D65 for ; Tue, 18 May 2021 06:04:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9D5877E for ; Tue, 18 May 2021 06:04:11 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1621317842.c1efb463452bfb32ca904ad67b2843db83d561e4.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/regexp_parser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/regexp_parser/regexp_parser-2.1.1-r1.ebuild X-VCS-Directories: dev-ruby/regexp_parser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c1efb463452bfb32ca904ad67b2843db83d561e4 X-VCS-Branch: master Date: Tue, 18 May 2021 06:04:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 31a06be8-9179-4bb9-8d0c-a9699576cfe9 X-Archives-Hash: ce1eee1583e9af21fc1390cb721d8477 commit: c1efb463452bfb32ca904ad67b2843db83d561e4 Author: Hans de Graaff gentoo org> AuthorDate: Tue May 18 06:04:02 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue May 18 06:04:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1efb463 dev-ruby/regexp_parser: add ruby30; fix tests Fix tests by running them in the correct ruby interpreter rather than the default one. This also exposed a missing test dependency more clearly. Closes: https://bugs.gentoo.org/772224 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> .../regexp_parser/regexp_parser-2.1.1-r1.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-ruby/regexp_parser/regexp_parser-2.1.1-r1.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.1.1-r1.ebuild new file mode 100644 index 00000000000..154f1879c01 --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.1.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +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" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/ice_nine 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} -S bin/test || die +}