commit:     f4e95a14b6c51f428f7345840bdf368a0d5e11e2
Author:     Guillaume Seren <guillaumeseren <AT> gmail <DOT> com>
AuthorDate: Mon Dec 14 18:08:14 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 28 01:00:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e95a14

dev-ruby/excon: Add new package 0.73.0

Closes: https://bugs.gentoo.org/765244
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Guillaume Seren <guillaumeseren <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/excon/Manifest            |  1 +
 dev-ruby/excon/excon-0.73.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++
 dev-ruby/excon/metadata.xml        | 15 ++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
new file mode 100644
index 00000000000..560cba92580
--- /dev/null
+++ b/dev-ruby/excon/Manifest
@@ -0,0 +1 @@
+DIST excon-0.73.0.tar.gz 216100 BLAKE2B 
7830ac608c25ac42dd5fac85d2e4fa7a06713ba49340693f23886aa2e7bb5f29cde956eac99a13f17c1f7ef987f00d0cfb3bd306c5bffd16c1bdb469be4baa60
 SHA512 
a58556510d8c53c7d4f71dd4846497ee8ab17bd087d5ac9248784fcd1f1dc2e46bf4dbccd22ad8e467614428fdeacc7af6768380922749f92c7d78b849e08eff

diff --git a/dev-ruby/excon/excon-0.73.0.ebuild 
b/dev-ruby/excon/excon-0.73.0.ebuild
new file mode 100644
index 00000000000..30a8df2cece
--- /dev/null
+++ b/dev-ruby/excon/excon-0.73.0.ebuild
@@ -0,0 +1,40 @@
+# 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_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 -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+
+       # test that need network
+       rm -f spec/excon/test/server_spec.rb || die
+}

diff --git a/dev-ruby/excon/metadata.xml b/dev-ruby/excon/metadata.xml
new file mode 100644
index 00000000000..cfac6831ee8
--- /dev/null
+++ b/dev-ruby/excon/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>guillaumese...@gmail.com</email>
+               <name>Guillaume Seren</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">excon/excon</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to