summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-04-12 05:54:13 +0200
committerHans de Graaff <graaff@gentoo.org>2021-04-12 05:54:28 +0200
commitfe027df7ae8af16e122e4dc0ed9225ea477b47f8 (patch)
treee87a31b5e303b1ea5605aea96dd57c2d8e36ba54 /dev-ruby/ethon
parentdev-ruby/activerecord: fix dev-ruby/pg dependency (diff)
downloadgentoo-fe027df7ae8af16e122e4dc0ed9225ea477b47f8.tar.gz
gentoo-fe027df7ae8af16e122e4dc0ed9225ea477b47f8.tar.bz2
gentoo-fe027df7ae8af16e122e4dc0ed9225ea477b47f8.zip
dev-ruby/ethon: add 0.13.0
Package-Manager: Portage-3.0.17, 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.13.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ethon/Manifest b/dev-ruby/ethon/Manifest
index d3f6c7cd64ee..2038652911be 100644
--- a/dev-ruby/ethon/Manifest
+++ b/dev-ruby/ethon/Manifest
@@ -1 +1,2 @@
DIST ethon-0.12.0.gem 56832 BLAKE2B 04765dcb9599e7435c3f71b1e8c35b815123ec460dbb761360146b24acaff1aeb52a75efe5dbbacdbd11e7247743988629ce965604cdfd15cdd75ef03301d9da SHA512 5fea666efdd5e2d568d0e074f205525656e202ecea3bb5ff8a8ab838a596cab349b869baffb7926227d6cfdae5b9c1cb86bb201b4c9585056c6671ab4feee596
+DIST ethon-0.13.0.gem 57344 BLAKE2B 2d8000bba75bb2b047bfb22dbbc11f9ae77b2b2a0a00e75680f8d6eadfdb5e2dcb72dfcd314e5560f1ebe0429f6aab5b25c265c2a6079d638dff5b5e1e2284ee SHA512 835de568dd701d8b7fd8848a4fd48043569b6473859bc17b2214f0d645da270303060a3dc242d9dc814edd58cb8a753a07386b18fd1ef99dea1cec52fc2e346b
diff --git a/dev-ruby/ethon/ethon-0.13.0.ebuild b/dev-ruby/ethon/ethon-0.13.0.ebuild
new file mode 100644
index 000000000000..92e6a1ab5fd1
--- /dev/null
+++ b/dev-ruby/ethon/ethon-0.13.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
+}