summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-10-11 07:31:46 +0200
committerHans de Graaff <graaff@gentoo.org>2023-10-11 07:37:47 +0200
commit70b68aaa3de086afac50acb24ebe9c22b5e349c2 (patch)
tree40e0e13e56ac1e0fb46ad55441f00c156faa42f5 /dev-ruby
parentdev-ruby/sqlite3: drop 1.6.1, 1.6.3 (diff)
downloadgentoo-70b68aaa3de086afac50acb24ebe9c22b5e349c2.tar.gz
gentoo-70b68aaa3de086afac50acb24ebe9c22b5e349c2.tar.bz2
gentoo-70b68aaa3de086afac50acb24ebe9c22b5e349c2.zip
dev-ruby/strscan: add 3.0.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/strscan/Manifest1
-rw-r--r--dev-ruby/strscan/strscan-3.0.7.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/strscan/Manifest b/dev-ruby/strscan/Manifest
index 45730ab1292b..c6c178dc3cac 100644
--- a/dev-ruby/strscan/Manifest
+++ b/dev-ruby/strscan/Manifest
@@ -1 +1,2 @@
DIST strscan-3.0.6.tar.gz 36514 BLAKE2B 3a303ab8185aa12ef5fa748541a7c00dbea102e79c5a8b4f94595dcdb2f361b824d2f562b6a51184f7925dc473580de00c1faa9b6f0466bfe42ffbc5a89deb13 SHA512 63eaebb5cf1f658b447190276fc067ddfaae337a6f993392c2a3829f979ff9a3f4cd32f66fe3456404284b48d66c145da4814d582754c34c5037c983dabdcd86
+DIST strscan-3.0.7.tar.gz 37528 BLAKE2B 0b4d8e235463efe89e7beb452491cfbd58e5cdbc2950816ca6dda117f1b8f34474c5594c170e8ac2b5d24a848a9bf9f64faaa624080d60987689616f13984e2d SHA512 9b427d2f7d5d6c27a0b3f10b85806abc21a04147d8dbe6f4a6705ab9ded7e2e1365fc99d224a8967ff9bfaf17480071eed0139b46490568475e681ceb8b48a6d
diff --git a/dev-ruby/strscan/strscan-3.0.7.ebuild b/dev-ruby/strscan/strscan-3.0.7.ebuild
new file mode 100644
index 000000000000..1ae69fcb54cc
--- /dev/null
+++ b/dev-ruby/strscan/strscan-3.0.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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
+}