summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-11 07:24:37 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-11 07:28:55 +0200
commit17e6c96fc367b76df005bd64a15dac550141cfd9 (patch)
tree935d07cddaee09bf12fff9c4b8eba32e918057e5 /dev-ruby/strscan
parentsys-auth/polkit: add 0.120_p20220509 (unkeyworded) (diff)
downloadgentoo-17e6c96fc367b76df005bd64a15dac550141cfd9.tar.gz
gentoo-17e6c96fc367b76df005bd64a15dac550141cfd9.tar.bz2
gentoo-17e6c96fc367b76df005bd64a15dac550141cfd9.zip
dev-ruby/strscan: add 3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/strscan')
-rw-r--r--dev-ruby/strscan/Manifest1
-rw-r--r--dev-ruby/strscan/strscan-3.0.3.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/strscan/Manifest b/dev-ruby/strscan/Manifest
index e76b9de77ebf..33c324199d1c 100644
--- a/dev-ruby/strscan/Manifest
+++ b/dev-ruby/strscan/Manifest
@@ -1,2 +1,3 @@
DIST strscan-3.0.1.tar.gz 28111 BLAKE2B 4623fe6fd74a9ca30ba1818fe548fcc793f1e22798bba9d561299ccdc493dfa5deafec072b193532c92116307c5b79f2c7c7bd362602b0ba3a0d1ea778a1d528 SHA512 7cd37a24dbec02bfade6e7440139de52d149ce1c196a1ea73b5b09e4096a0a99b26d0680498bd27bd443befe62c806bb94cec08c2fbe097c4724446b56c8bfa0
DIST strscan-3.0.2.tar.gz 34900 BLAKE2B 586bd6046e1681742650f4f612a458dc5b23b11116fa010eec0a354fc76242dbc8af512c0053330903d23bb7859345152cdf450a00a2be6f6d0783b5099de9d8 SHA512 657cab357d6cdd601a80cf4adbe141b005e116a0d7a0630b2966b07cf93d6410cc319c7a8305cffd9cb79d7975e95d98b20ac43c4133496cf38f6fe2fb6c8246
+DIST strscan-3.0.3.tar.gz 34914 BLAKE2B 00bd42816fa22c8c5a69f57191873c37c7278c8364471d3721459702171fbee3d195330127184dbaff9f432b72fdcc38c0f5faa206f22c1d0351f3d68dbd5542 SHA512 0a72d7d2b28853763e5f894e9b1e01f7e01a3483cce15f4ca6305b65ce851bd6134d189caa5a23ea79af11af38a9f95944c99a9f5cd032d96cc2a45101bd836a
diff --git a/dev-ruby/strscan/strscan-3.0.3.ebuild b/dev-ruby/strscan/strscan-3.0.3.ebuild
new file mode 100644
index 000000000000..a93f81956640
--- /dev/null
+++ b/dev-ruby/strscan/strscan-3.0.3.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="ruby26 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
+}