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 602B4139360 for ; Thu, 12 Aug 2021 05:15:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 053C1E0901; Thu, 12 Aug 2021 05:15:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 DA195E0903 for ; Thu, 12 Aug 2021 05:14:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A5A22342F0C for ; Thu, 12 Aug 2021 05:14:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F89989F for ; Thu, 12 Aug 2021 05:14:55 +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: <1628745277.d23475968a472e37165808f5b3502436eb691aba.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/tty-which/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/tty-which/Manifest dev-ruby/tty-which/tty-which-0.5.0.ebuild X-VCS-Directories: dev-ruby/tty-which/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d23475968a472e37165808f5b3502436eb691aba X-VCS-Branch: master Date: Thu, 12 Aug 2021 05:14:55 +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: 4df3a56d-a62b-4898-8072-283239916c6e X-Archives-Hash: 7214d86d1e72426ee373f696c0b56596 commit: d23475968a472e37165808f5b3502436eb691aba Author: Hans de Graaff gentoo org> AuthorDate: Thu Aug 12 05:14:37 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Aug 12 05:14:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2347596 dev-ruby/tty-which: add 0.5.0 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/tty-which/Manifest | 1 + dev-ruby/tty-which/tty-which-0.5.0.ebuild | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/tty-which/Manifest b/dev-ruby/tty-which/Manifest index 5f2616cd8c3..3196deab2a8 100644 --- a/dev-ruby/tty-which/Manifest +++ b/dev-ruby/tty-which/Manifest @@ -1 +1,2 @@ DIST tty-which-0.4.2.tar.gz 9820 BLAKE2B 07ac2aa7a3e42127f456045fbdb92db2ea9834b08e0fccbe81767e01817ec2bf7304fb8a41408b0c4da8ecba3caf8bc236de9cb5637c6f197fe3835d0e9b231e SHA512 573b4ed1bfd4dd66dc3337d076a6559bda57b76c95c75f1aeef8bb6d4e0c81ef72057f5ef0521a10afb2a550b8850e6311aaa56ef2499146221f33403621ee54 +DIST tty-which-0.5.0.tar.gz 11560 BLAKE2B 0b8d821168759ff744ded5a5d7b0864303ed71510dd233b39b6f12fe42f044c4fb48da8f9b0cb16875ae9cce5c66060af8cff858aaa88bdaddfc971886f2ce8b SHA512 a5be30dc857eed2aa8ce81f1c62467451760482b1f51f1c0654c57001a9ab828d31b22b35cd9e37ea2fe91a7514a1a15107b5fc948a561a2ee4e58e0748bacd3 diff --git a/dev-ruby/tty-which/tty-which-0.5.0.ebuild b/dev-ruby/tty-which/tty-which-0.5.0.ebuild new file mode 100644 index 00000000000..2bd6b2425e0 --- /dev/null +++ b/dev-ruby/tty-which/tty-which-0.5.0.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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="tty-which.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Platform independent implementation of Unix which command" +HOMEPAGE="https://github.com/piotrmurach/tty-which" +SRC_URI="https://github.com/piotrmurach/tty-which/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + echo '-rspec_helper' > .rspec || die + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix running specs without bundler, fixed upstream + sed -e 's/receive(:join)$/receive(:join).and_call_original/' \ + -e '96iallow(::File).to receive(:join).and_call_original' \ + -e '115iallow(::File).to receive(:join).and_call_original' \ + -i spec/unit/which_spec.rb || die + sed -e '5iallow(::File).to receive(:join).and_call_original' \ + -i spec/unit/executable_file_spec.rb || die +}