mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-10 09:23:10 +01:00
rake: delete outdated ruby package
This commit is contained in:
parent
9eba558009
commit
f8ff056d9c
3 changed files with 0 additions and 134 deletions
|
|
@ -1,3 +0,0 @@
|
|||
AUX rake.bash-completion 1348 SHA256 21d6be436bec6cc931c7d2b6afd879d88fd473b4afdb4f01512a71a8d4d946be SHA512 a29f1fa2a95942d59042782ffc6530d09ab806ae9188945cdbede9c824d6b46f84878956106551d10cfc769e329a7c234d0d18bfd53c1649fbfe978a6421d405 WHIRLPOOL 2da5635e768b724c4b98b5758c850ab707bbfc726d6205815587963250153c1918f11a348857e2e19f393959bdeed4eccb40520be78e417c5d98d6d1978699df
|
||||
DIST rake-10.1.0.gem 123904 SHA256 f8b06839ab1df58879bcacc8351927a2cda0e9daa91ea5b01f3d8d08e3c53abb SHA512 8dec056f8fdd31f8c82d240180e37c2dd5b1adf4db1f3bd68a09034ea2d554332163b0aa0c0dad86a65db3b0552d279df252cf09165000a1ac4a57a6ef24c768 WHIRLPOOL ef1c9ae4c890747e0d43b6076a595c33dc51df739ceafde2c6f36bf7179b97ef014496efa2fd136a58322c45c2177515e2e9412e755f94bfdc492687c4f0d279
|
||||
EBUILD rake-10.1.0.ebuild 2095 SHA256 d36372e5852be5bead145e45e6632107e1a9ff23b4d4d252af727f766c013df7 SHA512 67d2f4c7614da338c58dd94d25b6479859a6839a06bc160411d1c938040434cfbfe1c4fafce88aa6ea6e0f56efbf60a29f18b0d149326e2968f8a0c1e9f7667d WHIRLPOOL 3955c7cbb5717cb8e3b21ea69baac639c0eec583df7de86a1eb4b2c12fb9cc271c988addc2b7b12f1e4883c4f9826839d93b5c2d06821f192812530f80dd82db
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
have rake &&
|
||||
_rake()
|
||||
{
|
||||
local cur prev rakef i
|
||||
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
rakef="Rakefile"
|
||||
|
||||
if [[ "$prev" == "-f" ]]; then
|
||||
_filedir
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [[ "$cur" == *=* ]]; then
|
||||
prev=${cur/=*/}
|
||||
cur=${cur/*=/}
|
||||
if [[ "$prev" == "--rakefile=" ]]; then
|
||||
_filedir -o nospace
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '-n -H -I -N -P -q -f\
|
||||
-r -s -T -t -h -v -V\
|
||||
--dry-run --help '--libdir=' --nosearch --prereqs --quiet\
|
||||
'--rakefile=' '--require=' --silent --tasks --trace --usage\
|
||||
--verbose --version'\
|
||||
-- $cur ))
|
||||
else
|
||||
|
||||
for (( i=0; i < ${#COMP_WORDS[@]}; i++)); do
|
||||
case "${COMP_WORDS[i]}" in
|
||||
-f)
|
||||
eval rakef=${COMP_WORDS[i+1]}
|
||||
break
|
||||
;;
|
||||
--rakefile=*|--rakefile\=*)
|
||||
eval rakef=${COMP_WORDS[i]/*=/}
|
||||
break
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
[ ! -f $rakef ] && return 0
|
||||
|
||||
COMPREPLY=( $( rake -s -f "$rakef" -T | \
|
||||
awk -F ' ' '/^rake / { print $2 }' | \
|
||||
command grep "^$cur" ))
|
||||
|
||||
fi
|
||||
} &&
|
||||
complete -F _rake $filenames rake
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.9.6.ebuild,v 1.2 2013/07/07 08:07:11 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit bash-completion-r1 ruby-fakegem
|
||||
|
||||
DESCRIPTION="Make-like scripting in Ruby"
|
||||
HOMEPAGE="http://rake.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="${DEPEND} app-arch/gzip"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
||||
test? ( virtual/ruby-minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Comment out unimportant test which failes on ruby18 at least.
|
||||
sed -i -e '/def test_classic_namespace/,/^ end/ s:^:#:' test/test_rake_application_options.rb || die
|
||||
|
||||
# Avoid tests which can't work in bootstrapping because the test runs
|
||||
# in a directory that can't access the file being loaded.
|
||||
rm test/test_rake_clean.rb || die
|
||||
sed -i -e '/test_run_code_rake/,/^ end/ s:^:#:' test/test_rake_test_task.rb || die
|
||||
|
||||
# Decompress the file. The compressed version has errors, ignore them.
|
||||
zcat doc/rake.1.gz > doc/rake.1
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Remove failing tests. These are not failures in rake but
|
||||
# in our packaging of jruby. They are already present in
|
||||
# rake 0.9.2.2, so avoid them for now so that we can at
|
||||
# least bump 0.9.6 which is needed for ruby20.
|
||||
rm test/test_rake_{functional,rules}.rb || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc; then
|
||||
ruby -Ilib bin/rake rdoc || die "doc generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S testrb test/test_*.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
ruby_fakegem_binwrapper rake
|
||||
|
||||
if use doc; then
|
||||
pushd html
|
||||
dohtml -r *
|
||||
popd
|
||||
fi
|
||||
|
||||
doman doc/rake.1
|
||||
|
||||
newbashcomp "${FILESDIR}"/rake.bash-completion ${PN}
|
||||
}
|
||||
Loading…
Reference in a new issue