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 616B41382C5 for ; Wed, 25 Apr 2018 05:23:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44920E095E; Wed, 25 Apr 2018 05:23:22 +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 08435E08DF for ; Wed, 25 Apr 2018 05:23:21 +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 9E148335C2C for ; Wed, 25 Apr 2018 05:23:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0C15B27E for ; Wed, 25 Apr 2018 05:23:19 +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: <1524633785.ef167d9e38fea2023247714b45bd48ae6289da1e.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/fakeweb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/fakeweb/Manifest dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild X-VCS-Directories: dev-ruby/fakeweb/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ef167d9e38fea2023247714b45bd48ae6289da1e X-VCS-Branch: master Date: Wed, 25 Apr 2018 05:23:19 +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: d18d1516-b55c-4723-9bdf-f06537b8409e X-Archives-Hash: efa8706f1afa9affd73d82adf0ad110d commit: ef167d9e38fea2023247714b45bd48ae6289da1e Author: Hans de Graaff gentoo org> AuthorDate: Wed Apr 25 05:04:20 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Apr 25 05:23:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef167d9e dev-ruby/fakeweb: add new snapshot for ruby24, ruby25 support Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-ruby/fakeweb/Manifest | 1 + dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild | 48 ++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-ruby/fakeweb/Manifest b/dev-ruby/fakeweb/Manifest index 7f863e9e087..a2fd4256c69 100644 --- a/dev-ruby/fakeweb/Manifest +++ b/dev-ruby/fakeweb/Manifest @@ -1 +1,2 @@ DIST fakeweb-1.3.0.20131201.tar.gz 60162 BLAKE2B 856c499041b122d84fde595343e0917a9ac47e81e50560be79a53def2099ea0ad05532bf3a7e3cd5e8dc668235c1ee75989b15465f397f56b7c0edd028bf980c SHA512 f3bd40680b7eefe90d3fee67f5282dbe4c67d46a1f1040d0d0d62c978b69d08987581a53495bb56e32ebcc6679c84f03c2e26c51d2bd98daa80554d3424c6603 +DIST fakeweb-1.3.0.20170806.tar.gz 61449 BLAKE2B f015f95897383e0b65ada5a7833f7bd3fd61ae77f4ab38bf6bb47f2eecef0c778928090302e46157ae4e2fc6c3df4559e9f5c8004a6474ad8852d157aa3af6da SHA512 1871b7c9f2e4f12cd1c434ef4f760828187078a951517fe3f7a6ca5c5d6f08e3056cae2bb012eca1ba556c2f4d369cb2716c637fefee67eb723428195c482edf diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild new file mode 100644 index 00000000000..8c53e00193b --- /dev/null +++ b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" + +COMMIT=2b08c1ff2714ec13a12f3497d67fcefce95c2cbe + +inherit ruby-fakegem + +DESCRIPTION="Helper for faking web requests in Ruby" +HOMEPAGE="https://github.com/chrisk/fakeweb" +SRC_URI="https://github.com/chrisk/fakeweb/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-${COMMIT}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( + dev-ruby/mocha + dev-ruby/test-unit + )" + +all_ruby_prepare() { + # The package bundles samuel and right_http_connection, remove + # them + rm -r test/vendor || die "failed to remove bundled gems" + + # We don't package sdoc and we don't have the direct template. + sed -i -e 's/sdoc/rdoc/' -e '/template/d' Rakefile || die + + # Use the test-unit gem to make jruby compatible with newer mocha. + sed -i -e '1igem "test-unit"' \ + -e '/bundler/I s:^:#:' \ + -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Avoid test dependencies on unmaintained packages that no longer work + rm test/test_other_net_http_libraries.rb || die + + sed -i -e '/test:preflight/ s:^:#:' Rakefile || die +}