summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-04-27 06:40:55 +0200
committerHans de Graaff <graaff@gentoo.org>2021-04-28 06:52:59 +0200
commit993d6fcb37a32a098dc77ed58965a151b2675ec1 (patch)
treec46b846874c0c0a6e6e070ea220ca2fa77e2eff3 /dev-ruby/ethon
parentapp-text/yelp-tools: Correct gnome-extra/yelp-xsl dependency (diff)
downloadgentoo-993d6fcb37a32a098dc77ed58965a151b2675ec1.tar.gz
gentoo-993d6fcb37a32a098dc77ed58965a151b2675ec1.tar.bz2
gentoo-993d6fcb37a32a098dc77ed58965a151b2675ec1.zip
dev-ruby/ethon: add 0.14.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ethon')
-rw-r--r--dev-ruby/ethon/Manifest1
-rw-r--r--dev-ruby/ethon/ethon-0.14.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ethon/Manifest b/dev-ruby/ethon/Manifest
index 2038652911be..6bdd2e5d32e8 100644
--- a/dev-ruby/ethon/Manifest
+++ b/dev-ruby/ethon/Manifest
@@ -1,2 +1,3 @@
DIST ethon-0.12.0.gem 56832 BLAKE2B 04765dcb9599e7435c3f71b1e8c35b815123ec460dbb761360146b24acaff1aeb52a75efe5dbbacdbd11e7247743988629ce965604cdfd15cdd75ef03301d9da SHA512 5fea666efdd5e2d568d0e074f205525656e202ecea3bb5ff8a8ab838a596cab349b869baffb7926227d6cfdae5b9c1cb86bb201b4c9585056c6671ab4feee596
DIST ethon-0.13.0.gem 57344 BLAKE2B 2d8000bba75bb2b047bfb22dbbc11f9ae77b2b2a0a00e75680f8d6eadfdb5e2dcb72dfcd314e5560f1ebe0429f6aab5b25c265c2a6079d638dff5b5e1e2284ee SHA512 835de568dd701d8b7fd8848a4fd48043569b6473859bc17b2214f0d645da270303060a3dc242d9dc814edd58cb8a753a07386b18fd1ef99dea1cec52fc2e346b
+DIST ethon-0.14.0.gem 57344 BLAKE2B 10dd81966e3e11607f3954616d17fed79be4ba0793cb4e67b39d5b0768ce2adcea88551238c57889b6d14b3d4d9b8e96110d622f5fc40c3856788338a288d4c6 SHA512 765454c3c9132204d6cc0ff09478b252e5cbc78d4f3ca35654942ba19b5aa541d846f1c37ec16e51c54aa41e03debdf8fc084b8f4540d230431d0e6f885f1a51
diff --git a/dev-ruby/ethon/ethon-0.14.0.ebuild b/dev-ruby/ethon/ethon-0.14.0.ebuild
new file mode 100644
index 000000000000..92e6a1ab5fd1
--- /dev/null
+++ b/dev-ruby/ethon/ethon-0.14.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Very lightweight libcurl wrapper"
+HOMEPAGE="https://github.com/typhoeus/ethon"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND+=" net-misc/curl"
+
+ruby_add_rdepend ">=dev-ruby/ffi-1.15.0"
+
+ruby_add_bdepend "test? ( dev-ruby/sinatra dev-ruby/mime-types )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -e '/bundler/I s:^:#:' \
+ -e '1igem "sinatra"' -i Rakefile spec/spec_helper.rb || die
+}