summaryrefslogtreecommitdiff
path: root/dev-ruby/httpclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/httpclient
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/httpclient')
-rw-r--r--dev-ruby/httpclient/Manifest7
-rw-r--r--dev-ruby/httpclient/httpclient-2.8.2.4.ebuild61
-rw-r--r--dev-ruby/httpclient/httpclient-2.8.3.ebuild67
-rw-r--r--dev-ruby/httpclient/metadata.xml11
4 files changed, 146 insertions, 0 deletions
diff --git a/dev-ruby/httpclient/Manifest b/dev-ruby/httpclient/Manifest
new file mode 100644
index 000000000000..d906c48a7e31
--- /dev/null
+++ b/dev-ruby/httpclient/Manifest
@@ -0,0 +1,7 @@
+DIST httpclient-2.8.2.4.tgz 462907 SHA256 82c4a08d35f905a3031cdbdaaf838303cd90aaec7edfa12247c0f649c0dba397 SHA512 c225f302e6bd1f08fc089c202d4d870999ae9ef4bf1df416fb7f06b1732f50b9a7c69a5b73f1ee2f963665d5d436c243830555f8d42c60ac536abbae72b693a5 WHIRLPOOL 732c1c2ad18d47e0c424fc5922ab919f98e0df2e1f369ca43b212334f64944428caaafdaaee9b4f6e6952833282268d818f61211158579407074538faf7415cf
+DIST httpclient-2.8.3.tgz 464624 SHA256 647f054736dbe5357eeb722e837b6e30d7ed60939302145cd6099eca3ab8810b SHA512 b65b5adb97af069d7ff6b6f4cccd6a42c6d9c88b797e9495768fe1f36a6bd93defe50190edc201de5e39c4e306ba0bd17a8ff2f8eba4d636dacafa06c172967d WHIRLPOOL 63a290d7cca6389eb3d947aa4245b8c88c53020c2afd6695fcdf74e0e4119986f235a3c02c19855772f7cf2dd977329e54cf062a6640b51eb01bf5fc5a3fea48
+EBUILD httpclient-2.8.2.4.ebuild 1756 SHA256 81aba17408317727ff0ef705098c3879e3cdfba6f47de773deb02bae69f4a344 SHA512 22d759b9e53918e29e34bc9d12028461d7e8297049895f1277048ed4949d4dc600825af63a6a9b5943da481b04959ae44f82b74ee8facac3ac5a56747cc8a645 WHIRLPOOL a9ab4ce64e3c393d0911cb522e4e234de5748ca41bdb898b5ab1ae3dbf897d80f7fc8caf7f3d4cc446810011fe9ad4685ae9c369f0f1192b60a7afa64ed1be2a
+EBUILD httpclient-2.8.3.ebuild 2037 SHA256 b016f2e6d7c61af133cc28114f887dbef91b88bd2c7abb4237259d57b7b3cbe3 SHA512 0ac0faaff08601c04dd6c5b244f7ad51d6e77e20ee8625527acfdb4db023c39b2b37efb3f4177c5e9b941ac2f0e8e24a16136bbce7fc5b3d5f342a7f7217c379 WHIRLPOOL 2c3e3c5fef2a18f677d0453b66e89bb279054c5416ecf62a75ced0e07e83474370c1f095211dcfa2819827145175a5a7be98e18901ca40d361e89a322089eb90
+MISC ChangeLog 6944 SHA256 5511f8b8ae41db8069c580767310b75d34901af56a0d48292b52d4db41d84abd SHA512 4b67d600e8ebaf0dcca00f683a8f367e841a07da7620d7d4fee2b1203283e99394eee5395fd4be37350bba82324c921ac28225a619b411e1997877bc37366467 WHIRLPOOL f381d588ddc6f61fd93840592c7c3a0c74095f014f0670b0824d1ac5b6e746fbf9617e384f4ed85fb686892b328063cd3b80be1fecd3b8e30cc61cebae4a977f
+MISC ChangeLog-2015 9318 SHA256 8f561f41a84bbf8d8f1d12cb42d78b236fa74f6a90f97c37fd33a0e18c88ee61 SHA512 bcd5833884089f7c22efffcb2a1e945134795106a89a7f1ed99ea1c7420de75c124ae0278ca934a5a033b2685cef261331cc5ccadf475a1e788cc2e6e7c34b8e WHIRLPOOL ba89fce112fdd30e0365fa4c353d6f4dff34b052f374d135b8f32d6accbe744abbe9b0347d2162a84902318ae076fb63897b58d6c079592173c261f380f1f19a
+MISC metadata.xml 341 SHA256 c8ef8fc9dbc84ee9501fea85eb115d7156480efbb1861c268aae763246e06746 SHA512 04d6c137c27403e7512feab47cd105f6cef456af315ec05b5204022eb9a8b7eda358f3ef4a19ff457770b3898c6395055880f5a162477f15d0948b148c902288 WHIRLPOOL c7c6e542edcf562d3c239c213bc87d9677368b154862acd2856693ab93ff6a37edc106e17598c26c42400b1013e16dea3fbb1a22908554f61db5667518b956c6
diff --git a/dev-ruby/httpclient/httpclient-2.8.2.4.ebuild b/dev-ruby/httpclient/httpclient-2.8.2.4.ebuild
new file mode 100644
index 000000000000..18fb46b42740
--- /dev/null
+++ b/dev-ruby/httpclient/httpclient-2.8.2.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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="~alpha 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
+}
diff --git a/dev-ruby/httpclient/httpclient-2.8.3.ebuild b/dev-ruby/httpclient/httpclient-2.8.3.ebuild
new file mode 100644
index 000000000000..31d579ef823e
--- /dev/null
+++ b/dev-ruby/httpclient/httpclient-2.8.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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="~alpha ~amd64 ~arm ~arm64 ~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
+
+ # Skip test failing due to hard-coded expired certificate
+ sed -i -e '/test_verification_without_httpclient/,/^ end/ s:^:#:' test/test_ssl.rb || die
+
+ # Skip test depending on obsolete and vulnerable SSLv3
+ sed -i -e '/test_no_sslv3/,/^ end/ s:^:#:' test/test_ssl.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'gem "test-unit"; Dir["test/test_*.rb"].each{|f| require f}' || die
+}
diff --git a/dev-ruby/httpclient/metadata.xml b/dev-ruby/httpclient/metadata.xml
new file mode 100644
index 000000000000..26846ad431fa
--- /dev/null
+++ b/dev-ruby/httpclient/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nahi/httpclient</remote-id>
+ </upstream>
+</pkgmetadata>