From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E86B61382C5 for ; Wed, 22 Jun 2016 05:08:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42EABE096C; Wed, 22 Jun 2016 05:08:24 +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 C14A0E096A for ; Wed, 22 Jun 2016 05:08:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 9F79E34081F for ; Wed, 22 Jun 2016 05:08:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45BF52421 for ; Wed, 22 Jun 2016 05:08:20 +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: <1466572039.bd8cbc1feb107052bace54209baa16568c99f84d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/github_api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/github_api/Manifest dev-ruby/github_api/github_api-0.14.1.ebuild X-VCS-Directories: dev-ruby/github_api/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: bd8cbc1feb107052bace54209baa16568c99f84d X-VCS-Branch: master Date: Wed, 22 Jun 2016 05:08:20 +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: 2c11a069-ccc2-4fbe-b80f-c0c1483bd22c X-Archives-Hash: f4b720cfa4f69b0ae0e6afb312af7e8a commit: bd8cbc1feb107052bace54209baa16568c99f84d Author: Hans de Graaff gentoo org> AuthorDate: Wed Jun 22 04:58:32 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Jun 22 05:07:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd8cbc1f dev-ruby/github_api: add 0.14.1 Package-Manager: portage-2.2.28 dev-ruby/github_api/Manifest | 1 + dev-ruby/github_api/github_api-0.14.1.ebuild | 43 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/github_api/Manifest b/dev-ruby/github_api/Manifest index ab309aa..d04155d 100644 --- a/dev-ruby/github_api/Manifest +++ b/dev-ruby/github_api/Manifest @@ -1,3 +1,4 @@ DIST github_api-0.11.3.gem 844288 SHA256 cad4fb4c590468382d3d8cc3764f951549e16fdfa8396396cd58e128f8c190d5 SHA512 452f47f6b3570c42c2d4af9b4def507d34dbcaecf29aae76e6116b1b0ae67a4bce70e18d5e978ac6fe58a0ead49806a72ab89c9d46f34075c2fde6f41fd1763c WHIRLPOOL 64814598262350a0bccdddeaef4ac76bf04b22cf660b20bb32f2223b9945d5e8ab3e1c85ff53290464afc218a904db72b18325facc89e92c19c4af49395b82d7 DIST github_api-0.12.4.tar.gz 2024775 SHA256 14d1cb0b9872297683e3dce55808550602d31bfde6778981bae85453bb7c7b10 SHA512 3517a5375359d233207aacc4fd1ac971e91f2be1c61dfa4529a0d531bca698e25c4f177932c5536c16808fe523bede64f20b92b9f30586706b9817ff9dc24cfe WHIRLPOOL c92e0f7a75c0a7a356afd26b664847a02f6a9f115e4cce9f200571728ffbe2f1dd00da87675b4ea5b16651262f7dece6553d430435ba3991657c61c82d3fbcde DIST github_api-0.14.0.tar.gz 2042476 SHA256 e9dfa394d3401790c29204eafd5fbe959f5c66a2378566c6b623de9217245cde SHA512 01460b0ff362ababbdb82aea697f2b02043f3e6007de1811dcb32dee915df91b2f45a00a373315d6f5b5a4499c20f3c315bb31e10e176535511d65d84c4d138f WHIRLPOOL d71e11c5aa7f475c747c50fec2fecb150cdf91a0a9cd1e6a576c6a85fbe7efc164f270f86f9f386f32e95e699b2cda86e7560e0069b299cfaa6ab00585220fc0 +DIST github_api-0.14.1.tar.gz 2046140 SHA256 bf005b8d57a5af65e3cfa244e82341be16eacb017e950101fec3b672f513d9cc SHA512 be4e05cd1239b8930158a5631f636791274a3f9f722f5cd90d5de1bb84be20e28677e05519684e008b7552f884a9caa7dacb3875abb8687d4d19b4babb131ff9 WHIRLPOOL 4f0a23915d3f29d0f261177634c3f730ce92375479d71a6a746ffd594c5bbaae539b1f00467043fa34c074857cc24db985a1fd5fe1b4881ecf55f101584620e1 diff --git a/dev-ruby/github_api/github_api-0.14.1.ebuild b/dev-ruby/github_api/github_api-0.14.1.ebuild new file mode 100644 index 0000000..6b62b2f --- /dev/null +++ b/dev-ruby/github_api/github_api-0.14.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby wrapper for the GitHub REST API v3" +HOMEPAGE="https://github.com/peter-murach/github" +SRC_URI="https://github.com/peter-murach/github/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="github-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.4 + >=dev-ruby/descendants_tracker-0.0.4 + >=dev-ruby/faraday-0.8 + =dev-ruby/hashie-3.4 + dev-ruby/oauth2" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.14 dev-ruby/webmock )" + +all_ruby_prepare() { + # Work around or avoid webmock incompatibilities + files=$(grep -R -l "with(inputs)" spec) + sed -i -e 's/\.with(inputs)//' \ + -e 's/\.with(inputs.except(.*))//' ${files} || die + sed -i -e 's/.with(hub_inputs.*)//' spec/github/client/repos/pub_sub_hubbub/*subscribe* || die + sed -i -e 's/.with({})//i' spec/github/client/repos/{list,contributors}_spec.rb || die + sed -i -e 's/.with({.*})//' spec/unit/client/orgs/memberships/edit_spec.rb || die + rm -f spec/github/error/service_error_spec.rb spec/github/client/authorizations/two_factor_spec.rb || die +}