Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/icalendar/
Date: Mon, 01 Aug 2016 09:53:12
Message-Id: 1470045153.90ac621c9cc7063d701ff64bc9d2fb43ecda8807.graaff@gentoo
1 commit: 90ac621c9cc7063d701ff64bc9d2fb43ecda8807
2 Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
3 AuthorDate: Mon Aug 1 09:52:33 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 09:52:33 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=90ac621c
7
8 dev-ruby/icalendar: add 2.4.0
9
10 Package-Manager: portage-2.2.28
11
12 dev-ruby/icalendar/Manifest | 1 +
13 dev-ruby/icalendar/icalendar-2.4.0.ebuild | 35 +++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-ruby/icalendar/Manifest b/dev-ruby/icalendar/Manifest
17 index 1cef4ae..5e00075 100644
18 --- a/dev-ruby/icalendar/Manifest
19 +++ b/dev-ruby/icalendar/Manifest
20 @@ -1 +1,2 @@
21 DIST icalendar-2.3.0.tar.gz 29495 SHA256 5eb7d15edb43ac0a7c82b69e87587ece0ca96a4f87bf05d91aa56fc714bd7f70 SHA512 a3c364b4a56b587bcb5df970a79e9805949cd18801ac4f196a78b6a3b729761d7036ee35665bb26b8f83f92e297ebd8744e0338e783a18ef6cb8b351cbc21f4d WHIRLPOOL fb295d07491b36fd9f559c984712d159a17676a4c51e80a2cb82812be3b83f3ee5f8a6ab678b3d802f5ac717fabe4a0637996a49d928e004718922ef2c08afab
22 +DIST icalendar-2.4.0.tar.gz 31281 SHA256 8fbcb30e2f02d7d150af48c53d1c783347ce563a7a88ac26582f1eeda672aa93 SHA512 4cb78bc7e089d396be95cf4919779d7930ba7e7e1b434bfb8adbb561acd8ef5ecc09692f8c371226031a59d460236b72a7fa276b89a1181404a329f8551359e1 WHIRLPOOL fcb0a50e82c2a0af3feccf87d69bf28fe87bbc8dc19f7bdc0dd350889ab7336721b823b020aee099cb3250b77827662b9ce0741498754d432ba7d2c5faf487ce
23
24 diff --git a/dev-ruby/icalendar/icalendar-2.4.0.ebuild b/dev-ruby/icalendar/icalendar-2.4.0.ebuild
25 new file mode 100644
26 index 0000000..e9563de
27 --- /dev/null
28 +++ b/dev-ruby/icalendar/icalendar-2.4.0.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +USE_RUBY="ruby20 ruby21 ruby22 ruby23"
36 +
37 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
38 +
39 +RUBY_FAKEGEM_TASK_DOC=""
40 +RUBY_FAKEGEM_DOCDIR="doc"
41 +RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
42 +
43 +inherit ruby-fakegem
44 +
45 +DESCRIPTION="This library provides iCalendar support for ruby. (RFC-2445)"
46 +HOMEPAGE="https://github.com/icalendar/icalendar"
47 +LICENSE="|| ( GPL-2 BSD Ruby )"
48 +SRC_URI="https://github.com/icalendar/icalendar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 +
50 +KEYWORDS="~amd64"
51 +SLOT="2"
52 +IUSE=""
53 +
54 +ruby_add_bdepend "test? ( >=dev-ruby/tzinfo-1.1:1 )"
55 +
56 +all_ruby_prepare() {
57 + sed -i '/bundler/Id' Rakefile || die
58 +
59 + sed -i -e '/simplecov/,/end/ s:^:#:' spec/spec_helper.rb || die
60 +
61 + # Avoid one failing spec with TZ offset. May fail since we use the
62 + # overall timezone database, rather than tzinfo.
63 + sed -i -e '/no end transition/,/^ end/ s:^:#:' spec/tzinfo_spec.rb || die
64 +}