diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-26 09:10:56 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-26 09:16:57 +0100 |
commit | d33e76724b97121a8e10fcaa834249f5b6ddc5e7 (patch) | |
tree | 0d059d9c72f023e8c4a14db9a9e9299bf35af10f /dev-ruby | |
parent | dev-ruby/totoridipjp: cleanup (diff) | |
download | gentoo-d33e76724b97121a8e10fcaa834249f5b6ddc5e7.tar.gz gentoo-d33e76724b97121a8e10fcaa834249f5b6ddc5e7.tar.bz2 gentoo-d33e76724b97121a8e10fcaa834249f5b6ddc5e7.zip |
dev-ruby/tidy-ext: cleanup
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild | 40 |
1 files changed, 0 insertions, 40 deletions
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 deleted file mode 100644 index f2ea49a8091e..000000000000 --- a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_DOCDIR="rdoc" - -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -inherit ruby-fakegem eutils - -DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension" -HOMEPAGE="https://github.com/carld/tidy" - -LICENSE="HTML-Tidy" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86" -IUSE="" - -RUBY_PATCHES=( 11CVE-2015-5522.patch ) - -all_ruby_prepare() { - mkdir lib || die - - # Remove reference to rspec 1 - sed -i -e '/spec/d' spec/spec_helper.rb || die - - # Avoid spec that needs network connectivity. - rm spec/tidy/remote_uri_spec.rb || die -} - -each_ruby_configure() { - ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension." -} - -each_ruby_compile() { - emake -Cext/tidy V=1 - cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension." -} |