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 17F77138359 for ; Sun, 6 Sep 2020 08:43:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 422BCE09B0; Sun, 6 Sep 2020 08:43:22 +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 28B87E09B0 for ; Sun, 6 Sep 2020 08:43:22 +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 2373A340DA4 for ; Sun, 6 Sep 2020 08:43:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BECA8347 for ; Sun, 6 Sep 2020 08:43:19 +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: <1599381795.2eaa791a67435eb4748088f068a7db4990e23b39.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.4.2.ebuild X-VCS-Directories: dev-ruby/tty-which/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2eaa791a67435eb4748088f068a7db4990e23b39 X-VCS-Branch: master Date: Sun, 6 Sep 2020 08:43:19 +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: 507defce-1177-411f-b210-66c105871ea9 X-Archives-Hash: e295ef3ecb8f62cb224bc82901d71f71 commit: 2eaa791a67435eb4748088f068a7db4990e23b39 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 6 08:03:07 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 6 08:43:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eaa791a dev-ruby/tty-which: add 0.4.2 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/tty-which/Manifest | 1 + dev-ruby/tty-which/tty-which-0.4.2.ebuild | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/tty-which/Manifest b/dev-ruby/tty-which/Manifest index ccb058bc7a0..12107e6961c 100644 --- a/dev-ruby/tty-which/Manifest +++ b/dev-ruby/tty-which/Manifest @@ -1 +1,2 @@ DIST tty-which-0.4.1.gem 11264 BLAKE2B 540249aaeaa5458fef3572413cf673e04765c1ad41971ac3f9bd930a42855459db6c6f8f47c90ee1021993161db6a399ba6edd0384da7db91da999550d3e733b SHA512 e48b284abb3e4177b9f04acec5202a70d3fcaa2d477444c5a9d9920ac00eb192656bc48ca33d72c26845b415a0a90e907dab1dd35608b62bc8e4b1b1b25af51c +DIST tty-which-0.4.2.tar.gz 9820 BLAKE2B 07ac2aa7a3e42127f456045fbdb92db2ea9834b08e0fccbe81767e01817ec2bf7304fb8a41408b0c4da8ecba3caf8bc236de9cb5637c6f197fe3835d0e9b231e SHA512 573b4ed1bfd4dd66dc3337d076a6559bda57b76c95c75f1aeef8bb6d4e0c81ef72057f5ef0521a10afb2a550b8850e6311aaa56ef2499146221f33403621ee54 diff --git a/dev-ruby/tty-which/tty-which-0.4.2.ebuild b/dev-ruby/tty-which/tty-which-0.4.2.ebuild new file mode 100644 index 00000000000..bf34ebfeffa --- /dev/null +++ b/dev-ruby/tty-which/tty-which-0.4.2.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_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 +}