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 C41BA1396D1 for ; Fri, 18 Aug 2017 06:11:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 160F8E0EA0; Fri, 18 Aug 2017 06:11:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 DAECCE0EA0 for ; Fri, 18 Aug 2017 06:11:31 +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 73CD134178E for ; Fri, 18 Aug 2017 06:11:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2669579B9 for ; Fri, 18 Aug 2017 06:11:28 +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: <1503034066.5c709d05e1467d7cc86a1a65c8d34aa597dc1b3e.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/thor/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/thor/Manifest dev-ruby/thor/thor-0.20.0.ebuild X-VCS-Directories: dev-ruby/thor/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 5c709d05e1467d7cc86a1a65c8d34aa597dc1b3e X-VCS-Branch: master Date: Fri, 18 Aug 2017 06:11:28 +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-Archives-Salt: 52b38dab-b5a3-40f1-90e0-8660c4834678 X-Archives-Hash: 456809f9df7dbcc8ec02ac17d51ce4d9 commit: 5c709d05e1467d7cc86a1a65c8d34aa597dc1b3e Author: Hans de Graaff gentoo org> AuthorDate: Fri Aug 18 05:27:46 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Aug 18 05:27:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c709d05 dev-ruby/thor: add 0.20.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/thor/Manifest | 1 + dev-ruby/thor/thor-0.20.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-ruby/thor/Manifest b/dev-ruby/thor/Manifest index c0b1b827674..16462adc568 100644 --- a/dev-ruby/thor/Manifest +++ b/dev-ruby/thor/Manifest @@ -1,2 +1,3 @@ DIST thor-git-0.19.1.tgz 86389 SHA256 70013a638aa81df39b579cde7c68a1b6418ffa999e596eb89e12cdab14593dff SHA512 67aeaa2822b462c59ea9fd1a197222ce997b0edd30eb714b0a303c816acff82f4fb10a650b8a3c508c796426517ba25a462551fbc73ed7b33d4e16207cad8991 WHIRLPOOL d32b384b06fa338af345f7b13014dbff1bd5aac347437cfc8af8c33e3a14b0054245458e88b1109d769a6e1feb273ec9a7283459cba937bebfa66e8f6653ea05 DIST thor-git-0.19.4.tgz 88733 SHA256 a155779f9c72061ccc3dd5087bef2a85202d9238be9c4d19ad53879dad924f16 SHA512 a5cc52b23806e6104b12f924324960f2567bcd6c73b72ad47c33da222201b0377e7677b996698774de8adf3eff551926393785323ecf46cb59d72eb0e5b05aa0 WHIRLPOOL b829f34c0729efea408624241d0b2209de549a29d0581d3b4338f1798aa9e9449b32fc27755e33849e7236f53e3da00c4e6f2e2fc8e46e8193b4c1dec7d49386 +DIST thor-git-0.20.0.tgz 91758 SHA256 5fb1c7b6184be26bcfa2dbafa5ae6624fb5e3970fa8210a208c7f4d803c681f3 SHA512 aa5344c94cad7c33dd0582409dbcf9bd109bf97b37131357a4cc8a66317acf8781460e8fe5532b301a74521010be59bb34ac1c68bc01ad3140bfe73fedc2a451 WHIRLPOOL 0489398da91319996638d48bab0a9faf842c6f429c250c275bd4d2b43ab14055244cd9909be4c8251b866dd41179ecde776cc6cb42d71d88c7949430ad4dda53 diff --git a/dev-ruby/thor/thor-0.20.0.ebuild b/dev-ruby/thor/thor-0.20.0.ebuild new file mode 100644 index 00000000000..3c2f9d50058 --- /dev/null +++ b/dev-ruby/thor/thor-0.20.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_BINWRAP="thor" + +inherit ruby-fakegem + +DESCRIPTION="A scripting framework that replaces rake and sake" +HOMEPAGE="http://whatisthor.com/" + +SRC_URI="https://github.com/erikhuda/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~amd64-linux" +IUSE="doc" + +USE_RUBY="ruby21 ruby22 ruby23" ruby_add_bdepend " + test? ( + dev-ruby/childlabor + dev-ruby/webmock + )" + +all_ruby_prepare() { + # Remove rspec default options (as we might not have the last + # rspec). + rm .rspec || die + + # Remove Bundler + #rm Gemfile || die + sed -i -e '/[Bb]undler/d' Thorfile || die + + # Remove mandatory coverage collection using simplecov which is not + # packaged. + sed -i -e '/require .simplecov/,/^ end/ s:^:#:' spec/helper.rb || die + + # Avoid a spec that requires UTF-8 support, so LANG=C still works, + # bug 430402 + sed -i -e '/uses maximum terminal width/,/end/ s:^:#:' spec/shell/basic_spec.rb || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby24) + einfo "Skipping tests due to circular dependencies" + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec spec || die + ;; + esac +}