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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 66541158094 for ; Sun, 2 Oct 2022 06:58:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C57A32BC001; Sun, 2 Oct 2022 06:52:46 +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 AAC932BC001 for ; Sun, 2 Oct 2022 06:52:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 E3650335D8F for ; Sun, 2 Oct 2022 06:52:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 565B3599 for ; Sun, 2 Oct 2022 06:52:44 +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: <1664693562.70e640292122527086875559620015d4094a6d8e.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/zeitwerk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/zeitwerk/Manifest dev-ruby/zeitwerk/zeitwerk-2.6.1.ebuild X-VCS-Directories: dev-ruby/zeitwerk/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 70e640292122527086875559620015d4094a6d8e X-VCS-Branch: master Date: Sun, 2 Oct 2022 06:52:44 +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: 4c1f74b7-4d94-4626-953a-7981390a4cb8 X-Archives-Hash: 7ea2a09a21e39b22f8596c7af85f3ffb commit: 70e640292122527086875559620015d4094a6d8e Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 2 06:51:30 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 2 06:52:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e64029 dev-ruby/zeitwerk: add 2.6.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/zeitwerk/Manifest | 1 + dev-ruby/zeitwerk/zeitwerk-2.6.1.ebuild | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index f3a671bf1644..687b5775e57f 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1,3 +1,4 @@ DIST zeitwerk-2.4.2.tar.gz 99974 BLAKE2B 5913561057a6d5cd9bfa4eb549770ca18de3aafa1549a40e5315cd1d71a2dec5f865e7bc79f6ab2a098e515a930c5f8c83b85c91d7dbe441fa8dfb08ffdbdb03 SHA512 774cc17a8732afea0a854ea22ec860fa5bca65e8743aa800017c06a251dfdb1d2c5af8e541cb56d22a4202a9faa42707ed2ad395d9472360cf64f46ce9b907f2 DIST zeitwerk-2.5.4.tar.gz 109202 BLAKE2B 4c1302bdb6ac30afbb23ea06ef2ac2ecea9c8139c36f1b766ec6f62bb6a77faf1efa3f670cb31b5073a6dc36d6a0bd8d66a937d8b84b12438411a7f2df29eeed SHA512 f7a4b88c030b2eeae5ba07c6e01900fa66312a58e5c9da3d13a293d0959d67bbcfb385de5790e1764188752dfc9de161c202b35e0e35ed6e0cca7bbc2c2f6c83 DIST zeitwerk-2.6.0.tar.gz 112854 BLAKE2B 5549624fdf793fa37bd8c45679246e0297ba96d95175a63f0cb7093fae85804d1eac9506ad539a256e9b3237816ec0ef29ecd4461bdfbef52bfbd1c6964d2f8d SHA512 750aade9b995b3e889d15bd4d6bd6bf267999ee1fd4b44bd9a32db083f19e86d0ce12f673f84f2b79629e1fee409f587fb2829e76ac23a23898dbb18cbb58b0b +DIST zeitwerk-2.6.1.tar.gz 113558 BLAKE2B 965992dac9fd18482e568dbc2a5a4806f2af7a8f7e5ab669bf81e51b7e2dde73c054ba9220027970c9b525b09f7042fee426b3dbac49ae51fcbceab978fec2a1 SHA512 d8eb9b2e9f7f4a1a4e0e0f5d0cf877810ce0b3dba818446e8b2ccfc238fea20f5fd58c22b86369e72e8ed0af174eef51ced59bad9e29a473a9cb0c374a240b64 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.1.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.1.ebuild new file mode 100644 index 000000000000..ba7cdf9bd9cf --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.6.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Efficient and thread-safe code loader for Ruby" +HOMEPAGE="https://github.com/fxn/zeitwerk" +SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + rm -f Gemfile.lock || die + sed -i -e '/\(focus\|reporters\|Reporters\)/ s:^:#:' Gemfile test/test_helper.rb || die + + sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +}