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: metadata.xml ChangeLog tidy-ext-0.1.10.ebuild |
Date: | Tue, 25 Jan 2011 06:50:59 |
Message-Id: | 20110125065049.65EB220054@flycatcher.gentoo.org |
1 | graaff 11/01/25 06:50:49 |
2 | |
3 | Added: metadata.xml ChangeLog tidy-ext-0.1.10.ebuild |
4 | Log: |
5 | Initial import. New dependency for forthcoming dev-ruby/bluecloth versions. |
6 | |
7 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ruby/tidy-ext/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>ruby</herd> |
21 | </pkgmetadata> |
22 | |
23 | |
24 | |
25 | 1.1 dev-ruby/tidy-ext/ChangeLog |
26 | |
27 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/ChangeLog?rev=1.1&view=markup |
28 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/ChangeLog?rev=1.1&content-type=text/plain |
29 | |
30 | Index: ChangeLog |
31 | =================================================================== |
32 | # ChangeLog for dev-ruby/tidy-ext |
33 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
34 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/ChangeLog,v 1.1 2011/01/25 06:50:49 graaff Exp $ |
35 | |
36 | *tidy-ext-0.1.10 (25 Jan 2011) |
37 | |
38 | 25 Jan 2011; Hans de Graaff <graaff@g.o> +tidy-ext-0.1.10.ebuild, |
39 | +metadata.xml: |
40 | Initial import. New dependency for forthcoming dev-ruby/bluecloth |
41 | versions. |
42 | |
43 | |
44 | |
45 | |
46 | 1.1 dev-ruby/tidy-ext/tidy-ext-0.1.10.ebuild |
47 | |
48 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.10.ebuild?rev=1.1&view=markup |
49 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.10.ebuild?rev=1.1&content-type=text/plain |
50 | |
51 | Index: tidy-ext-0.1.10.ebuild |
52 | =================================================================== |
53 | # Copyright 1999-2011 Gentoo Foundation |
54 | # Distributed under the terms of the GNU General Public License v2 |
55 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.10.ebuild,v 1.1 2011/01/25 06:50:49 graaff Exp $ |
56 | |
57 | EAPI=2 |
58 | USE_RUBY="ruby18 ree18" |
59 | |
60 | RUBY_FAKEGEM_DOCDIR="rdoc" |
61 | |
62 | RUBY_FAKEGEM_TASK_TEST="spec" |
63 | |
64 | inherit ruby-fakegem eutils |
65 | |
66 | DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension." |
67 | HOMEPAGE="http://github.com/carld/tidy" |
68 | |
69 | LICENSE="HTML-Tidy" |
70 | SLOT="0" |
71 | KEYWORDS="~amd64" |
72 | IUSE="" |
73 | |
74 | each_ruby_prepare() { |
75 | mkdir lib || die |
76 | |
77 | sed -i -e '/check_dependencies/d' Rakefile || 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 || die |
86 | cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension." |
87 | } |