Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/excon/
Date: Sat, 09 Oct 2021 07:27:57
Message-Id: 1633764468.a98bc3d61ab6bdf7089b19ed8354ca1c5f274a34.graaff@gentoo
1 commit: a98bc3d61ab6bdf7089b19ed8354ca1c5f274a34
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 06:49:08 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 07:27:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98bc3d6
7
8 dev-ruby/excon: add 0.87.0
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/excon/Manifest | 1 +
14 dev-ruby/excon/excon-0.87.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest
18 index 560cba92580..9446148a517 100644
19 --- a/dev-ruby/excon/Manifest
20 +++ b/dev-ruby/excon/Manifest
21 @@ -1 +1,2 @@
22 DIST excon-0.73.0.tar.gz 216100 BLAKE2B 7830ac608c25ac42dd5fac85d2e4fa7a06713ba49340693f23886aa2e7bb5f29cde956eac99a13f17c1f7ef987f00d0cfb3bd306c5bffd16c1bdb469be4baa60 SHA512 a58556510d8c53c7d4f71dd4846497ee8ab17bd087d5ac9248784fcd1f1dc2e46bf4dbccd22ad8e467614428fdeacc7af6768380922749f92c7d78b849e08eff
23 +DIST excon-0.87.0.tar.gz 207823 BLAKE2B 1affb1b566afb18ad563806362f75b43704e7753f1aab1e356a38058f1cbb79d89e09d271e4f6f49f9e8ed775592fe78bc262979ecc73285deda056a1fd5fba4 SHA512 34149831783a51f792dcdad500691343e675c84d7d45766eebbb590080111dc790928455b7c885f731e01fa5637f531f7736e42496d9f77bb0337110aeb531f9
24
25 diff --git a/dev-ruby/excon/excon-0.87.0.ebuild b/dev-ruby/excon/excon-0.87.0.ebuild
26 new file mode 100644
27 index 00000000000..44a58d83334
28 --- /dev/null
29 +++ b/dev-ruby/excon/excon-0.87.0.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +USE_RUBY="ruby26 ruby27"
37 +
38 +RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md"
39 +RUBY_FAKEGEM_GEMSPEC="excon.gemspec"
40 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
41 +
42 +inherit ruby-fakegem
43 +
44 +DESCRIPTION="EXtended http(s) CONnections"
45 +HOMEPAGE="https://github.com/excon/excon"
46 +SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +ruby_add_bdepend "
55 + dev-ruby/rake
56 + test? (
57 + dev-ruby/activesupport
58 + >=dev-ruby/eventmachine-1.0.4
59 + >=dev-ruby/json-1.8.5
60 + dev-ruby/open4
61 + dev-ruby/rdoc
62 + dev-ruby/sinatra
63 + )
64 +"
65 +all_ruby_prepare() {
66 + sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
67 +
68 + # test that need network
69 + rm -f spec/excon/test/server_spec.rb || die
70 +}