From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15063158090 for ; Tue, 10 May 2022 05:00:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B616E0824; Tue, 10 May 2022 05:00:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13A97E0824 for ; Tue, 10 May 2022 05:00:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 475EE3413A4 for ; Tue, 10 May 2022 05:00:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6675456 for ; Tue, 10 May 2022 05:00:04 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1652158666.18b187f354e126fa812cefcda350ad4f8ebc873d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/stringio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/stringio/Manifest dev-ruby/stringio/stringio-3.0.2.ebuild X-VCS-Directories: dev-ruby/stringio/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 18b187f354e126fa812cefcda350ad4f8ebc873d X-VCS-Branch: master Date: Tue, 10 May 2022 05:00:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da9f3142-7ea7-45b6-bc82-be7fff49d6f6 X-Archives-Hash: f0a67dbfdb9d11d6ab93c9bc376325ac commit: 18b187f354e126fa812cefcda350ad4f8ebc873d Author: Hans de Graaff gentoo org> AuthorDate: Tue May 10 04:57:46 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue May 10 04:57:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b187f3 dev-ruby/stringio: add 3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/stringio/Manifest | 1 + dev-ruby/stringio/stringio-3.0.2.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-ruby/stringio/Manifest b/dev-ruby/stringio/Manifest index bbee0e4ff780..cbef6ce0b90f 100644 --- a/dev-ruby/stringio/Manifest +++ b/dev-ruby/stringio/Manifest @@ -1 +1,2 @@ DIST stringio-3.0.1.tar.gz 30570 BLAKE2B 385ebe0571ac63a694c8c07cbda74eb53983a163f91d800c880eea9fbd0ec7d53d5a92d03b8afc5a71c9e48bf1c017c2a055fb3bc09c2f555c1a7743cf19ad5a SHA512 7781ee20f7f3d546ee227d7366ac88731b65ea743c39280c4f3d2107d9001eef4a4d583760110817c31f4433f0a45812acd88a0b1b31b2863a8fdc3f54b19ea7 +DIST stringio-3.0.2.tar.gz 43051 BLAKE2B 06d3f5c64a1550969f8c8abdc0cfeec8fe89adba8cb60db68cd4b29bf622a31d51809b85b3b9fa2373b74a33ed1c48df829a44256e431288b6ba2f7654858a13 SHA512 a9ac2820ce1c2bd55aac032be42a493a910787ed04bc41f35ec33b19ffd878c925dbbca49d6c27b07cea5ffb8fa98ecdb576738c9654587dea6842e3bd1f486c diff --git a/dev-ruby/stringio/stringio-3.0.2.ebuild b/dev-ruby/stringio/stringio-3.0.2.ebuild new file mode 100644 index 000000000000..f1463c87a564 --- /dev/null +++ b/dev-ruby/stringio/stringio-3.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +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 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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 +}