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 90E06138332 for ; Fri, 13 Apr 2018 08:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3A26E097E; Fri, 13 Apr 2018 08:04:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9372DE096F for ; Fri, 13 Apr 2018 08:04:31 +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 77A99335C75 for ; Fri, 13 Apr 2018 08:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D285A27C for ; Fri, 13 Apr 2018 08:04:28 +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: <1523606649.677fa43ce8ea28a88af4aed5805edb68d23efebc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rdoc/Manifest dev-ruby/rdoc/rdoc-4.2.0.ebuild X-VCS-Directories: dev-ruby/rdoc/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 677fa43ce8ea28a88af4aed5805edb68d23efebc X-VCS-Branch: master Date: Fri, 13 Apr 2018 08:04:28 +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: 83a25228-c754-4be7-b695-0a504ed518a5 X-Archives-Hash: bf913c492e17d9a46611481118260a6b commit: 677fa43ce8ea28a88af4aed5805edb68d23efebc Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 13 07:50:52 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 13 08:04:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677fa43c dev-ruby/rdoc: cleanup Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-ruby/rdoc/Manifest | 1 - dev-ruby/rdoc/rdoc-4.2.0.ebuild | 97 ----------------------------------------- 2 files changed, 98 deletions(-) diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest index bcc3bb077fb..d28fd880b56 100644 --- a/dev-ruby/rdoc/Manifest +++ b/dev-ruby/rdoc/Manifest @@ -1,4 +1,3 @@ -DIST rdoc-4.2.0.gem 735232 BLAKE2B 86bcfe63dcdec62a2297e1fd61c16e5930d920a44551d2c952dd7eee0c5fcc0f69a56f031b272463521928a77085e7c5e6258a95cdd56c9f8a46abf43faa9e8a SHA512 d58aebd7969fa8ea795fd4a2b35ba92d0f7368526ae0fc7fa64956db4e3d80c1b61f472384fe7e5eaa628e9c1ee637c967caf1a52362422cb7c2757e486594de DIST rdoc-4.3.0.gem 738816 BLAKE2B f705b4fed5a9a7e3a850cacc17b7df3f8fdeb163938ed7d2d29979337cb24bca4a66695643ecc62f811d8e49a931296e1972d5d13366685315649e0ec44ebef7 SHA512 7ec5c8055262300c159ff2dbca3bcd09e169002acad8602db89086d2b9409a096209a1152dca68c79dcd1b5e3c1fdf55e7f89d82b33fa2ce65c816695350b029 DIST rdoc-5.1.0.tar.gz 702376 BLAKE2B 733d77a341ddad10f5b648b6bb492e0f79daa392e2ca371d38236e4c85a1c409699e35dd3f5bc8bc48551b399603bb0a747cb3c5f7f1fbf4765aabffaad575aa SHA512 cd2ed37e8502a3e9093c88c258ac5e39542a23c3dcaedb9b5eb48ce391a694e5b35fbcfd62f01ec6353ac9c40a4b7043b2ff11bbc403d2e03de9a84c52bcefe7 DIST rdoc-6.0.1.tar.gz 697323 BLAKE2B 7af4a3189c6680ae3d92b7a0b7764e73a104017b49442d89ffa0e2da2d504e7493b6842a3b5b60326e8f633a10447e2e6efb17ff61da7b6e4e55b52d973fa523 SHA512 43812f068b430d4462821098bca1a1f0fc2adc63c6f358a48b4af94aafb76d33eb494ef06f91aa72065f128fb0d34f53a05cb246f0c4fcc31ce9c1b31658d108 diff --git a/dev-ruby/rdoc/rdoc-4.2.0.ebuild b/dev-ruby/rdoc/rdoc-4.2.0.ebuild deleted file mode 100644 index f7e3a6f9462..00000000000 --- a/dev-ruby/rdoc/rdoc-4.2.0.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby21 ruby22" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem eutils - -DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" -HOMEPAGE="https://github.com/rdoc/rdoc/" - -LICENSE="Ruby MIT" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 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="" - -ruby_add_bdepend " - dev-ruby/racc - test? ( - >=dev-ruby/minitest-4:0 - )" - -ruby_add_rdepend "=dev-ruby/json-1* >=dev-ruby/json-1.4" - -all_ruby_prepare() { - # Other packages also have use for a nonexistent directory, bug 321059 - sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die - - # Remove unavailable and unneeded isolate plugin for Hoe - sed -i -e '/isolate/d' Rakefile || die - - # Remove licenses line from Hoe definitions so we also use older versions. - sed -i -e '/licenses/ s:^:#:' Rakefile || die - - epatch "${FILESDIR}/${PN}-3.0.1-bin-require.patch" - - # Remove test that is depending on the locale, which we can't garantuee. - sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die - - # Remove test depending on FEATURES=userpriv, bug 361959 - sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/test_rdoc_options.rb || die - - # Make sure we get the expected version of minitest. - echo 'gem "minitest", "~> 4.0"' > test/test_0000.rb || die - - # Remove tests for code that is not included and not listed in Manifest.txt - rm -f test/test_rdoc_i18n_{locale,text}.rb \ - test/test_rdoc_generator_pot* || die -} - -all_ruby_compile() { - all_fakegem_compile - - if use doc ; then - ruby -Ilib -S bin/rdoc || die - fi -} - -each_ruby_compile() { - # Generate the file inline here since the Rakefile confuses jruby - # into a circular dependency. - for file in lib/rdoc/rd/block_parser lib/rdoc/rd/inline_parser ; do - ${RUBY} -S racc -l -o ${file}.rb ${file}.ry || die - done -} - -each_ruby_test() { - ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} - -all_ruby_install() { - all_fakegem_install - - for bin in rdoc ri; do - ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 - - for version in 22; do - 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 -}