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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 537AC15801B for ; Tue, 29 Aug 2023 14:26:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80F6B2BC030; Tue, 29 Aug 2023 14:26:44 +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 653D62BC030 for ; Tue, 29 Aug 2023 14:26:44 +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 517AF335D55 for ; Tue, 29 Aug 2023 14:26:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7232F10D7 for ; Tue, 29 Aug 2023 14:26:41 +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: <1693319196.09d0bb5eadc4e95c319bf6c04667ce2ef8f0c072.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubytter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild X-VCS-Directories: dev-ruby/rubytter/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 09d0bb5eadc4e95c319bf6c04667ce2ef8f0c072 X-VCS-Branch: master Date: Tue, 29 Aug 2023 14:26:41 +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: 03c24aab-d238-40f5-96c9-1b51a8cbe0b7 X-Archives-Hash: 9f794a742e7509818baaab1e5a984305 commit: 09d0bb5eadc4e95c319bf6c04667ce2ef8f0c072 Author: Hans de Graaff gentoo org> AuthorDate: Tue Aug 29 12:31:59 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Aug 29 14:26:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d0bb5e dev-ruby/rubytter: update EAPI 7 -> 8, add ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild b/dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild new file mode 100644 index 000000000000..30ab34eae74f --- /dev/null +++ b/dev-ruby/rubytter/rubytter-1.5.1-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc examples/*" + +inherit ruby-fakegem + +DESCRIPTION="Rubytter is a simple twitter library" +HOMEPAGE="https://github.com/jugyo/rubytter" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/json-1.1.3:* >=dev-ruby/oauth-0.3.6" + +all_ruby_prepare() { + sed -i -e '/bundler/d' -e '/check_dependencies/ s:^:#:' Rakefile || die + + # Make specs work with rspec 3 + sed -i -e 's/stub!/stub/ ; 250 s/pending/skip/' spec/rubytter_spec.rb || die + + # Make specs work with ruby30 + sed -i -e '27i{' -e '30i}' spec/rubytter/oauth_spec.rb || die +}