Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/sinatra: ChangeLog sinatra-1.4.4.ebuild
Date: Thu, 21 Nov 2013 07:32:23
Message-Id: 20131121073219.EEDB02004E@flycatcher.gentoo.org
1 graaff 13/11/21 07:32:19
2
3 Modified: ChangeLog
4 Added: sinatra-1.4.4.ebuild
5 Log:
6 Version bump. Add ruby20.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.45 dev-ruby/sinatra/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sinatra/ChangeLog?rev=1.45&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sinatra/ChangeLog?rev=1.45&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sinatra/ChangeLog?r1=1.44&r2=1.45
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/sinatra/ChangeLog,v
20 retrieving revision 1.44
21 retrieving revision 1.45
22 diff -u -r1.44 -r1.45
23 --- ChangeLog 17 Aug 2013 06:26:23 -0000 1.44
24 +++ ChangeLog 21 Nov 2013 07:32:19 -0000 1.45
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/sinatra
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sinatra/ChangeLog,v 1.44 2013/08/17 06:26:23 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sinatra/ChangeLog,v 1.45 2013/11/21 07:32:19 graaff Exp $
30 +
31 +*sinatra-1.4.4 (21 Nov 2013)
32 +
33 + 21 Nov 2013; Hans de Graaff <graaff@g.o> +sinatra-1.4.4.ebuild,
34 + +files/sinatra-1.4.4-fix-tests.patch:
35 + Version bump. Add ruby20.
36
37 *sinatra-1.4.3 (17 Aug 2013)
38
39
40
41
42 1.1 dev-ruby/sinatra/sinatra-1.4.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sinatra/sinatra-1.4.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/sinatra/sinatra-1.4.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sinatra-1.4.4.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sinatra/sinatra-1.4.4.ebuild,v 1.1 2013/11/21 07:32:19 graaff Exp $
52
53 EAPI=5
54 USE_RUBY="ruby18 ruby19 ruby20"
55
56 # no documentation is generable, it needs hanna, which is broken
57 RUBY_FAKEGEM_TASK_DOC=""
58
59 RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CHANGES"
60
61 inherit ruby-fakegem
62
63 DESCRIPTION="Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort."
64 HOMEPAGE="http://www.sinatrarb.com/"
65
66 LICENSE="MIT"
67 SLOT="0"
68 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
69 IUSE=""
70
71 RUBY_PATCHES=( "${P}"-fix-tests.patch )
72
73 ruby_add_rdepend "=dev-ruby/rack-1* >=dev-ruby/rack-1.4
74 >=dev-ruby/rack-protection-1.4:1
75 =dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.4"
76 ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder )"
77
78 # haml tests are optional and not yet marked for ruby20.
79 USE_RUBY="ruby18 ruby19" ruby_add_bdepend "test? ( >=dev-ruby/haml-3.0 )"
80
81 all_ruby_prepare() {
82 # Remove slim tests since only version 1.x is supported and we only
83 # have version 2.x
84 rm test/slim_test.rb || die
85
86 # Remove markdown tests since these fail due to encoding issues. Not
87 # clear where the actual problem is.
88 rm test/markdown_test.rb || die
89
90 # Remove implicit build dependency on git.
91 sed -i -e '/\(s.files\|s.test_files\|s.extra_rdoc_files\)/d' sinatra.gemspec || die
92 }