dev-ruby/thor: drop 1.1.0

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-03-30 23:45:51 +01:00
parent 6f403f761f
commit 5d88373531
2 changed files with 0 additions and 68 deletions

View File

@@ -1,2 +1 @@
DIST thor-git-1.1.0.tgz 98252 BLAKE2B 1537cfe6e7cc0d92cc8bde56f0e2acf06b6ee4cb366a5686bb62de43dd15709a4aeaf1b30c3dfa71a6d6c7570e702deeebab6da324204388ac427337514be3f0 SHA512 d1872a834478c5a2054dde6f55e93f6765fd628536f99f888bd7495436c88658537d48c44ef1e5ad6d1388edfa294ea2a3f3cbde32c19b7d2253b78bc62bf9d0
DIST thor-git-1.2.1.tgz 96638 BLAKE2B 03826d2545c61f5fd433325bc65b244921fd0ed0f030ea173fa6f558ca9fd62ac52dca829c66de32569321b3d52353f306559fa34c34e472b1aa52184ba3d812 SHA512 88e58b6ca6c812cb84ab59e0ee8afcd8fa70b6c24d403cd5ea05d1d40ac30e85f2c7412611cc176eb541d16878e309d25c7e4284f64c760475925ffe359250b9

View File

@@ -1,67 +0,0 @@
# Copyright 2000-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby25 ruby26 ruby27 ruby30"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_DOCDIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_BINWRAP="thor"
RUBY_FAKEGEM_GEMSPEC="thor.gemspec"
inherit ruby-fakegem
DESCRIPTION="Simple and efficient tool for building self-documenting command line utilities"
HOMEPAGE="http://whatisthor.com/"
SRC_URI="https://github.com/erikhuda/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux"
IUSE="doc"
USE_RUBY="ruby25 ruby26 ruby27" ruby_add_bdepend "
test? (
dev-ruby/childlabor
dev-ruby/webmock
)"
RDEPEND+=" !<dev-ruby/thor-0.20.3-r1: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
# Avoid specs depending on git, bug 724058
rm -f spec/quality_spec.rb || die
# Avoid currently broken readline specs (already fixed upstream)
#rm -f spec/line_editor/readline_spec.rb spec/line_editor_spec.rb || die
}
each_ruby_test() {
case ${RUBY} in
*ruby30)
einfo "Skipping tests due to circular dependencies"
;;
*)
RSPEC_VERSION=3 ruby-ng_rspec spec || die
;;
esac
}