diff options
author | David Seifert <soap@gentoo.org> | 2023-04-30 12:06:09 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-04-30 12:06:09 +0200 |
commit | 1238100dfe7a4971438ea00550e9df0a33707cf3 (patch) | |
tree | 6bdee3945a4074225ba93627032777c56e62a7f0 /dev-ruby | |
parent | app-admin/ec2-ami-tools: treeclean (diff) | |
download | gentoo-1238100dfe7a4971438ea00550e9df0a33707cf3.tar.gz gentoo-1238100dfe7a4971438ea00550e9df0a33707cf3.tar.bz2 gentoo-1238100dfe7a4971438ea00550e9df0a33707cf3.zip |
dev-ruby/hpricot: treeclean
Closes: https://bugs.gentoo.org/442308
Closes: https://bugs.gentoo.org/584906
Closes: https://bugs.gentoo.org/619386
Closes: https://bugs.gentoo.org/827934
Closes: https://bugs.gentoo.org/884257
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/hpricot/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/hpricot/files/hpricot-0.8.6-fast_xs.patch | 24 | ||||
-rw-r--r-- | dev-ruby/hpricot/hpricot-0.8.6-r6.ebuild | 57 | ||||
-rw-r--r-- | dev-ruby/hpricot/metadata.xml | 8 |
4 files changed, 0 insertions, 90 deletions
diff --git a/dev-ruby/hpricot/Manifest b/dev-ruby/hpricot/Manifest deleted file mode 100644 index e2a1747d7308..000000000000 --- a/dev-ruby/hpricot/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST hpricot-0.8.6.gem 293888 BLAKE2B 5c054c6fcd5c3365dbf44f3c502bc4c1c3885f4aa43fd1fd15365aea19600ef0ef48157c39ef1709386bda0bc3fb6bba6d98862e8e28bdb5c173429969ef5ab9 SHA512 f0ea9168ae79d099cdb751dd5a205e0896dfb229759e499fff833e94209d1497aa97becb285176dcbcc1fee19bc11913ca3ac0d7a467067e5d837c1eb6e310ad diff --git a/dev-ruby/hpricot/files/hpricot-0.8.6-fast_xs.patch b/dev-ruby/hpricot/files/hpricot-0.8.6-fast_xs.patch deleted file mode 100644 index 0b16b6c61b93..000000000000 --- a/dev-ruby/hpricot/files/hpricot-0.8.6-fast_xs.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: hpricot-0.8.6/metadata -=================================================================== ---- hpricot-0.8.6.orig/metadata -+++ hpricot-0.8.6/metadata -@@ -16,7 +16,18 @@ bindir: bin - cert_chain: [] - - date: 2012-01-17 00:00:00 Z --dependencies: [] -+dependencies: -+- !ruby/object:Gem::Dependency -+ name: fast_xs -+ prerelease: false -+ requirement: &id003 !ruby/object:Gem::Requirement -+ none: false -+ requirements: -+ - - ">=" -+ - !ruby/object:Gem::Version -+ version: 0.7.3 -+ type: :runtime -+ version_requirements: *id003 - - description: a swift, liberal HTML parser with a fantastic library - email: why@ruby-lang.org diff --git a/dev-ruby/hpricot/hpricot-0.8.6-r6.ebuild b/dev-ruby/hpricot/hpricot-0.8.6-r6.ebuild deleted file mode 100644 index faae50028ebc..000000000000 --- a/dev-ruby/hpricot/hpricot-0.8.6-r6.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" - -RUBY_FAKEGEM_EXTENSIONS=(ext/hpricot_scan/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="A fast and liberal HTML parser for Ruby" -HOMEPAGE="https://github.com/hpricot/hpricot" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_bdepend "dev-ruby/rake - dev-ruby/rdoc - dev-ruby/rake-compiler" - -ruby_add_rdepend "dev-ruby/fast_xs" - -# Probably needs the same jdk as JRuby but I'm not sure how to express -# that just yet. -DEPEND+=" dev-util/ragel" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die - - # Fix encoding assumption of environment for Ruby 1.9. - # https://github.com/hpricot/hpricot/issues/52 - # sed -i -e '1 iEncoding.default_external=Encoding::UTF_8 if RUBY_VERSION =~ /1.9/' test/load_files.rb || die - - # Avoid unneeded dependency on git. - sed -i -e '/^REV/ s/.*/REV = "6"/' Rakefile || die - - # Fix int size warning - sed -i -e 's/te - ts/(int)(te - ts)/' ext/hpricot_scan/hpricot_css.rl || die -} - -each_ruby_prepare() { - pushd .. &>/dev/null - eapply "${FILESDIR}"/${P}-fast_xs.patch - popd .. &>/dev/null -} - -each_ruby_compile() { - ${RUBY} -S rake ragel || die - - each_fakegem_compile -} diff --git a/dev-ruby/hpricot/metadata.xml b/dev-ruby/hpricot/metadata.xml deleted file mode 100644 index 658c72b1920d..000000000000 --- a/dev-ruby/hpricot/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> -</maintainer> -</pkgmetadata> |