dev-ruby/curb: cleanup

Package-Manager: portage-2.2.24
This commit is contained in:
Hans de Graaff
2015-12-15 07:17:30 +01:00
parent 75d0202d68
commit c2d025e4f6
2 changed files with 0 additions and 43 deletions

View File

@@ -1,2 +1 @@
DIST curb-0.8.6.gem 79872 SHA256 8c36f7f88f70fe12c23abd2238c6a83055a0bec41acd5c85695dea9ce91c54d0 SHA512 5dcba8907128bab39ce498ca6549ed8c4908754a2db1eeb1864915a6da59f52ef72aa173e03aa7ed1ff9be25da8c58d8af904d775cfdde5fd829634ea86389ec WHIRLPOOL 4a1ddace01046e19d480537efd29b0bd048ce55f9c32b4f68cc62de58b5295262b700fd0023760087b38597c90ff0b33ef9c3128f3a0320201ffffb9df82f5e9
DIST curb-0.8.8.gem 80384 SHA256 ec3b5880d92c9a9140555fc5c86524025474a905e6548e1c37816247ad60903e SHA512 441025ae199266009bc3f8a2068245a4ee0b83f72babc35cc4fa744b0f3efe13ba26c5f795ff6f429bb7bfbd5ce31d51e5de6b65c3f10285d9a9f5909eff286f WHIRLPOOL e3e371d948fe1f008e34de944fc602267421f643eeec32a7408806dc6e7abc440e73ab63583273247330657ea7bebe7caa4957d95160ab66509110f2acf99ce5

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
RUBY_FAKEGEM_RECIPE_TEST="rake"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
inherit ruby-fakegem
DESCRIPTION="Ruby-language bindings for libcurl"
HOMEPAGE="http://curb.rubyforge.org/"
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
}
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
}