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 3843D15800A for ; Sat, 15 Jul 2023 06:00:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF3F2E0893; Sat, 15 Jul 2023 06:00:54 +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 CC6E9E0893 for ; Sat, 15 Jul 2023 06:00:54 +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 BCDCA33E690 for ; Sat, 15 Jul 2023 06:00:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 123F3AF8 for ; Sat, 15 Jul 2023 06:00:52 +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: <1689400792.f0fd40211d2248d83388ce8bb49aeee3b8c94e65.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/twitter-text/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild X-VCS-Directories: dev-ruby/twitter-text/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f0fd40211d2248d83388ce8bb49aeee3b8c94e65 X-VCS-Branch: master Date: Sat, 15 Jul 2023 06:00:52 +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: 158a79d5-4dee-45f0-be42-78e2b9408f8f X-Archives-Hash: 5a6e430173f31934c123b5ebd5291b8b commit: f0fd40211d2248d83388ce8bb49aeee3b8c94e65 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jul 14 10:08:26 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jul 15 05:59:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0fd4021 dev-ruby/twitter-text: update EAPI 7 -> 8, add ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild b/dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild new file mode 100644 index 000000000000..a580eefc866d --- /dev/null +++ b/dev-ruby/twitter-text/twitter-text-3.1.0-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="config" + +inherit ruby-fakegem + +DESCRIPTION="Text handling for Twitter" +HOMEPAGE="https://github.com/twitter/twitter-text" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~riscv" +IUSE="" + +ruby_add_rdepend " + dev-ruby/idn-ruby + =dev-ruby/unf-0.1* +" + +ruby_add_bdepend "test? ( >=dev-ruby/nokogiri-1.8.0 )" + +PATCHES=( + "${FILESDIR}/${PN}-3.1.0-frozen-string.patch" +) + +all_ruby_prepare() { + #sed -i -e 's/2.14.0/2.14/' twitter-text.gemspec || die + sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die +}