diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/curb | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/curb')
-rw-r--r-- | dev-ruby/curb/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/curb/curb-0.9.4.ebuild | 45 | ||||
-rw-r--r-- | dev-ruby/curb/curb-0.9.6.ebuild | 45 | ||||
-rw-r--r-- | dev-ruby/curb/metadata.xml | 11 |
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-ruby/curb/Manifest b/dev-ruby/curb/Manifest new file mode 100644 index 000000000000..a8fd30797529 --- /dev/null +++ b/dev-ruby/curb/Manifest @@ -0,0 +1,5 @@ +DIST curb-0.9.4.gem 82432 BLAKE2B 2bf2bf0d887369c484d246771afc9cb34c6eb72a3809f13c9047f82030d79b1be47141db03659c1e4f42792c94094e40f05d4b1b0d984aed73a47c24ef96379a SHA512 7b81ba587ac9beb203e040234d9f5032d87352a3e045d3705f474d2eaf1f620245240a59894c7147f54d55f0293f60488e8f883367f96945d49ffcdcef42bfc1 +DIST curb-0.9.6.gem 83456 BLAKE2B 79ef506ef3c570cae2527b3547d3b315ec3b1ba8cb8295f5c886d653ca5f3b8454a3326b9d704ce20aea6e2ff0652bb682e9931f9ba0573f449322e087ea53fe SHA512 b592e04f963a32a81dec0b67348921da7b9a84d6943398984126eae1dc22653efbb049ad04201a7f22cbf19a03d6c587a525491d25585d3f12e29d4a5cf469a8 +EBUILD curb-0.9.4.ebuild 1186 BLAKE2B a45058542472193518d96d8f2ee6d8c6e89b9376033569b04bd3f805b694b7ccf54c4f741603dabc5b0cd90c92f27f32e708e758eb3ce6b105b6bc06e2928c73 SHA512 430651ca85bf34bb5d19133299839041feaa53a544dbe90927f4f820936308ce072e82f7ff9fb38355b0db46bb9e33ca2415fe230882fec7ab0dc493f521bb5d +EBUILD curb-0.9.6.ebuild 1179 BLAKE2B d423a22dc6570f83217d5a511e7e79662b28a313c238e5cf8fdbc43df57ebb3df9054bc2710ce4a68f85c83930d58bd849f5eb5f7a5adf159ba81cc6743fcc04 SHA512 6f24d9cd670ec1639b8f4ad089475046b7f2596a1f4fa5c5c599796b59cb03d186308d8b2c19003fc4c21d3e38d2c40a9d2b4dad8a92442622bb3cbea60e548a +MISC metadata.xml 335 BLAKE2B e68d36e70f8859cbc9d47397720949fdb7d048601e46c7380575f6c5ce43b04dccc2eb3bb0396a72beea0840f197ceeb5325e935431ef45022bdb2749e1cb57f SHA512 993073ca664dcfc0698a820063013ae20e431f0d2d1b5fa27e0871ba33ebcd09ac70de516ad943934a3a4783d3df4dc93e533082b3b47f245908a5eab4e94658 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..db408773e228 --- /dev/null +++ b/dev-ruby/curb/curb-0.9.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +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.6.ebuild b/dev-ruby/curb/curb-0.9.6.ebuild new file mode 100644 index 000000000000..303e1f6a1012 --- /dev/null +++ b/dev-ruby/curb/curb-0.9.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +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> |