diff options
author | Guillaume Seren <guillaumeseren@gmail.com> | 2020-12-14 19:08:14 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-28 02:00:38 +0100 |
commit | f4e95a14b6c51f428f7345840bdf368a0d5e11e2 (patch) | |
tree | 3af74dff378e38cbcd8ef887a937860b2d8ddfc2 /dev-ruby/excon | |
parent | dev-ruby/eventmachine: Add ruby27 + tests support (diff) | |
download | gentoo-f4e95a14b6c51f428f7345840bdf368a0d5e11e2.tar.gz gentoo-f4e95a14b6c51f428f7345840bdf368a0d5e11e2.tar.bz2 gentoo-f4e95a14b6c51f428f7345840bdf368a0d5e11e2.zip |
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>
Diffstat (limited to 'dev-ruby/excon')
-rw-r--r-- | dev-ruby/excon/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/excon/excon-0.73.0.ebuild | 40 | ||||
-rw-r--r-- | dev-ruby/excon/metadata.xml | 15 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest new file mode 100644 index 000000000000..560cba925809 --- /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 000000000000..30a8df2cece3 --- /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 000000000000..cfac6831ee83 --- /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>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> |