diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-21 08:41:25 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-21 08:41:50 +0100 |
commit | c1fc6ff1b3738bc7e7de4cc6d394df6babb6c76e (patch) | |
tree | 3066d4cb899a8eda47591522d5663bb8385f8e1c /dev-ruby | |
parent | dev-ruby/sinatra: add 3.2.0 (diff) | |
download | gentoo-c1fc6ff1b3738bc7e7de4cc6d394df6babb6c76e.tar.gz gentoo-c1fc6ff1b3738bc7e7de4cc6d394df6babb6c76e.tar.bz2 gentoo-c1fc6ff1b3738bc7e7de4cc6d394df6babb6c76e.zip |
dev-ruby/strscan: add 3.0.9
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/strscan/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/strscan/strscan-3.0.9.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/strscan/Manifest b/dev-ruby/strscan/Manifest index 596cecc82291..9158be064215 100644 --- a/dev-ruby/strscan/Manifest +++ b/dev-ruby/strscan/Manifest @@ -1,3 +1,4 @@ DIST strscan-3.0.6.tar.gz 36514 BLAKE2B 3a303ab8185aa12ef5fa748541a7c00dbea102e79c5a8b4f94595dcdb2f361b824d2f562b6a51184f7925dc473580de00c1faa9b6f0466bfe42ffbc5a89deb13 SHA512 63eaebb5cf1f658b447190276fc067ddfaae337a6f993392c2a3829f979ff9a3f4cd32f66fe3456404284b48d66c145da4814d582754c34c5037c983dabdcd86 DIST strscan-3.0.7.tar.gz 37528 BLAKE2B 0b4d8e235463efe89e7beb452491cfbd58e5cdbc2950816ca6dda117f1b8f34474c5594c170e8ac2b5d24a848a9bf9f64faaa624080d60987689616f13984e2d SHA512 9b427d2f7d5d6c27a0b3f10b85806abc21a04147d8dbe6f4a6705ab9ded7e2e1365fc99d224a8967ff9bfaf17480071eed0139b46490568475e681ceb8b48a6d DIST strscan-3.0.8.tar.gz 26904 BLAKE2B 674870db66eaba78cfe1e058b9dd64263c93a89a0333e8028f9c2fba66c785a59ddda109370d802928ab99b0b740dc9ca62a34d0e8fe74aeddf75f8d14d44cc2 SHA512 d9afcfdaf707644d67e3dee95ec7f17b5ada8cdd861b484b0744a4d981a1baef87e1f2a33c19cbcfaea32338a98065280ec12dfdc0fe375bfb74b67050e71638 +DIST strscan-3.0.9.tar.gz 26744 BLAKE2B e7c74cc116501d5962f8072d0a7292b469f11f8c223d6721f43335af95d27975997cf1ee26c915f85ac766eb840b50f56f935dc12e8ffe7b6794fa0c0cdfc5c7 SHA512 a73f4d214a5e6a5258609b650fa33d67ff2220bfe2d2419344077b9dc204a6450b8802b4683b09bed1bd541badf8cb3329e295039e431bf7be41d04a866f748c diff --git a/dev-ruby/strscan/strscan-3.0.9.ebuild b/dev-ruby/strscan/strscan-3.0.9.ebuild new file mode 100644 index 000000000000..3e7849915e61 --- /dev/null +++ b/dev-ruby/strscan/strscan-3.0.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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)" + +all_ruby_prepare() { + sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test/lib -rhelper run-test.rb || die +} |