summaryrefslogtreecommitdiff
path: root/dev-ruby/ethon
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ethon')
-rw-r--r--dev-ruby/ethon/Manifest1
-rw-r--r--dev-ruby/ethon/ethon-0.12.0.ebuild33
-rw-r--r--dev-ruby/ethon/metadata.xml12
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/ethon/Manifest b/dev-ruby/ethon/Manifest
new file mode 100644
index 000000000000..d3f6c7cd64ee
--- /dev/null
+++ b/dev-ruby/ethon/Manifest
@@ -0,0 +1 @@
+DIST ethon-0.12.0.gem 56832 BLAKE2B 04765dcb9599e7435c3f71b1e8c35b815123ec460dbb761360146b24acaff1aeb52a75efe5dbbacdbd11e7247743988629ce965604cdfd15cdd75ef03301d9da SHA512 5fea666efdd5e2d568d0e074f205525656e202ecea3bb5ff8a8ab838a596cab349b869baffb7926227d6cfdae5b9c1cb86bb201b4c9585056c6671ab4feee596
diff --git a/dev-ruby/ethon/ethon-0.12.0.ebuild b/dev-ruby/ethon/ethon-0.12.0.ebuild
new file mode 100644
index 000000000000..390efe9b19e1
--- /dev/null
+++ b/dev-ruby/ethon/ethon-0.12.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 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.3.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
+}
diff --git a/dev-ruby/ethon/metadata.xml b/dev-ruby/ethon/metadata.xml
new file mode 100644
index 000000000000..024fd5aa5346
--- /dev/null
+++ b/dev-ruby/ethon/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">typhoeus/ethon</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>