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 762D0138334 for ; Tue, 5 Jun 2018 04:06:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3B25E0A83; Tue, 5 Jun 2018 04:06:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 6C032E0A5D for ; Tue, 5 Jun 2018 04:06:53 +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 C98CD335C86 for ; Tue, 5 Jun 2018 04:06:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85E05296 for ; Tue, 5 Jun 2018 04:06:49 +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: <1528170397.e3900bc74fd77c022cf77688727f93fad7f852a2.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.14.ebuild X-VCS-Directories: dev-ruby/yard/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e3900bc74fd77c022cf77688727f93fad7f852a2 X-VCS-Branch: master Date: Tue, 5 Jun 2018 04:06:49 +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: 8dc76d04-bd52-4058-8c0c-9aa7a26dee5f X-Archives-Hash: 6101abf3f1861965d41bdd61421b46f0 commit: e3900bc74fd77c022cf77688727f93fad7f852a2 Author: Hans de Graaff gentoo org> AuthorDate: Tue Jun 5 03:46:37 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Jun 5 03:46:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3900bc7 dev-ruby/yard: add 0.9.14 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-ruby/yard/Manifest | 1 + dev-ruby/yard/yard-0.9.14.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/yard/Manifest b/dev-ruby/yard/Manifest index b6f8f0fdda1..4a10db41c82 100644 --- a/dev-ruby/yard/Manifest +++ b/dev-ruby/yard/Manifest @@ -1,3 +1,4 @@ DIST yard-0.9.11-git.tgz 916355 BLAKE2B e9f27fe129cf93c51dbf83f4a7d5745d385252ba63c90f85223f2e9436c22a55aaba296f263072069d39e4beaca3e0830775a8be121c64cdc2a15afd3539a73f SHA512 375a4878e61888cf73aaa06e9300195ae48b9898d8cd639fa796a067e5fa0b89d6ef62d327a388ee83953e80177515f4d8c070042188e3a1e597f48b82b3a72e DIST yard-0.9.12-git.tgz 916462 BLAKE2B 905f0e4408f7829ca599b578344d695e4c7b68d46b982f39277dcd69ee726a9ac283910e1031d635917b149f182fb302cae537ff8a8a81960fa27965fda82a0c SHA512 f987da7e46bb3dafb9ba8c761b51345ee67102e21d05181c3090f31ff37179505134c93e83efdd39bb35cf6fe6dfa530d0017ce4680a08f858e78cbb073b239f DIST yard-0.9.13-git.tgz 917734 BLAKE2B ac248a91c581247647dcf78e58fd9b6b9c014bb972fbfbb09179ec489c89a31ec1156e13c99c7e862ece216b0451ac4ccb0441c1bdd45a8078c90f886d1a5135 SHA512 8ae886e1c981f017f740e12f07f90470ac9bf420a51f99692b642c212e26231d0a19e1b64084e3a70e09cad4e3a7175278fca66bd3b2420eac4ba197e20876ee +DIST yard-0.9.14-git.tgz 917830 BLAKE2B dd0d1d6dbc5aa9b549bd4c110f1abd57edc76b85e7c936bca8f7d35761d705ba86cd169c3c2b2141095dda68a8ab350b46bcbeb978d655addff78b110fbd2b71 SHA512 7974d431b2c1ef4830f225fd2012592405e7fb63546aeb52b74f4ad8b498926be979f3010bd315877bb4f738f6aa6c31f54b71832b461ebd3fa54fe1a1fccf5f diff --git a/dev-ruby/yard/yard-0.9.14.ebuild b/dev-ruby/yard/yard-0.9.14.ebuild new file mode 100644 index 00000000000..010fffba810 --- /dev/null +++ b/dev-ruby/yard/yard-0.9.14.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 )" + +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 +}