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 2F1DD138F10 for ; Mon, 17 Oct 2016 02:22:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 863A4E0B8E; Mon, 17 Oct 2016 02:22:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B155E0B8E for ; Mon, 17 Oct 2016 02:22:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32766340F2F for ; Mon, 17 Oct 2016 02:21:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 525B4306 for ; Mon, 17 Oct 2016 02:21:56 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1476670890.e0c459f77d61ca2fe112b0ca568ba4bb6adadc62.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/addressable/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/addressable/addressable-2.3.8-r1.ebuild X-VCS-Directories: dev-ruby/addressable/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: e0c459f77d61ca2fe112b0ca568ba4bb6adadc62 X-VCS-Branch: master Date: Mon, 17 Oct 2016 02:21:56 +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: 2906af7c-43bd-4fcd-adfb-7d954e6db4d9 X-Archives-Hash: 1269d2fd081d82157a68f9ab3a647655 commit: e0c459f77d61ca2fe112b0ca568ba4bb6adadc62 Author: Zero_Chaos gentoo org> AuthorDate: Mon Oct 17 02:21:30 2016 +0000 Commit: Richard Farina gentoo org> CommitDate: Mon Oct 17 02:21:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c459f7 dev-ruby/addressable: needed ruby23 support for 2.3* and tests pass Package-Manager: portage-2.3.2 dev-ruby/addressable/addressable-2.3.8-r1.ebuild | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-ruby/addressable/addressable-2.3.8-r1.ebuild b/dev-ruby/addressable/addressable-2.3.8-r1.ebuild new file mode 100644 index 00000000..5821746 --- /dev/null +++ b/dev-ruby/addressable/addressable-2.3.8-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="doc:yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RAKE_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library" +HOMEPAGE="https://rubygems.org/gems/addressable https://github.com/sporkmonger/addressable" + +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" +ruby_add_bdepend "test? ( dev-ruby/rspec-its )" + +all_ruby_prepare() { + # Remove spec-related tasks so that we don't need to require rspec + # just to build the documentation, bug 383611. + sed -i -e '/spectask/d' Rakefile || die + rm tasks/rspec.rake || die + sed -i -e '/[Cc]overalls/d' spec/spec_helper.rb || die + + # Remove specs requiring network connectivity + rm spec/addressable/net_http_compat_spec.rb || die +}