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/tidy-ext: ChangeLog tidy-ext-0.1.14-r2.ebuild
Date: Tue, 01 Apr 2014 19:27:47
Message-Id: 20140401192739.BF9882005C@flycatcher.gentoo.org
1 graaff 14/04/01 19:27:39
2
3 Modified: ChangeLog
4 Added: tidy-ext-0.1.14-r2.ebuild
5 Log:
6 Add ruby21. Drop alpha, sparc keywords: bug 465948.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.29 dev-ruby/tidy-ext/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -u -r1.28 -r1.29
23 --- ChangeLog 26 Dec 2013 15:56:22 -0000 1.28
24 +++ ChangeLog 1 Apr 2014 19:27:39 -0000 1.29
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/tidy-ext
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/ChangeLog,v 1.28 2013/12/26 15:56:22 maekke Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/ChangeLog,v 1.29 2014/04/01 19:27:39 graaff Exp $
31 +
32 +*tidy-ext-0.1.14-r2 (01 Apr 2014)
33 +
34 + 01 Apr 2014; Hans de Graaff <graaff@g.o> +tidy-ext-0.1.14-r2.ebuild:
35 + Add ruby21. Drop alpha, sparc keywords: bug 465948.
36
37 26 Dec 2013; Markus Meier <maekke@g.o> tidy-ext-0.1.14.ebuild:
38 arm stable, bug #493780
39
40
41
42 1.1 dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: tidy-ext-0.1.14-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.14-r2.ebuild,v 1.1 2014/04/01 19:27:39 graaff Exp $
52
53 EAPI=5
54 USE_RUBY="ruby19 ruby20 ruby21"
55
56 RUBY_FAKEGEM_DOCDIR="rdoc"
57
58 RUBY_FAKEGEM_RECIPE_TEST="rspec"
59
60 inherit ruby-fakegem eutils
61
62 DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension."
63 HOMEPAGE="http://github.com/carld/tidy"
64
65 LICENSE="HTML-Tidy"
66 SLOT="0"
67 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
68 IUSE=""
69
70 all_ruby_prepare() {
71 mkdir lib || die
72
73 # Remove reference to rspec 1
74 sed -i -e '/spec/d' spec/spec_helper.rb || die
75
76 # Avoid spec that needs network connectivity.
77 rm spec/tidy/remote_uri_spec.rb || die
78 }
79
80 each_ruby_configure() {
81 ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
82 }
83
84 each_ruby_compile() {
85 emake -Cext/tidy V=1
86 cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
87 }