summaryrefslogtreecommitdiff
path: root/dev-ruby/curb
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/curb
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/curb')
-rw-r--r--dev-ruby/curb/Manifest7
-rw-r--r--dev-ruby/curb/curb-0.9.3.ebuild45
-rw-r--r--dev-ruby/curb/curb-0.9.4.ebuild45
-rw-r--r--dev-ruby/curb/metadata.xml11
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-ruby/curb/Manifest b/dev-ruby/curb/Manifest
new file mode 100644
index 000000000000..6c239b9e5280
--- /dev/null
+++ b/dev-ruby/curb/Manifest
@@ -0,0 +1,7 @@
+DIST curb-0.9.3.gem 81920 SHA256 42651d05f712a93fb9cc733910b285d389afbd16952d456b13733b12a403e009 SHA512 b484505fbdd038f6827aec9fa936f0a00d0ada5af4c655320976b5efef2b0d503a1aae4f72246467ba7caaede1440c59f511f45f10c53b90fc2a94630bc620f9 WHIRLPOOL 62a529c8d937e92c3e0f058cf3eb09c73c41393675e8bb0a3cfd22015383f4b5fa8d01be48d5abf655b4310325ef5837496f0221f9fd91ea1861dbaceb0087fc
+DIST curb-0.9.4.gem 82432 SHA256 cedc6ef5a287f86179fa7e47b9b70fb537d3c94c6f48b93071d6cec2a2268b8a SHA512 7b81ba587ac9beb203e040234d9f5032d87352a3e045d3705f474d2eaf1f620245240a59894c7147f54d55f0293f60488e8f883367f96945d49ffcdcef42bfc1 WHIRLPOOL 5add294a7a463878d846afeed5bb9015cd70d52068e9dbc7b281f56ea6defb7f664d5b85575176f7d4dbef41e262713386d252a387dfa7f3e4bfef90ce808df9
+EBUILD curb-0.9.3.ebuild 1187 SHA256 8a6c5f268cf31efc698c704445e199ae32f6887a2e35a7b86f5e041a662832c7 SHA512 85a738ddf8e08102da81dbff887df167b650f1917b9d9d296d56c13379f449be268207c6627022903cf12858eb8a772f2778a00e95ebc6a777fcb29298d7cdfb WHIRLPOOL 14cbdb7cebec6c1f8cbd53c0d08828620729d118c2a23df2b34e2f0d03d4c1b85da6be2c2194dcd33ea6a45a186f822876ad779a0af133cc17170c9415cd3499
+EBUILD curb-0.9.4.ebuild 1180 SHA256 5bdcaad90f94058b254cc8983fe4b8904b2554f306b1c841a77f48e682c8fbe8 SHA512 c5ce06e92295927624dc3fbcc11c3c6ebf6830509eb0becfb64e9cc5fd627cf1dd5210bec77610a2f5f4dcac207ca7e58c1a8c03d37e477791d1a1667c1b4721 WHIRLPOOL bc850b8a9e9bde22a90a817e8c18df86dbf77850abde10e5ea0ca3428a58e107770f44f22be9a6fec5dd0a3865738aeebc17e49796d53b5782bc6df8f4be5fbc
+MISC ChangeLog 3520 SHA256 ee958381289843150f67da2a27f402426c67f2c8c675b21d33b014cfa398e3b7 SHA512 37c57dd1358be5e50e95811bc5b8defa7dd807a124cb3ee32fe3907baf53c92f2e3176b718d86f97498914d57c8aea358926103b249520dbbb07424589e11205 WHIRLPOOL 5accf5fbb8e96bf5387961c32b58fd3e538123fa55c66eff61c071c3a419e30b635f93dd850016417e53907e23346ad59fc430c0a094ff27ee077f5854ce5aeb
+MISC ChangeLog-2015 1424 SHA256 6e12ef773756cf9d6b604c2778dd0d1644eca9c1e0ac0a7aefc78c09e8705950 SHA512 52ca401c10bbed84cfaf062ad5957ad20add132e9e7d79eb52d59b3e0c1e11fe8a015b6c06ec66b29fde75fb8a9bcd332ab69830bf2d7c488fc0f0ddad7086a3 WHIRLPOOL 516ad1d7d6db0eb2d9ddec9e807295fe465e7400618218e128b9ddbfbef8ba719b63fd7a43046c68268e19af7a39aff50f4a3bab218fe3040f054b563857f42e
+MISC metadata.xml 335 SHA256 d5072a55c66d1abfdfc66c698eb505af5cfe7621915a20faa2e7a523dd6edde0 SHA512 993073ca664dcfc0698a820063013ae20e431f0d2d1b5fa27e0871ba33ebcd09ac70de516ad943934a3a4783d3df4dc93e533082b3b47f245908a5eab4e94658 WHIRLPOOL 72138a36ea84f7b3bcff85ebf628b2c94dab93b319badc61c9a6c3d4f32014836b124d0561f6b35e458b1107638174503f7bbfedb751a019e0c182508b41f698
diff --git a/dev-ruby/curb/curb-0.9.3.ebuild b/dev-ruby/curb/curb-0.9.3.ebuild
new file mode 100644
index 000000000000..bb74e101cdb2
--- /dev/null
+++ b/dev-ruby/curb/curb-0.9.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rake"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby-language bindings for libcurl"
+HOMEPAGE="https://github.com/taf2/curb"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND+=" net-misc/curl[ssl]"
+RDEPEND+=" net-misc/curl[ssl]"
+
+all_ruby_prepare() {
+ # fix tests when localhost is also ::1
+ sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die
+
+ # avoid tests making outside network connections
+ rm tests/bug_postfields_crash.rb || die
+ sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \
+ -i tests/tc_curl_easy.rb || die
+
+ # avoid failing tests where failure condition seems weird, no
+ # upstream travis so not clear if the test is indeed broken.
+ sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -Cext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" V=1
+ cp -l ext/curb_core$(get_modname) lib || die
+}
diff --git a/dev-ruby/curb/curb-0.9.4.ebuild b/dev-ruby/curb/curb-0.9.4.ebuild
new file mode 100644
index 000000000000..286c044ffd77
--- /dev/null
+++ b/dev-ruby/curb/curb-0.9.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rake"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby-language bindings for libcurl"
+HOMEPAGE="https://github.com/taf2/curb"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND+=" net-misc/curl[ssl]"
+RDEPEND+=" net-misc/curl[ssl]"
+
+all_ruby_prepare() {
+ # fix tests when localhost is also ::1
+ sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die
+
+ # avoid tests making outside network connections
+ rm tests/bug_postfields_crash.rb || die
+ sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \
+ -i tests/tc_curl_easy.rb || die
+
+ # avoid failing tests where failure condition seems weird, no
+ # upstream travis so not clear if the test is indeed broken.
+ sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -Cext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" V=1
+ cp -l ext/curb_core$(get_modname) lib || die
+}
diff --git a/dev-ruby/curb/metadata.xml b/dev-ruby/curb/metadata.xml
new file mode 100644
index 000000000000..ca5891cea587
--- /dev/null
+++ b/dev-ruby/curb/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">taf2/curb</remote-id>
+ </upstream>
+</pkgmetadata>