From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1092054-garchives=archives.gentoo.org@lists.gentoo.org> 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 71EBF138334 for <garchives@archives.gentoo.org>; Thu, 23 May 2019 05:39:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B003AE0875; Thu, 23 May 2019 05:39:06 +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 43682E086E for <gentoo-commits@lists.gentoo.org>; Thu, 23 May 2019 05:39:06 +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 1461B344E7A for <gentoo-commits@lists.gentoo.org>; Thu, 23 May 2019 05:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD03C5E7 for <gentoo-commits@lists.gentoo.org>; Thu, 23 May 2019 05:39:03 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> 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" <graaff@gentoo.org> Message-ID: <1558589927.7adccfb52609bf91481ed351c7b91dc1daf7e13b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/patron/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/patron/Manifest dev-ruby/patron/patron-0.13.3.ebuild X-VCS-Directories: dev-ruby/patron/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7adccfb52609bf91481ed351c7b91dc1daf7e13b X-VCS-Branch: master Date: Thu, 23 May 2019 05:39:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 32b49b2c-1c14-4022-a78f-34e027121ee7 X-Archives-Hash: b62b556c299843d402f2fca1b43a3ec8 commit: 7adccfb52609bf91481ed351c7b91dc1daf7e13b Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu May 23 05:03:28 2019 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu May 23 05:38:47 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adccfb5 dev-ruby/patron: add 0.13.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/patron/Manifest | 1 + dev-ruby/patron/patron-0.13.3.ebuild | 46 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/patron/Manifest b/dev-ruby/patron/Manifest index 5c5faffddb2..b22add4d380 100644 --- a/dev-ruby/patron/Manifest +++ b/dev-ruby/patron/Manifest @@ -1 +1,2 @@ DIST patron-0.13.1.gem 64512 BLAKE2B 14f691cb0fd1c863a1ef634ba8aee94751095138e940f13bf09860e9e0061872fe14fa33416f59f82d4adc53963721d653936a3f058b27654ea7593d6068d0b7 SHA512 7b082ff7442c2635c38b37132cd61f6cd18d4792d41cbf3bed1201fb7371b75bb628a295f4e3dd173c23e086d3c1f54f0217df3f7d1a30c1031fcca86269e1e7 +DIST patron-0.13.3.gem 65024 BLAKE2B 87aa69aab49978d14a80ed9e09d74d7853da3512875cc3aecd3f387d1523b85c84625b57a5826e5f5f999cec4feaae58c1aaae96582144a5c9dc537c9d5a4224 SHA512 afbbbd9570e338a5d1b97b4ebeda76ac95a22c29d908629723d345a47400183c2ccee67ebcaf5b6f9ecb032eb3b847e70ec9eebff75b33045a3665c215abfbd0 diff --git a/dev-ruby/patron/patron-0.13.3.ebuild b/dev-ruby/patron/patron-0.13.3.ebuild new file mode 100644 index 00000000000..cedf0130468 --- /dev/null +++ b/dev-ruby/patron/patron-0.13.3.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="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl" +HOMEPAGE="https://toland.github.com/patron/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND+=" net-misc/curl" +RDEPEND+=" net-misc/curl" + +ruby_add_bdepend "test? ( www-servers/puma )" + +all_ruby_prepare() { + # Fix Rakefile + sed -i -e 's:rake/rdoctask:rdoc/task:' \ + -e 's/README.txt/README.md/' \ + -e '/bundler/I s:^:#:' \ + -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^end/ s:^:#:' \ + Rakefile || die + + # Avoid specs with failures. We were not running any specs before. + rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/patron extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/patron V=1 + cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to cp shared object file" +}