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 5431C139694 for ; Sat, 10 Jun 2017 07:31:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D15BE0DA2; Sat, 10 Jun 2017 07:31:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C700E0DA2 for ; Sat, 10 Jun 2017 07:31:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 457B03419B6 for ; Sat, 10 Jun 2017 07:31:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 848857481 for ; Sat, 10 Jun 2017 07:31:35 +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: <1497079889.0a874c3e9174cdfc302d2986b8cc511ea0fdcc56.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.19.4.ebuild X-VCS-Directories: dev-ruby/thor/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 0a874c3e9174cdfc302d2986b8cc511ea0fdcc56 X-VCS-Branch: master Date: Sat, 10 Jun 2017 07:31:35 +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: 2980f645-77e2-46d2-8920-60265f34ae88 X-Archives-Hash: 0348086bc0c1c0051a87373c92c4a653 commit: 0a874c3e9174cdfc302d2986b8cc511ea0fdcc56 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jun 10 07:27:13 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jun 10 07:31:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a874c3e dev-ruby/thor: add 0.19.4 Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-ruby/thor/Manifest | 1 + dev-ruby/thor/thor-0.19.4.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-ruby/thor/Manifest b/dev-ruby/thor/Manifest index 4948c8bb1c0..c0b1b827674 100644 --- a/dev-ruby/thor/Manifest +++ b/dev-ruby/thor/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-ruby/thor/thor-0.19.4.ebuild b/dev-ruby/thor/thor-0.19.4.ebuild new file mode 100644 index 00000000000..3a8b6aaf385 --- /dev/null +++ b/dev-ruby/thor/thor-0.19.4.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 ~ppc64 ~amd64-linux" +IUSE="doc" + +USE_RUBY="ruby21 ruby22 ruby23" ruby_add_bdepend " + test? ( + dev-ruby/childlabor + dev-ruby/webmock:0 + )" + +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 +}