mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
ethon-0.18.0.ebuild
This commit is contained in:
parent
67f977a799
commit
d6724c8d8a
2 changed files with 45 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST ethon-0.15.0.gem 59904 BLAKE2B 9a6bcec605d6133054c3ee9b4546aab4d9282266876cd9c6e9c923d3405a5541871ebe83385185dcc42f0cea37735cddd9977e2da72badbcaaac55b8c634b94c SHA512 6e04c70e105fb95f1e0ff62e1d6ae009bb7b39a60d85ec9e43b10c016f33f679620ded253089a738e0cef5010e9023d1093dd92b1caacdde8f6a745cbae2b5b5
|
||||
DIST ethon-0.18.0.tar.gz 58272 BLAKE2B e7e60a7f255331ce8df09f0c2eeb36ae6b8007939279b13a480af47bf4cb6f39c38df75f93e3b4a598d466f3abfd753f26655720254cc8b76dc9b236ba1dca46 SHA512 3d0dcd70a8ac53998d107d67739a2b92c65def88ddcc5a37fe4d3ea3e344d9654c708894411290224703ccdf7f697cd701d67bc282b9b9764174979c0dcebb32
|
||||
|
|
|
|||
44
dev-ruby/ethon/ethon-0.18.0.ebuild
Normal file
44
dev-ruby/ethon/ethon-0.18.0.ebuild
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="ethon.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Very lightweight libcurl wrapper"
|
||||
HOMEPAGE="https://github.com/typhoeus/ethon"
|
||||
SRC_URI="https://github.com/typhoeus/ethon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ffi-1.15.0"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
|| ( dev-ruby/rackup dev-ruby/rack:2.2 )
|
||||
dev-ruby/sinatra
|
||||
dev-ruby/mime-types
|
||||
dev-ruby/webrick
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -e '/bundler/I s:^:#:' \
|
||||
-e '1igem "sinatra"' -i Rakefile spec/spec_helper.rb || die
|
||||
|
||||
sed -e 's/__FILE__/"ethon.gemspec"/' \
|
||||
-e 's/__dir__/"."/' \
|
||||
-e 's/git ls-files -z/find * -print0/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
Loading…
Reference in a new issue