mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-25 09:36:42 +01:00
26 lines
811 B
Bash
26 lines
811 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
USE_RUBY="ruby19 ruby20 ruby21"
|
|
|
|
inherit multilib ruby-fakegem
|
|
|
|
DESCRIPTION="Typhoeus runs HTTP requests in parallel while cleanly encapsulating handling logic"
|
|
HOMEPAGE="https://rubygems.org/gems/typhoeus"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="$(get_version_component_range 1-2)"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="hardened"
|
|
|
|
ruby_add_rdepend ">=dev-ruby/ethon-0.7.0"
|
|
|
|
#all_ruby_prepare() {
|
|
# #dev-lang/ruby might need the "hardened" flag to enforce the following:
|
|
# if use hardened; then
|
|
# paxctl -v /usr/bin/ruby19 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! Typhoeus may only work if ruby19 is MPROTECT disabled\n Please disable it if required using paxctl -m /usr/bin/ruby19'
|
|
# fi
|
|
#}
|