summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-09-15 18:50:53 +0000
committertaca <taca@pkgsrc.org>2013-09-15 18:50:53 +0000
commita4420161f74bbbd37e4770758de51471502f0621 (patch)
tree40fbb189835fb7448dd8017f1283af5208d53ca0 /www
parent4b979f87c8d7ccc94a0ed01cf00f5075d2bf4382 (diff)
downloadpkgsrc-a4420161f74bbbd37e4770758de51471502f0621.tar.gz
Add ruby-em-http-request package version 1.1.0.
# EM-HTTP-Request Async (EventMachine) HTTP client, with support for: - Asynchronous HTTP API for single & parallel request execution - Keep-Alive and HTTP pipelining support - Auto-follow 3xx redirects with max depth - Automatic gzip & deflate decoding - Streaming response processing - Streaming file uploads - HTTP proxy and SOCKS5 support - Basic Auth & OAuth - Connection-level & Global middleware support - HTTP parser via [http_parser.rb](https://github.com/tmm1/http_parser.rb) - Works wherever EventMachine runs: Rubinius, JRuby, MRI
Diffstat (limited to 'www')
-rw-r--r--www/ruby-em-http-request/DESCR15
-rw-r--r--www/ruby-em-http-request/Makefile18
-rw-r--r--www/ruby-em-http-request/PLIST55
-rw-r--r--www/ruby-em-http-request/distinfo5
4 files changed, 93 insertions, 0 deletions
diff --git a/www/ruby-em-http-request/DESCR b/www/ruby-em-http-request/DESCR
new file mode 100644
index 00000000000..4e019f5b5a1
--- /dev/null
+++ b/www/ruby-em-http-request/DESCR
@@ -0,0 +1,15 @@
+# EM-HTTP-Request
+
+Async (EventMachine) HTTP client, with support for:
+
+- Asynchronous HTTP API for single & parallel request execution
+- Keep-Alive and HTTP pipelining support
+- Auto-follow 3xx redirects with max depth
+- Automatic gzip & deflate decoding
+- Streaming response processing
+- Streaming file uploads
+- HTTP proxy and SOCKS5 support
+- Basic Auth & OAuth
+- Connection-level & Global middleware support
+- HTTP parser via [http_parser.rb](https://github.com/tmm1/http_parser.rb)
+- Works wherever EventMachine runs: Rubinius, JRuby, MRI
diff --git a/www/ruby-em-http-request/Makefile b/www/ruby-em-http-request/Makefile
new file mode 100644
index 00000000000..f427410e639
--- /dev/null
+++ b/www/ruby-em-http-request/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/09/15 18:50:53 taca Exp $
+
+DISTNAME= em-http-request-1.0.3
+CATEGORIES= net
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/igrigorik/em-http-request
+COMMENT= EventMachine based, async HTTP Request client
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-eventmachine>=1.0<2:../../devel/ruby-eventmachine
+DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.2.3:../../net/ruby-addressable
+DEPENDS+= ${RUBY_PKGPREFIX}-http_parser.rb>=0.5.3:../../www/ruby-http_parser.rb
+DEPENDS+= ${RUBY_PKGPREFIX}-em-socksify>=0:../../net/ruby-em-socksify
+DEPENDS+= ${RUBY_PKGPREFIX}-cookiejar>=0:../../www/ruby-cookiejar
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-em-http-request/PLIST b/www/ruby-em-http-request/PLIST
new file mode 100644
index 00000000000..879c382160b
--- /dev/null
+++ b/www/ruby-em-http-request/PLIST
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/15 18:50:53 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gemtest
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.rspec
+${GEM_LIBDIR}/Changelog.md
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/benchmarks/clients.rb
+${GEM_LIBDIR}/benchmarks/em-excon.rb
+${GEM_LIBDIR}/benchmarks/em-profile.gif
+${GEM_LIBDIR}/benchmarks/em-profile.txt
+${GEM_LIBDIR}/benchmarks/server.rb
+${GEM_LIBDIR}/em-http-request.gemspec
+${GEM_LIBDIR}/examples/.gitignore
+${GEM_LIBDIR}/examples/fetch.rb
+${GEM_LIBDIR}/examples/fibered-http.rb
+${GEM_LIBDIR}/examples/multi.rb
+${GEM_LIBDIR}/examples/oauth-tweet.rb
+${GEM_LIBDIR}/examples/socks5.rb
+${GEM_LIBDIR}/lib/em-http-request.rb
+${GEM_LIBDIR}/lib/em-http.rb
+${GEM_LIBDIR}/lib/em-http/client.rb
+${GEM_LIBDIR}/lib/em-http/core_ext/bytesize.rb
+${GEM_LIBDIR}/lib/em-http/decoders.rb
+${GEM_LIBDIR}/lib/em-http/http_client_options.rb
+${GEM_LIBDIR}/lib/em-http/http_connection.rb
+${GEM_LIBDIR}/lib/em-http/http_connection_options.rb
+${GEM_LIBDIR}/lib/em-http/http_encoding.rb
+${GEM_LIBDIR}/lib/em-http/http_header.rb
+${GEM_LIBDIR}/lib/em-http/http_status_codes.rb
+${GEM_LIBDIR}/lib/em-http/middleware/json_response.rb
+${GEM_LIBDIR}/lib/em-http/middleware/oauth.rb
+${GEM_LIBDIR}/lib/em-http/multi.rb
+${GEM_LIBDIR}/lib/em-http/request.rb
+${GEM_LIBDIR}/lib/em-http/version.rb
+${GEM_LIBDIR}/spec/client_fiber_spec.rb
+${GEM_LIBDIR}/spec/client_spec.rb
+${GEM_LIBDIR}/spec/dns_spec.rb
+${GEM_LIBDIR}/spec/encoding_spec.rb
+${GEM_LIBDIR}/spec/external_spec.rb
+${GEM_LIBDIR}/spec/fixtures/google.ca
+${GEM_LIBDIR}/spec/fixtures/gzip-sample.gz
+${GEM_LIBDIR}/spec/helper.rb
+${GEM_LIBDIR}/spec/http_proxy_spec.rb
+${GEM_LIBDIR}/spec/middleware_spec.rb
+${GEM_LIBDIR}/spec/multi_spec.rb
+${GEM_LIBDIR}/spec/pipelining_spec.rb
+${GEM_LIBDIR}/spec/redirect_spec.rb
+${GEM_LIBDIR}/spec/socksify_proxy_spec.rb
+${GEM_LIBDIR}/spec/ssl_spec.rb
+${GEM_LIBDIR}/spec/stallion.rb
+${GEM_LIBDIR}/spec/stub_server.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/www/ruby-em-http-request/distinfo b/www/ruby-em-http-request/distinfo
new file mode 100644
index 00000000000..da6bb3dfac9
--- /dev/null
+++ b/www/ruby-em-http-request/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/15 18:50:53 taca Exp $
+
+SHA1 (em-http-request-1.0.3.gem) = f21ffcaf24ed63e0524b1e9c03e4c3a93cb7ac1b
+RMD160 (em-http-request-1.0.3.gem) = 7e6f642f2285c33d13e0a60ef45c4ef2bc5abaf5
+Size (em-http-request-1.0.3.gem) = 203264 bytes