From 29b6c63da52057ec0b951ea19bfc984e2f9c61c9 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 12 Dec 2022 07:39:04 +0100 Subject: dev-ruby/strscan: add 3.0.5 Signed-off-by: Hans de Graaff --- dev-ruby/strscan/Manifest | 1 + dev-ruby/strscan/strscan-3.0.5.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-ruby/strscan/strscan-3.0.5.ebuild (limited to 'dev-ruby/strscan') diff --git a/dev-ruby/strscan/Manifest b/dev-ruby/strscan/Manifest index dfe76b623a9f..1d0eb3e57789 100644 --- a/dev-ruby/strscan/Manifest +++ b/dev-ruby/strscan/Manifest @@ -1,2 +1,3 @@ DIST strscan-3.0.3.tar.gz 34914 BLAKE2B 00bd42816fa22c8c5a69f57191873c37c7278c8364471d3721459702171fbee3d195330127184dbaff9f432b72fdcc38c0f5faa206f22c1d0351f3d68dbd5542 SHA512 0a72d7d2b28853763e5f894e9b1e01f7e01a3483cce15f4ca6305b65ce851bd6134d189caa5a23ea79af11af38a9f95944c99a9f5cd032d96cc2a45101bd836a DIST strscan-3.0.4.tar.gz 35226 BLAKE2B c0962db44ccaeea6bb6002adaa80655ac969e3958cc656d211248ac9911bce6581139dfbebcc3f6904ca78ea487a42c172e6dea1f1d7c5e4afc8ed6a7e5a2785 SHA512 2a6c45d1aac8b9bdff8eec5cfac4c39bc1e217117571ac6d967dd2c3491c710c46458bf7b4acd38e8c9354169439494922a17d5144fa28d574a2328e4f8d6fa1 +DIST strscan-3.0.5.tar.gz 35986 BLAKE2B 3aa5507d2389121acf1af5b82d79264f6fcf027bf2d859bf9b72f468e39faec1c73bf9221f47d51a6712bf4ca84b5eb8589851e08fd0010f33ea1e111dd11904 SHA512 60392b863ef7eb6edc59814729257756fe957a3eb40765619d634a7a0bcde7d4b2db6b6220b93988e7f1ecce4cab9b6b79c0f9cd134eb919a31662af802997c6 diff --git a/dev-ruby/strscan/strscan-3.0.5.ebuild b/dev-ruby/strscan/strscan-3.0.5.ebuild new file mode 100644 index 000000000000..dd5d817cbf97 --- /dev/null +++ b/dev-ruby/strscan/strscan-3.0.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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_test() { + ${RUBY} -Ilib:test/lib -rhelper run-test.rb || die +} -- cgit v1.2.3-65-gdbad