mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
41 lines
872 B
Bash
41 lines
872 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
USE_RUBY="ruby26 ruby27"
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md"
|
|
RUBY_FAKEGEM_GEMSPEC="excon.gemspec"
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="EXtended http(s) CONnections"
|
|
HOMEPAGE="https://github.com/excon/excon"
|
|
SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
ruby_add_bdepend "
|
|
dev-ruby/rake
|
|
test? (
|
|
dev-ruby/activesupport
|
|
>=dev-ruby/eventmachine-1.0.4
|
|
>=dev-ruby/json-1.8.5
|
|
dev-ruby/open4
|
|
dev-ruby/rdoc
|
|
dev-ruby/sinatra
|
|
)
|
|
"
|
|
all_ruby_prepare() {
|
|
sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die
|
|
|
|
# test that need network
|
|
rm -f spec/excon/test/server_spec.rb || die
|
|
}
|