summaryrefslogtreecommitdiff
path: root/dev-ruby/stringio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-08 03:03:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-08 03:03:28 +0000
commit2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b (patch)
tree6e975e18646dac9f4b55fab980271a027428cc4d /dev-ruby/stringio
parentabe17cf152eeb7571da8db4b25a30465644a41ba (diff)
gentoo auto-resync : 08:11:2024 - 03:03:27
Diffstat (limited to 'dev-ruby/stringio')
-rw-r--r--dev-ruby/stringio/Manifest2
-rw-r--r--dev-ruby/stringio/stringio-3.1.2.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/stringio/Manifest b/dev-ruby/stringio/Manifest
index e3280299da27..18ea01bc94d4 100644
--- a/dev-ruby/stringio/Manifest
+++ b/dev-ruby/stringio/Manifest
@@ -1,3 +1,5 @@
DIST stringio-3.1.1.tar.gz 37892 BLAKE2B a1a1e96fd4e8a4962bd9d0d9d6fc91509b706609cb17231309479f1528eff59e03f7418cbe94e25c60bd96c3c78910e6cf500b731908c965a85c11aee726219c SHA512 183b02e61d431596693fb65874326711c24b6182247b02e8c5845fc93981006e84eff009aea3237c9ca6022e13d83371a84706c16f1d68a7a8197fdb625f1d79
+DIST stringio-3.1.2.tar.gz 38763 BLAKE2B a7619e857d0303d0e28b6bb958833140a9064711bf4b8f69412bd46d3c6a46808a1487f54ba1939fb099af7b9de76d62eec726e3ee1a4a20faab3e087d20d4d9 SHA512 b7a7aec8d5cc7987c12b0d09585d972832c9cd8ee209e518e8b3160e7bd9214c0007dc9327c2207104ede3727719df267610b31ea982a3d9fbdc74997fd73cf5
EBUILD stringio-3.1.1.ebuild 991 BLAKE2B 838b2ec6b4f21326a4570a4fb6a206ba47d0cc2c5ff57469b4f92ab81e498f992e6789060a20baf23de9ab65f75daaf3dcb6c6274a644ae320a2006fc763f4bf SHA512 f5d222da95bdfd080dc3cdfee2de6842c7bbaf3747f114f8afb68165f9f0b5886dec094147672557e95e8f29c265cd71f496f24cd16d143a3697a33d40521559
+EBUILD stringio-3.1.2.ebuild 998 BLAKE2B 599be8dc66db001156f0c4f76b3f1c19597c8f93bd9d6c11d6454c9773e016e335f8f2c7aa621dff075ef38760f03ada0243d3036db270c78e54c1b46c432f2d SHA512 afd70e54040fef2e98e20f8c32a00106f11122678530e80155376a2cfbcb1f123d1a4fb052a24c6fabaf42e8468fa2fcd4814436e33e68c7111f0b73bc164821
MISC metadata.xml 340 BLAKE2B bd5f8222a43eb391d2d14a1b878fadefd9f8a322e87b5058d482df79d95d70f7ef19c54e7ae12dc29e7ffc84c72e630f0ca46ac095059263cdcf6047cb4fa4d9 SHA512 f1f32d2c4c13e19500a7ff23b684b180d3dba8a79e49b8cb57b80e265d09e06cb8b7a9e6b743158a140967b7ccbb991fdf51cb3a6e95be4e24378a5f85efcbb2
diff --git a/dev-ruby/stringio/stringio-3.1.2.ebuild b/dev-ruby/stringio/stringio-3.1.2.ebuild
new file mode 100644
index 000000000000..4bc814dc1205
--- /dev/null
+++ b/dev-ruby/stringio/stringio-3.1.2.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="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"
+SLOT="0"
+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"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+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:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}