diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-06-15 07:31:46 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-06-15 07:31:46 +0200 |
commit | 0a5ecd33738aae162277c9fbf8e04cf361b1a976 (patch) | |
tree | e80a016e7672dc483461236e8b8413d6dc7c4a7c /dev-ruby/stringio | |
parent | dev-python/google-api-core: Bump to 2.11.1 (diff) | |
download | gentoo-0a5ecd33738aae162277c9fbf8e04cf361b1a976.tar.gz gentoo-0a5ecd33738aae162277c9fbf8e04cf361b1a976.tar.bz2 gentoo-0a5ecd33738aae162277c9fbf8e04cf361b1a976.zip |
dev-ruby/stringio: add 3.0.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/stringio')
-rw-r--r-- | dev-ruby/stringio/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/stringio/stringio-3.0.7.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/stringio/Manifest b/dev-ruby/stringio/Manifest index ded39bd419f5..ebd8cb62cb00 100644 --- a/dev-ruby/stringio/Manifest +++ b/dev-ruby/stringio/Manifest @@ -1,3 +1,4 @@ DIST stringio-3.0.4.tar.gz 43654 BLAKE2B 08f0d41577cae1acba36acc3823218649342c45fde58fd4a2455a40e3f80859e405db541f1f3a55b222083b2e30efb8d6a2396edb208b1cfd802b5b85c196a4c SHA512 835fa9861e2446512715315ecd44ea192f6209ab5a12f10d91f11ad156ba896737531a5074e7f10f6cd5d3500fd07036de7a9d0bcbce4c2ffe75822fbb28a2f8 DIST stringio-3.0.5.tar.gz 43822 BLAKE2B 5b79def3cb154f4bb1f4a50b8eeb95e0841279d8500b0ad0cdae1f3029c2b53e8e3f46583ed0b5e289afe6636bb4610bc27a25e24acba5c7c1e679c5e4283f3b SHA512 d881dea34738e46fffaceb9a5e88fa3148979eff3571a6693d1d80bd01fbe236c0eb65bd8b2003abc0241bceff93d87fd3acd27b038b3a7bf6da65d492047153 DIST stringio-3.0.6.tar.gz 44971 BLAKE2B a143fc01e7b9434db3b444f6049b002549a4149b9573ceeab4bf8955555290b1f41ef6ff012c7f58d1bc0559ca864e83aeb34f0cb75c3133ea91ac51f55008ff SHA512 118e7672fb347b111f90f4380e49ad01aac617fdf6afc9317f2242e942e68fa55ef5d71782c15156ed7b4c91d1eff75ac68d870885650ac4505d6a17b368afab +DIST stringio-3.0.7.tar.gz 44797 BLAKE2B 2772028015b6eb5e5a45e9c86551e62e91e24a627b7280530a10b1d343f08eb19b53d4fbeaf791ed23a239e0609775e8eb4c0550dadc282f690ecc9abef7930b SHA512 fcea0a32bb70c6f1d8a3b237e8a8dbb2677b00c077f0d6ddfa72e1e382c832277ee592dd2e17abdc12003b0494665853eab18fa90bf6f34f51efa0f62f7ea1b9 diff --git a/dev-ruby/stringio/stringio-3.0.7.ebuild b/dev-ruby/stringio/stringio-3.0.7.ebuild new file mode 100644 index 000000000000..1fbf38918157 --- /dev/null +++ b/dev-ruby/stringio/stringio-3.0.7.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="ruby30 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 +} |