diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-11-28 08:11:58 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-11-28 08:11:58 +0100 |
commit | ca9304fc322f30a8f18caa5dd86ed1c816a8afc3 (patch) | |
tree | d060f367c4fea6b383bebfe8111588c37ee25476 /dev-ruby | |
parent | mail-client/thunderbird-bin: drop 115.5.0 (diff) | |
download | gentoo-ca9304fc322f30a8f18caa5dd86ed1c816a8afc3.tar.gz gentoo-ca9304fc322f30a8f18caa5dd86ed1c816a8afc3.tar.bz2 gentoo-ca9304fc322f30a8f18caa5dd86ed1c816a8afc3.zip |
dev-ruby/stringio: add 3.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/stringio/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/stringio/stringio-3.1.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/stringio/Manifest b/dev-ruby/stringio/Manifest index 27dba04d8ac5..0572332871d9 100644 --- a/dev-ruby/stringio/Manifest +++ b/dev-ruby/stringio/Manifest @@ -2,3 +2,4 @@ DIST stringio-3.0.6.tar.gz 44971 BLAKE2B a143fc01e7b9434db3b444f6049b002549a4149 DIST stringio-3.0.7.tar.gz 44797 BLAKE2B 2772028015b6eb5e5a45e9c86551e62e91e24a627b7280530a10b1d343f08eb19b53d4fbeaf791ed23a239e0609775e8eb4c0550dadc282f690ecc9abef7930b SHA512 fcea0a32bb70c6f1d8a3b237e8a8dbb2677b00c077f0d6ddfa72e1e382c832277ee592dd2e17abdc12003b0494665853eab18fa90bf6f34f51efa0f62f7ea1b9 DIST stringio-3.0.8.tar.gz 45503 BLAKE2B df001e845915ca4042547338a2fed71e2938efd606b0c9ec907391a3017c8e7c6f545f6c26195caa4ca698ca24612bb2ae676320440a8a005c8efad6efa68bec SHA512 db6be9e9cee01849dd2da0540717a5c0263bfac6c367002149b67c1d001fd8f386b14a61f41445f96fe02007807e173895f2fefa8394589374d265df33f6ff3d DIST stringio-3.0.9.tar.gz 34991 BLAKE2B e047831dc0c88732b9939cfb7f5df97aceeeff1bdc569d3326a5197afbed0fa64300fb844fc305a888701f164bb97239c2ca129cff05444afa496afe23f370e4 SHA512 7724ae91687408654d9686bd01aaaf7a61ef7766c11570fa62cae622c5f70ad70cda88d5386bd87147dd9e7c1edfd4e70a882d03a8e7afdacf06820e57afec49 +DIST stringio-3.1.0.tar.gz 34946 BLAKE2B 4478e6493eb96be48c3f36830948e9b554474200a8738b5e4ab98d38fcc9f429a7b52cff553c0639fd8e30da2699802f5e1c385e51ab5965b0486ae9d0a44879 SHA512 d980566af84645700ad8450ef770ba2444ae7fb9f18cb33b141be0905536bcd639ec619aa535746109777f2f837727103280d80f2ff32fc8a22461a442f09e5a diff --git a/dev-ruby/stringio/stringio-3.1.0.ebuild b/dev-ruby/stringio/stringio-3.1.0.ebuild new file mode 100644 index 000000000000..e9ef6cc8a7cf --- /dev/null +++ b/dev-ruby/stringio/stringio-3.1.0.ebuild @@ -0,0 +1,30 @@ +# 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="README.md" +RUBY_FAKEGEM_EXTENSIONS=(ext/stringio/extconf.rb) +RUBY_FAKEGEM_GEMSPEC="stringio.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Pseudo IO class from/to String." +HOMEPAGE="https://github.com/ruby/stringio" +SRC_URI="https://github.com/ruby/stringio/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="0" +IUSE="test" + +all_ruby_prepare() { + sed -e "/s.version =/ s/source_version/'${PV}'/" \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |