diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-13 09:28:28 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-13 09:28:43 +0100 |
commit | 6e1e664014e1d5edf2241771c026263168b82617 (patch) | |
tree | e5000f408d99f7e90483a751b1298e054105eb6c /dev-ruby/strscan | |
parent | dev-ruby/parser: drop 3.2.2.0, 3.2.2.1, 3.2.2.3 (diff) | |
download | gentoo-6e1e664014e1d5edf2241771c026263168b82617.tar.gz gentoo-6e1e664014e1d5edf2241771c026263168b82617.tar.bz2 gentoo-6e1e664014e1d5edf2241771c026263168b82617.zip |
dev-ruby/strscan: add 3.0.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/strscan')
-rw-r--r-- | dev-ruby/strscan/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/strscan/strscan-3.0.8.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/strscan/Manifest b/dev-ruby/strscan/Manifest index c6c178dc3cac..596cecc82291 100644 --- a/dev-ruby/strscan/Manifest +++ b/dev-ruby/strscan/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-ruby/strscan/strscan-3.0.8.ebuild b/dev-ruby/strscan/strscan-3.0.8.ebuild new file mode 100644 index 000000000000..6d633be40814 --- /dev/null +++ b/dev-ruby/strscan/strscan-3.0.8.ebuild @@ -0,0 +1,32 @@ +# 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)" +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 +} |