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 D9267138334 for ; Sat, 20 Apr 2019 23:24:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B789BE087B; Sat, 20 Apr 2019 23:20:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 730C7E096D for ; Sat, 20 Apr 2019 23:20:24 +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 18451341ED2 for ; Sat, 20 Apr 2019 06:37:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B877E5BB for ; Sat, 20 Apr 2019 06:37:02 +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: <1555742192.8d817c9d5508fc88b7b2c3b633f72cd074d8bf71.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.1.0.ebuild X-VCS-Directories: dev-ruby/zeitwerk/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 8d817c9d5508fc88b7b2c3b633f72cd074d8bf71 X-VCS-Branch: master Date: Sat, 20 Apr 2019 06:37:02 +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: a799eb4b-2ec8-4028-b98d-4f4f39650fd2 X-Archives-Hash: a0d9f1cf589684c6005597d7757e2757 commit: 8d817c9d5508fc88b7b2c3b633f72cd074d8bf71 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 20 06:18:43 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 20 06:36:32 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d817c9d dev-ruby/zeitwerk: add 2.1.0 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/zeitwerk/Manifest | 1 + dev-ruby/zeitwerk/zeitwerk-2.1.0.ebuild | 34 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest index 9b05a8017bc..f3811c2146f 100644 --- a/dev-ruby/zeitwerk/Manifest +++ b/dev-ruby/zeitwerk/Manifest @@ -1 +1,2 @@ DIST zeitwerk-1.4.3.tar.gz 84202 BLAKE2B 8e14790f4a5b5122efacbe89a0d1ede5c9933564db40f3b498423b73852e91990e09321b3d2854ada8c57aa914bb596d1381ea697e751bc22d7b9ecf4e5653b8 SHA512 e3ba6dcaf5b85c117278e65f15559e7750062ba204b3cdeba4248eb4f153ad4aa09164db61671f6ea00846a9d89ec218b66338dbcbd2c376f4e7b28364533f55 +DIST zeitwerk-2.1.0.tar.gz 86684 BLAKE2B 88227fc490a5837131472746b998885e6a3ee0d2b0fdd928bbf16f03ec2dc2f17bd5721d828a33050fa8bc9f280af26fa3abb423e818519779126179e27343ed SHA512 78ca4621f1a9a632e529ecf329ed70a177e87440f285d93191cbc58a152ea0b23a74362981e61f8ebe58f76e26161f5923ca304c80aa4ab1ac72495667b85bcc diff --git a/dev-ruby/zeitwerk/zeitwerk-2.1.0.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.1.0.ebuild new file mode 100644 index 00000000000..e3f56d54a1b --- /dev/null +++ b/dev-ruby/zeitwerk/zeitwerk-2.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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" +IUSE="" + +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 +}