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 7A568158086 for ; Thu, 30 Dec 2021 06:34:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E785E0849; Thu, 30 Dec 2021 06:34:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 6F407E0848 for ; Thu, 30 Dec 2021 06:34: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 D9DD3342E33 for ; Thu, 30 Dec 2021 06:34:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B1CC26A for ; Thu, 30 Dec 2021 06:34:43 +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: <1640846053.683d93c8e76b3dbc208a28887106726cd5065f27.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.5.2.ebuild X-VCS-Directories: dev-ruby/zeitwerk/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 683d93c8e76b3dbc208a28887106726cd5065f27 X-VCS-Branch: master Date: Thu, 30 Dec 2021 06:34:43 +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: 3d72cd07-de91-440f-9ab9-6c9a1488fc96 X-Archives-Hash: 9f1a302bd246d76fcf1ab67587f5eba0 commit: 683d93c8e76b3dbc208a28887106726cd5065f27 Author: Hans de Graaff gentoo org> AuthorDate: Thu Dec 30 06:34:13 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Dec 30 06:34:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=683d93c8 dev-ruby/zeitwerk: add 2.5.2 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/zeitwerk/Manifest | 1 + dev-ruby/zeitwerk/zeitwerk-2.5.2.ebuild | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 8918c49e797a..474c756f26df 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1,2 +1,3 @@ DIST zeitwerk-2.4.2.tar.gz 99974 BLAKE2B 5913561057a6d5cd9bfa4eb549770ca18de3aafa1549a40e5315cd1d71a2dec5f865e7bc79f6ab2a098e515a930c5f8c83b85c91d7dbe441fa8dfb08ffdbdb03 SHA512 774cc17a8732afea0a854ea22ec860fa5bca65e8743aa800017c06a251dfdb1d2c5af8e541cb56d22a4202a9faa42707ed2ad395d9472360cf64f46ce9b907f2 DIST zeitwerk-2.5.1.tar.gz 107666 BLAKE2B d8049a1adfaa6b278b59298e46d4697b70121d0a599a286f91720b31a06cccd39424367fe9c1ffbb90b0862a9501115f808bcc4fd36f3a09081987ad706f89bd SHA512 4558a63f33d26f2aa05e5f6e417230902f14d4ade5bfb50cbd94d283b33e94e8486158f5b4c677c4dcd7b8bee51af165693593d303d1f07420fb5d4c72f918ea +DIST zeitwerk-2.5.2.tar.gz 108139 BLAKE2B d4277dc79729e39bd63b066b12ad4d91d9457e8e7a836c2e24606f6d343c85ce59febaa0425ab10f96d8d327935beede285a5ae52cfeff37210b36b0bcaf22db SHA512 0e8be7500163761a75518b002eb8ca9e41d0d073f0d03443af4a57fef07ee647de3faafaf79791328c4b2b9a6f5898e1038b310b697485a363af486f36509393 diff --git a/dev-ruby/zeitwerk/zeitwerk-2.5.2.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.5.2.ebuild new file mode 100644 index 000000000000..1186d588ec56 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.5.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +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 ~ppc ~ppc64 ~riscv ~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 +}