mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/thor: add 0.20.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
@@ -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
|
||||
|
||||
58
dev-ruby/thor/thor-0.20.0.ebuild
Normal file
58
dev-ruby/thor/thor-0.20.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user