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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F136215808C for ; Sun, 13 Feb 2022 09:06:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA711E0886; Sun, 13 Feb 2022 09:06:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B425CE087E for ; Sun, 13 Feb 2022 09:06:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E9100342F4C for ; Sun, 13 Feb 2022 09:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46CBC2E0 for ; Sun, 13 Feb 2022 09:06:12 +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: <1644743167.9f2921870227568d68d25e917e541c7423306d46.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/strscan/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/strscan/Manifest dev-ruby/strscan/metadata.xml dev-ruby/strscan/strscan-3.0.1.ebuild X-VCS-Directories: dev-ruby/strscan/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 9f2921870227568d68d25e917e541c7423306d46 X-VCS-Branch: master Date: Sun, 13 Feb 2022 09:06:12 +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: 7ae49d65-c78c-4d6f-9256-85b2dd8a57c2 X-Archives-Hash: 86b2535174f5c0a6f4e7ac48cfbb3b66 commit: 9f2921870227568d68d25e917e541c7423306d46 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 13 08:20:06 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 13 09:06:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f292187 dev-ruby/strscan: import 3.0.1 Extracted from dev-lang/ruby, keywords have been migrated. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/strscan/Manifest | 1 + dev-ruby/strscan/metadata.xml | 11 +++++++++++ dev-ruby/strscan/strscan-3.0.1.ebuild | 36 +++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/dev-ruby/strscan/Manifest b/dev-ruby/strscan/Manifest new file mode 100644 index 000000000000..9d97720cd8a9 --- /dev/null +++ b/dev-ruby/strscan/Manifest @@ -0,0 +1 @@ +DIST strscan-3.0.1.tar.gz 28111 BLAKE2B 4623fe6fd74a9ca30ba1818fe548fcc793f1e22798bba9d561299ccdc493dfa5deafec072b193532c92116307c5b79f2c7c7bd362602b0ba3a0d1ea778a1d528 SHA512 7cd37a24dbec02bfade6e7440139de52d149ce1c196a1ea73b5b09e4096a0a99b26d0680498bd27bd443befe62c806bb94cec08c2fbe097c4724446b56c8bfa0 diff --git a/dev-ruby/strscan/metadata.xml b/dev-ruby/strscan/metadata.xml new file mode 100644 index 000000000000..dd3a41b2a323 --- /dev/null +++ b/dev-ruby/strscan/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + ruby/strscan + + diff --git a/dev-ruby/strscan/strscan-3.0.1.ebuild b/dev-ruby/strscan/strscan-3.0.1.ebuild new file mode 100644 index 000000000000..48debae95824 --- /dev/null +++ b/dev-ruby/strscan/strscan-3.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="strscan.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_EXTENSIONS=(ext/strscan/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="Provides lexical scanning operations on a String" +HOMEPAGE="https://github.com/ruby/strscan" +SRC_URI="https://github.com/ruby/strscan/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="$(ver_cut 1)" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + mkdir lib || die +} + +each_ruby_test() { + RUBYOPT="-Ilib -Itest/lib -rhelper" ${RUBY} run-test.rb || die +}