Gentoo Archives: gentoo-commits

From: "Michael Orlitzky (mjo)" <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rbpdf: rbpdf-1.18.6-r1.ebuild ChangeLog rbpdf-1.18.6.ebuild
Date: Fri, 03 Jul 2015 21:50:30
Message-Id: 20150703215017.7CF2A74F@oystercatcher.gentoo.org
1 mjo 15/07/03 21:50:17
2
3 Modified: ChangeLog
4 Added: rbpdf-1.18.6-r1.ebuild
5 Removed: rbpdf-1.18.6.ebuild
6 Log:
7 Revbump to add ruby21 support.
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x6F48D3DA05C2DADB!)
10
11 Revision Changes Path
12 1.4 dev-ruby/rbpdf/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rbpdf/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rbpdf/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rbpdf/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rbpdf/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 27 Jun 2015 23:54:14 -0000 1.3
25 +++ ChangeLog 3 Jul 2015 21:50:17 -0000 1.4
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-ruby/rbpdf
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rbpdf/ChangeLog,v 1.3 2015/06/27 23:54:14 mjo Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rbpdf/ChangeLog,v 1.4 2015/07/03 21:50:17 mjo Exp $
31 +
32 +*rbpdf-1.18.6-r1 (03 Jul 2015)
33 +
34 + 03 Jul 2015; Michael Orlitzky <mjo@g.o> +rbpdf-1.18.6-r1.ebuild,
35 + -rbpdf-1.18.6.ebuild:
36 + Revbump to add ruby21 support.
37
38 *rbpdf-1.18.6 (27 Jun 2015)
39
40
41
42
43 1.1 dev-ruby/rbpdf/rbpdf-1.18.6-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rbpdf/rbpdf-1.18.6-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rbpdf/rbpdf-1.18.6-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: rbpdf-1.18.6-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rbpdf/rbpdf-1.18.6-r1.ebuild,v 1.1 2015/07/03 21:50:17 mjo Exp $
53
54 EAPI=5
55
56 # ruby22 support waiting on dev-ruby/action{pack,view}.
57 USE_RUBY="ruby19 ruby20 ruby21"
58
59 # Avoid the complexity of the "rake" recipe and run the tests manually.
60 RUBY_FAKEGEM_RECIPE_TEST=none
61
62 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
63 RUBY_FAKEGEM_EXTRADOC="README.md"
64
65 inherit ruby-fakegem
66
67 DESCRIPTION="Ruby on Rails TCPDF plugin"
68 HOMEPAGE="https://github.com/naitoh/rbpdf"
69
70 LICENSE="LGPL-2.1+"
71 SLOT="0"
72 KEYWORDS="~amd64 ~x86"
73 IUSE="test"
74
75 # Try to pick the right version of minitest. In order to run, the test
76 # suite needs matching versions of actionview and activesupport. The
77 # easiest way to do this is to pull them in simultaneously with
78 # actionpack.
79 ruby_add_bdepend "test? ( || (
80 ( dev-ruby/actionpack:3.2 dev-ruby/minitest:0 )
81 ( dev-ruby/actionpack:4.0 dev-ruby/minitest:0 )
82 ( dev-ruby/actionpack:4.1 dev-ruby/minitest:5 )
83 ( dev-ruby/actionpack:4.2 dev-ruby/minitest:5 )
84 ) )"
85
86 # We need the action_view gem; it was split out of actionpack in 4.1.
87 ruby_add_rdepend "|| (
88 dev-ruby/actionpack:3.2
89 dev-ruby/actionpack:4.0
90 dev-ruby/actionview:*
91 )"
92
93 all_ruby_prepare(){
94 default
95
96 # This test is enabled automagically in the presence of rmagick, and
97 # then fails.
98 rm -f test/rbpdf_image_rmagick_test.rb \
99 || die "failed to remove rmagick tests"
100 }
101
102 each_ruby_test() {
103 local cmd='gem "minitest"'
104 cmd+=' and '
105 cmd+='require "minitest/autorun"'
106 cmd+=' and '
107 cmd+='Dir["test/**/*_test.rb"].each{|f| require f}'
108 ${RUBY} -Ilib:.:test -e "${cmd}" || die "test suite failed"
109 }