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 6FC46138335 for ; Wed, 23 Jan 2019 06:32:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B555E09FB; Wed, 23 Jan 2019 06:32:20 +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 61FCAE09FB for ; Wed, 23 Jan 2019 06:32:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 64EF7335CFE for ; Wed, 23 Jan 2019 06:32:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D36A4522 for ; Wed, 23 Jan 2019 06:32:16 +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: <1548225011.76e772f0c8b0b9fe37c15356a9f4134b37479622.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/yard/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/yard/Manifest dev-ruby/yard/yard-0.9.18.ebuild X-VCS-Directories: dev-ruby/yard/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 76e772f0c8b0b9fe37c15356a9f4134b37479622 X-VCS-Branch: master Date: Wed, 23 Jan 2019 06:32:16 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b84c182b-8715-49cc-b6d6-46aaf7054108 X-Archives-Hash: 95799bab6df21f06cba128cf3de43d25 commit: 76e772f0c8b0b9fe37c15356a9f4134b37479622 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jan 23 06:30:11 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Jan 23 06:30:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76e772f0 dev-ruby/yard: add 0.9.18 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/yard/Manifest | 1 + dev-ruby/yard/yard-0.9.18.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest index d5a4d275155..e533744ce15 100644 --- a/dev-ruby/yard/Manifest +++ b/dev-ruby/yard/Manifest @@ -2,3 +2,4 @@ DIST yard-0.9.11-git.tgz 916355 BLAKE2B e9f27fe129cf93c51dbf83f4a7d5745d385252ba DIST yard-0.9.14-git.tgz 917830 BLAKE2B dd0d1d6dbc5aa9b549bd4c110f1abd57edc76b85e7c936bca8f7d35761d705ba86cd169c3c2b2141095dda68a8ab350b46bcbeb978d655addff78b110fbd2b71 SHA512 7974d431b2c1ef4830f225fd2012592405e7fb63546aeb52b74f4ad8b498926be979f3010bd315877bb4f738f6aa6c31f54b71832b461ebd3fa54fe1a1fccf5f DIST yard-0.9.15-git.tgz 918280 BLAKE2B f7ae54298cfb8d19e006ad5e18525c3e73e423894e37c3af1fbf555227c4f66bbbcdae781addf7ad30ac900d2af7458550558fe75d876d9fa4c0cd5a2a1a3668 SHA512 45e3a6e170c06c0f7e7ff508d33e87ed9922be3e8fca19d272553b84e678fa209c44460665b86e508145b147dbbc6d4664b95694dbcf91c421988b233e63dd40 DIST yard-0.9.16-git.tgz 918424 BLAKE2B 41213a87b108bbacf3d700ffbce67806619ff417b8c883b8f7c33bb1eda1e1d97176226a801d8fb8a888a4ed4e2bcb45c46a65b236bc39c9100bcc6200c5778d SHA512 0027fccf87ec86a8ad5d62ec02b10a9c50be82212a7ad0f9f79d41627a2b88cb886fdc832e0df5c28cf737ad9f308670bd98b4dbb8ddc21aeba76b5c6928ecf1 +DIST yard-0.9.18-git.tgz 919755 BLAKE2B ff0f53234880f1cd2d6ba312542ac560aa7a8cb1864a1bc123f855f2183bc1b5d55316e041e33d57aac18c4784575a1e196fe2113de6280d91a0bb69ade236f5 SHA512 754b2344c630642e191c037ec136976dd812c83051803cf10c4c810d267d405ba609dd5d194fafe4b55c0b123573aeae0139e3994cfacc94560a6ffddd5c6c4f diff --git a/dev-ruby/yard/yard-0.9.18.ebuild b/dev-ruby/yard/yard-0.9.18.ebuild new file mode 100644 index 00000000000..cfc20bfffd8 --- /dev/null +++ b/dev-ruby/yard/yard-0.9.18.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_DOCDIR="doc docs" + +RUBY_FAKEGEM_EXTRAINSTALL="templates" + +inherit ruby-fakegem + +DESCRIPTION="Documentation generation tool for the Ruby programming language" +HOMEPAGE="https://yardoc.org/" + +# The gem lakes the gemspec file needed to pass tests. +SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )" + +ruby_add_bdepend "test? ( >=dev-ruby/ruby-gettext-2.3.8 dev-ruby/rack )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die + + # Avoid specs that make assumptions on load ordering that are not + # true for us. This may be related to how we install in Gentoo. This + # also drops a test requirement on dev-ruby/rack. + rm -f spec/cli/server_spec.rb || die + + # Avoid specs that only work with bundler + sed -i -e '/#initialize/,/^ end/ s:^:#:' spec/cli/yri_spec.rb || die + + # Avoid redcarpet-specific spec that is not optional + sed -i -e '/autolinks URLs/askip "make redcarpet optional"' spec/templates/helpers/html_helper_spec.rb || die +}