Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/
Date: Sat, 09 Jul 2016 05:29:25
Message-Id: 1468042120.3bdaa123013b6114a2a632c616cc5203d73f7b66.graaff@gentoo
1 commit: 3bdaa123013b6114a2a632c616cc5203d73f7b66
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 9 05:01:13 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 9 05:28:40 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bdaa123
7
8 dev-ruby/tidy-ext: cleanup
9
10 Package-Manager: portage-2.2.28
11
12 dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild | 39 -----------------------------
13 1 file changed, 39 deletions(-)
14
15 diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild
16 deleted file mode 100644
17 index 5bcf4d8..0000000
18 --- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r1.ebuild
19 +++ /dev/null
20 @@ -1,39 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -USE_RUBY="ruby20"
27 -
28 -RUBY_FAKEGEM_DOCDIR="rdoc"
29 -
30 -RUBY_FAKEGEM_RECIPE_TEST="rspec"
31 -
32 -inherit ruby-fakegem eutils
33 -
34 -DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
35 -HOMEPAGE="https://github.com/carld/tidy"
36 -
37 -LICENSE="HTML-Tidy"
38 -SLOT="0"
39 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
40 -IUSE=""
41 -
42 -all_ruby_prepare() {
43 - mkdir lib || die
44 -
45 - # Remove reference to rspec 1
46 - sed -i -e '/spec/d' spec/spec_helper.rb || die
47 -
48 - # Avoid spec that needs network connectivity.
49 - rm spec/tidy/remote_uri_spec.rb || die
50 -}
51 -
52 -each_ruby_configure() {
53 - ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
54 -}
55 -
56 -each_ruby_compile() {
57 - emake -Cext/tidy V=1
58 - cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
59 -}