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 23F51158062 for ; Sat, 11 Mar 2023 07:37:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0380E07A9; Sat, 11 Mar 2023 07:37:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 977F4E07A9 for ; Sat, 11 Mar 2023 07:37:08 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEAF6340CC5 for ; Sat, 11 Mar 2023 07:37:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A2E48B5 for ; Sat, 11 Mar 2023 07:37:06 +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: <1678519726.292ea978bd533d102c73081340386af625479661.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/highline/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/highline/Manifest dev-ruby/highline/highline-2.1.0.ebuild X-VCS-Directories: dev-ruby/highline/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 292ea978bd533d102c73081340386af625479661 X-VCS-Branch: master Date: Sat, 11 Mar 2023 07:37:06 +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: 67c1757d-7876-43b6-abea-7427a0c95ea8 X-Archives-Hash: e29f86bb4e951b6da447b31a41ac1dc3 commit: 292ea978bd533d102c73081340386af625479661 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 11 07:28:46 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 11 07:28:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292ea978 dev-ruby/highline: add 2.1.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/highline/Manifest | 1 + dev-ruby/highline/highline-2.1.0.ebuild | 34 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-ruby/highline/Manifest b/dev-ruby/highline/Manifest index ccf43edf3690..8837783258c4 100644 --- a/dev-ruby/highline/Manifest +++ b/dev-ruby/highline/Manifest @@ -1 +1,2 @@ DIST highline-2.0.3.tar.gz 234205 BLAKE2B 4748c3ad8a15e551162ab9f2eb6e176297d833d13e6f5db7898f99c71f25e8a2a01057b0438c5d30b56a66333bbba0da1a435cfa07db97f2ffc5e301157618ef SHA512 f432c8836040bcfb147a84efa2dd3feee7f3f6e03eafbf4232e9457aeef8cb9ca83fcf854d3b261f59a166666abc3f2c8fc0f1279a7efeb07dea8a13be22ebde +DIST highline-2.1.0.tar.gz 234116 BLAKE2B e1e899093de7e162e83f4d2e694e5841cedc336063a4410cab392702241136d5eec258b53065ffcded567f0af163d04a25bbdfd0767211b059980e9e5effe7c9 SHA512 b763428d67b1eb77762b54b8e2dd39bda720589e7030db8694e793bb432fa94caa2848b23358e7eaea0ccb22d8a93e0a64aeef3865f7e9fec348bbebee19d713 diff --git a/dev-ruby/highline/highline-2.1.0.ebuild b/dev-ruby/highline/highline-2.1.0.ebuild new file mode 100644 index 000000000000..b503aee0e9dc --- /dev/null +++ b/dev-ruby/highline/highline-2.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="highline.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Highline is a high-level command-line IO library for ruby" +HOMEPAGE="https://github.com/JEG2/highline" +SRC_URI="https://github.com/JEG2/highline/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +IUSE="" +LICENSE="|| ( GPL-2 Ruby-BSD )" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" + +all_ruby_prepare() { + # fix up gemspec file not to call git + sed -i -e 's/git ls-files -z/find * -print0/' highline.gemspec || die + + # Avoid unneeded dependencies + sed -i -e '/\(bundler\|code_statistics\)/ s:^:#:' \ + -e '/PackageTask/,/end/ s:^:#:' Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Remove almost empty doc directory to allow rdoc recipe to work + rm -rf doc || die +}