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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6D2B1381F3 for ; Sat, 31 Oct 2020 07:59:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCDCFE0827; Sat, 31 Oct 2020 07:59:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D72BE0826 for ; Sat, 31 Oct 2020 07:59:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B183340C20 for ; Sat, 31 Oct 2020 07:59:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA916373 for ; Sat, 31 Oct 2020 07:59:34 +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: <1604131161.8bbae98de715fae980e2b44f39e69485eb85def3.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.4.1.ebuild X-VCS-Directories: dev-ruby/zeitwerk/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 8bbae98de715fae980e2b44f39e69485eb85def3 X-VCS-Branch: master Date: Sat, 31 Oct 2020 07:59:34 +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: 4a79968a-5eef-4e64-ae0a-dc57cfde5e10 X-Archives-Hash: 11de7a45f131673b2a94c86994a89f75 commit: 8bbae98de715fae980e2b44f39e69485eb85def3 Author: Hans de Graaff gentoo org> AuthorDate: Sat Oct 31 06:30:35 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Oct 31 07:59:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bbae98d dev-ruby/zeitwerk: add 2.4.1 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/zeitwerk/Manifest | 1 + dev-ruby/zeitwerk/zeitwerk-2.4.1.ebuild | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 3a5dae206b6..81bc3baee54 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1,2 +1,3 @@ DIST zeitwerk-2.3.1.tar.gz 97616 BLAKE2B d5b387f9a02c5f0250b709d144bc833a0f20164ab3065483cba177078fc04ada7fda99bbe5efa7c6481ae6c21006b6d9a73a31e18f40b19f9183efcf7f0f76cf SHA512 b0f782afde6f3a60e6dc3440316689ba39542e3c9d57129a433a0ea967869ca32d79ab1c522d84091b29a698e80ced31f94c9d12592f310945c4267d1e72b5f0 DIST zeitwerk-2.4.0.tar.gz 98493 BLAKE2B 60b03153fc90b371d4b1ef59c7f61dd2f577a39ddcf946d8b1a52a2b982164260bc1fe86f79cb9c7937151e93d38a4dfbad7876d384d88b7f43161e1fd66c4e5 SHA512 2538cda71d5e1d381d8d455eba5e6fa115096ec36765d5ad11ee9f33d34d0d08ab594e6788f92053f76d239ec9b52027cb97c07e19d96852f4dc8767dc8e3057 +DIST zeitwerk-2.4.1.tar.gz 98440 BLAKE2B 619673331f866b1e566603727189cac02fb08e856ca10504c97dd6dcc2cff8e24d0b2bb6b462f62dc88696b96beb1df04161f72da691118c0d8414313d2ba290 SHA512 12d513fd16532ce510d83cf32710d734d24002bd5e77e0a37157e6521f3af67d379e915498c61114b5f9943763b59bbf38b7b6b2ea82957858129a6120c756bd diff --git a/dev-ruby/zeitwerk/zeitwerk-2.4.1.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.4.1.ebuild new file mode 100644 index 00000000000..827d557e222 --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.4.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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 ~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 +}