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@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Guillaume Seren
2020-12-14 19:08:14 +01:00
committed by Sam James
parent f05cc0db44
commit f4e95a14b6
3 changed files with 56 additions and 0 deletions

1
dev-ruby/excon/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST excon-0.73.0.tar.gz 216100 BLAKE2B 7830ac608c25ac42dd5fac85d2e4fa7a06713ba49340693f23886aa2e7bb5f29cde956eac99a13f17c1f7ef987f00d0cfb3bd306c5bffd16c1bdb469be4baa60 SHA512 a58556510d8c53c7d4f71dd4846497ee8ab17bd087d5ac9248784fcd1f1dc2e46bf4dbccd22ad8e467614428fdeacc7af6768380922749f92c7d78b849e08eff

View File

@@ -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
}

View File

@@ -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>guillaumeseren@gmail.com</email>
<name>Guillaume Seren</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">excon/excon</remote-id>
</upstream>
</pkgmetadata>