mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-ruby/httpclient: add 2.8.0
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST httpclient-2.6.0.1.tgz 305847 SHA256 213f55639b85edf47fb32f865b59085a76d77c87355e9e13e747250f8da0f6e9 SHA512 bcb71a7b6be7d132df63c5434cb2d4be46fa9b5c585b68a8a8269e46acecde6403098555e219354c60fc193016651c1bda53bffd9d509a517a3104c9a4e04efe WHIRLPOOL 4ded5d0b5f93c3b58df1e1c2233ae3a6219d797c0fb193d4995a2863fda76bad10ef0429f79a01c9b3c7c9ae27e20879b81db34239ff901a502baea9d6436785
|
||||
DIST httpclient-2.7.1.tgz 457036 SHA256 d176c5177745d60434a05c3d85497f9a56c725aa6f9ee98ac14349f9ffe05cfc SHA512 960770fe351a82e4008ca706bc0f1c7ba255b67dcbcc2984b1f76b78bdb9236b799dbd81c98d706a6a3755677b8d11fe7d7dd5b3af6afaaf901d70d999a09ea2 WHIRLPOOL d6c70683f702c2b749d56ff011beb24e8b4d77acab6f587986e44ecd6a3c6ac73059b4080715b97b750d773c1c13bf4abcb91a0748087e233b0509b2592daa1d
|
||||
DIST httpclient-2.7.2.tgz 457339 SHA256 5c2c5f505168effb167bc0580da2814cff893636c5a8bc75f1080d2c82c6d0ad SHA512 02793c21925449a6fb117c548a6fd80464a953e6496489b7cd36491026effd553e7447cb96d9ae1bbd8897c16a5efa8b7faf69ab19a02c5d182bcb2f737a07a3 WHIRLPOOL 1c81132d21a4d01faf37983e117f7ebeaafaa8b855bf04813fe32aaeb9123f0e305bf415330a833244e00311d0755fe3474fb2310ef50b82984ae2c3c5b1339b
|
||||
DIST httpclient-2.8.0.tgz 457364 SHA256 96c5551e48b1ab32e695a8cb7a3dcea425c6da2d0a56ee1aaa4c407d1a04104a SHA512 6ec42a2ba8345f5b9a77d8d26f41932ebba13675671190ca42b787bb0f83cb6d3307e00f32808e6b5b4fa5fe76e5db31301fa88ad8131c9bae2c91a822e546f6 WHIRLPOOL 7bd46526bcb87e79d5a03676f0d478745db998089d3c58cd215d550b73e2cf3bc7c02716c74af86418a91150d5fa980184100f63851537169dbbdd3cdbae77f8
|
||||
|
||||
62
dev-ruby/httpclient/httpclient-2.8.0.ebuild
Normal file
62
dev-ruby/httpclient/httpclient-2.8.0.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# 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_TASK_TEST="-Ilib test"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="httpclient.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
|
||||
HOMEPAGE="https://github.com/nahi/httpclient"
|
||||
SRC_URI="https://github.com/nahi/httpclient/archive/v${PV}.tar.gz -> ${P}.tgz"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!dev-ruby/http-access2"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/http-cookie )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
|
||||
|
||||
# Fix documentation task
|
||||
sed -i -e 's/README.txt/README.md/' Rakefile || die
|
||||
|
||||
# Remove mandatory CI reports since we don't need this for testing.
|
||||
sed -i -e '/reporter/s:^:#:' Rakefile || die
|
||||
|
||||
# Remove mandatory simplecov dependency
|
||||
sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' test/helper.rb || die
|
||||
|
||||
# Comment out test requiring network access that makes assumptions
|
||||
# about the environment, bug 395155
|
||||
sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die
|
||||
|
||||
# Skip tests using rack-ntlm which is not packaged. Weirdly these
|
||||
# only fail on jruby.
|
||||
rm test/test_auth.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e 'gem "test-unit"; Dir["test/test_*.rb"].each{|f| require f}' || die
|
||||
}
|
||||
Reference in New Issue
Block a user