dev-ruby/rdoc: drop 6.11.0, 6.12.0, 6.13.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-06-02 12:43:31 +02:00
parent 74c1fce9e5
commit 31849ebe43
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
4 changed files with 0 additions and 309 deletions

View File

@ -1,6 +1,3 @@
DIST rdoc-6.11.0.tar.gz 798268 BLAKE2B facb81a6da071e388260ad4ac04632fe3eb63790c20999bc14ba38668ef3dbaf473fd619629fb14067c3266a92d8abecdf1f507ad75c8e13615e14f4f96d49c0 SHA512 9433ca7dea0d75b539bf247204fe6e5926c1d46e31f8ea9b4fec89d2ba2d0b639e62de360526b15738762042e35aed21a58ea7d32d1f0469b4ce6ca116c545c5
DIST rdoc-6.12.0.tar.gz 800200 BLAKE2B 1092cc76e3b33417ff2367d7e4ef751e2c26bf20625be74faffcda6f26b3528c2fe793c1ba92d77293c01fd90cb65b15fca84be83d96d22349e1e7c2793e618f SHA512 4b048f55145170f73a93dbfc87f2dfc82eeb4448f1b344e8cb56e17418724aba72500927e773b110d76c0c8423c097b31531c40913182b625030dcdb41123493
DIST rdoc-6.13.0.tar.gz 799379 BLAKE2B 318d3c7e83c75b37877975591c4253a866a3b0314ed0c34c21dba893f0ccfa4a720fe4aa5ff7f3f3f53d1c69e609ff2e2a3a0cb89947423c4b28681d0a6bd021 SHA512 5ac2573280dba4dc383906b1e8f5241135afdbb81c572eb85d1cdcf2436df469ef9c4fc7fb988c4f1df375daad0c3c6611a6ef122c96c50e91c808a008d3bf62
DIST rdoc-6.13.1.tar.gz 799699 BLAKE2B a91799a74a97ebd7646aff6bf6a8866992fc9b5ed4cfa20c7e4441069fce62c8aa574da9d979a6baaae4d16f45705082955fc07d0df0630ab1e8e0f8e1f9aab0 SHA512 8c50e33ea192c61037bfb5a7118efe56c23f882f3c80cc78c18b0f2c7ae61a7da7cc18b6beb8ff2c4cf75764cbf33e4d56a090f5ecdb2ba1e91686b81531718e
DIST rdoc-6.14.0.tar.gz 802328 BLAKE2B 13d31b5ed5b7c1ed7cce0d4fc328dbca6d857c248b151d55fef0959395466744ed8f9dae9b3eb60a58783951125a762c878a697bf0f3e1a9e462cc64287b6073 SHA512 cbf69eb8abfee455a7090f7a6f767be2e3b1ee46a5effb86a97c1407a9fcd26c968c51af1ffc685add1c4e66e9fbe171aad4514a5fca9268b60fa0a732a0a8e7
DIST rdoc-6.8.1.tar.gz 794457 BLAKE2B d239d482e6f06604ceee39e493bf3151b44895c774c3f23dee2858acb012196e0ec6837bc22da5ad854d28b20043392a4e0cbab3cff7dddfaab3c13d03f94e23 SHA512 b355b79c010d2918701b5bb52a326b6e7e10e33c457db3ac9d07592b8b0ef7fa01257a590dbbc1d22f0bec585f02a995b05c3c348cd081dbd75af87da4e0d7d1

View File

@ -1,102 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.md TODO.rdoc"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_BINDIR="exe"
RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec"
inherit ruby-fakegem
DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
HOMEPAGE="https://github.com/ruby/rdoc/"
SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( GPL-2 Ruby-BSD )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc"
RDEPEND=">=app-eselect/eselect-ruby-20181225"
ruby_add_rdepend "
>=dev-ruby/psych-4.0.0
"
ruby_add_bdepend "
>=dev-ruby/kpeg-1.1.0-r1
>dev-ruby/racc-1.4.10
dev-ruby/rake
test? (
dev-ruby/bundler
>=dev-ruby/minitest-5.8:5
dev-ruby/test-unit-ruby-core
)"
all_ruby_prepare() {
# Other packages also have use for a nonexistent directory, bug 321059
sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die
# Avoid unneeded dependency on bundler, bug 603696
sed -i -e '/bundler/ s:^:#:' \
-e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \
-e '/rubocop\/rake/ s:^:#:' \
-e '/RuboCop/,/end/ s:^:#:' Rakefile || die
# Skip rubygems tests since the rubygems test case code is no longer installed by rubygems.
sed -i -e '/^task/ s/, :rubygems_test//' Rakefile || die
# Remove test that is depending on the locale, which we can't garantuee.
sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
# Remove test depending on FEATURES=userpriv, bug 361959
sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
# Remove test depending on currently unpackaged prism
rm -f test/rdoc/test_rdoc_parser_prism_ruby.rb || die
sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
}
all_ruby_compile() {
all_fakegem_compile
if use doc ; then
ruby -S exe/rdoc --force-output || die
rm -f doc/js/*.gz || die
fi
}
each_ruby_compile() {
LANG=C.UTF-8 ${RUBY} -S rake generate || die
}
all_ruby_install() {
all_fakegem_install
for bin in rdoc ri; do
ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
for version in $(ruby_get_use_implementations); do
version=`echo ${version} | cut -c 5-`
if use ruby_targets_ruby${version}; then
ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version}
sed -i -e "1s/env ruby/ruby${version}/" \
"${ED}/usr/bin/${bin}${version}" || die
fi
done
done
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then
eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
fi
}

View File

@ -1,102 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.md TODO.rdoc"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_BINDIR="exe"
RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec"
inherit ruby-fakegem
DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
HOMEPAGE="https://github.com/ruby/rdoc/"
SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( GPL-2 Ruby-BSD )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc"
RDEPEND=">=app-eselect/eselect-ruby-20181225"
ruby_add_rdepend "
>=dev-ruby/psych-4.0.0
"
ruby_add_bdepend "
>=dev-ruby/kpeg-1.1.0-r1
>dev-ruby/racc-1.4.10
dev-ruby/rake
test? (
dev-ruby/bundler
>=dev-ruby/minitest-5.8:5
dev-ruby/test-unit-ruby-core
)"
all_ruby_prepare() {
# Other packages also have use for a nonexistent directory, bug 321059
sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die
# Avoid unneeded dependency on bundler, bug 603696
sed -i -e '/bundler/ s:^:#:' \
-e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \
-e '/rubocop\/rake/ s:^:#:' \
-e '/RuboCop/,/end/ s:^:#:' Rakefile || die
# Skip rubygems tests since the rubygems test case code is no longer installed by rubygems.
sed -i -e '/^task/ s/, :rubygems_test//' Rakefile || die
# Remove test that is depending on the locale, which we can't garantuee.
sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
# Remove test depending on FEATURES=userpriv, bug 361959
sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
# Remove test depending on currently unpackaged prism
rm -f test/rdoc/test_rdoc_parser_prism_ruby.rb || die
sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
}
all_ruby_compile() {
all_fakegem_compile
if use doc ; then
ruby -S exe/rdoc --force-output || die
rm -f doc/js/*.gz || die
fi
}
each_ruby_compile() {
LANG=C.UTF-8 ${RUBY} -S rake generate || die
}
all_ruby_install() {
all_fakegem_install
for bin in rdoc ri; do
ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
for version in $(ruby_get_use_implementations); do
version=`echo ${version} | cut -c 5-`
if use ruby_targets_ruby${version}; then
ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version}
sed -i -e "1s/env ruby/ruby${version}/" \
"${ED}/usr/bin/${bin}${version}" || die
fi
done
done
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then
eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
fi
}

View File

@ -1,102 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_FAKEGEM_RECIPE_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.md TODO.rdoc"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_BINDIR="exe"
RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec"
inherit ruby-fakegem
DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
HOMEPAGE="https://github.com/ruby/rdoc/"
SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( GPL-2 Ruby-BSD )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc"
RDEPEND=">=app-eselect/eselect-ruby-20181225"
ruby_add_rdepend "
>=dev-ruby/psych-4.0.0
"
ruby_add_bdepend "
>=dev-ruby/kpeg-1.1.0-r1
>dev-ruby/racc-1.4.10
dev-ruby/rake
test? (
dev-ruby/bundler
>=dev-ruby/minitest-5.8:5
dev-ruby/test-unit-ruby-core
)"
all_ruby_prepare() {
# Other packages also have use for a nonexistent directory, bug 321059
sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die
# Avoid unneeded dependency on bundler, bug 603696
sed -i -e '/bundler/ s:^:#:' \
-e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \
-e '/rubocop\/rake/ s:^:#:' \
-e '/RuboCop/,/end/ s:^:#:' Rakefile || die
# Skip rubygems tests since the rubygems test case code is no longer installed by rubygems.
sed -i -e '/^task/ s/, :rubygems_test//' Rakefile || die
# Remove test that is depending on the locale, which we can't garantuee.
sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
# Remove test depending on FEATURES=userpriv, bug 361959
sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
# Remove test depending on currently unpackaged prism
rm -f test/rdoc/test_rdoc_parser_prism_ruby.rb || die
sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
}
all_ruby_compile() {
all_fakegem_compile
if use doc ; then
ruby -S exe/rdoc --force-output || die
rm -f doc/js/*.gz || die
fi
}
each_ruby_compile() {
LANG=C.UTF-8 ${RUBY} -S rake generate || die
}
all_ruby_install() {
all_fakegem_install
for bin in rdoc ri; do
ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
for version in $(ruby_get_use_implementations); do
version=`echo ${version} | cut -c 5-`
if use ruby_targets_ruby${version}; then
ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version}
sed -i -e "1s/env ruby/ruby${version}/" \
"${ED}/usr/bin/${bin}${version}" || die
fi
done
done
}
pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then
eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
fi
}