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: Fri, 26 Nov 2021 08:17:11
Message-Id: 1637914617.d33e76724b97121a8e10fcaa834249f5b6ddc5e7.graaff@gentoo
1 commit: d33e76724b97121a8e10fcaa834249f5b6ddc5e7
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 26 08:10:56 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 26 08:16:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33e7672
7
8 dev-ruby/tidy-ext: cleanup
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 40 -----------------------------
14 1 file changed, 40 deletions(-)
15
16 diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
17 deleted file mode 100644
18 index f2ea49a8091e..000000000000
19 --- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild
20 +++ /dev/null
21 @@ -1,40 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
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 ~arm64 ~hppa ppc ppc64 ~sparc x86"
40 -IUSE=""
41 -
42 -RUBY_PATCHES=( 11CVE-2015-5522.patch )
43 -
44 -all_ruby_prepare() {
45 - mkdir lib || die
46 -
47 - # Remove reference to rspec 1
48 - sed -i -e '/spec/d' spec/spec_helper.rb || die
49 -
50 - # Avoid spec that needs network connectivity.
51 - rm spec/tidy/remote_uri_spec.rb || die
52 -}
53 -
54 -each_ruby_configure() {
55 - ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
56 -}
57 -
58 -each_ruby_compile() {
59 - emake -Cext/tidy V=1
60 - cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
61 -}