mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
nokogiri: removed, in Gentoo now
This commit is contained in:
parent
bcfab07e0d
commit
0d9dec9bd6
3 changed files with 0 additions and 131 deletions
|
|
@ -1,3 +0,0 @@
|
|||
AUX nokogiri-1.4.4-libxml-2.7.8.patch 729 SHA256 56fbfb502adbb04dc77373a2d7c3708cf7b7cf21f0419f2fc6ff40dc6fa56321 SHA512 a61e9af8a4f94fa90fe07fc1b7348e85baa9da0922e3b55aea33b4c5940fa29cfab0f1e906c382989e23080269bf993771f444074014024cb9414fd166885ebb WHIRLPOOL 375d3fa74410cd783a15e6b7e399822733c14bbe8601e0a79e90aaedf40964700934293ea04b2eb69b81671a44f89368ccaa2b191505ecfad3043eaa8cbc82c5
|
||||
DIST nokogiri-1.6.0.tgz 2030201 SHA256 712c5267f0d575202442be9a994c038e3f62c0768356627bcdc475022299fd42 SHA512 819f348bb20ae2e1baf79660d975353324d894116312fea58cbd4b6dbc0be3e5cdb2eff0ad96b4d8fccbb1a281d130b823b377e86943ba94cc106d61ef02e6fe WHIRLPOOL fd0f905873777923dbe0f4b44bd8eb7ab8a76ddc7818937873ff09eff936a7395dfcf2d129db97096802c262598eff895722a1e5abb68e6b5194b5bb34b5126c
|
||||
EBUILD nokogiri-1.6.0.ebuild 3071 SHA256 c8648257165fd75bf667f678e6f97bf689e1d1bacda0ad222e791f44e2e27cd9 SHA512 56b2c84c90b9f169ae5f60296fe5b1ba7d80fe045e4635c97491288f700f40e3d05b824d4a77fc99e0b4a73d2fa7fdd99963323902b476833093bf9f2f526580 WHIRLPOOL 3ab47aadb0255b4519d9eea5cf748c972a4eca34295993a9c124d0176b85893e081c2decd72ff7812f39a3284ee0a356f55b46f0c190d85ed8e24a3249ce2f0e
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
commit abe249425bef0356f54408b89c9f376c62862e87
|
||||
Author: Mike Dalessio <mike@csa.net>
|
||||
Date: Wed Dec 8 10:23:52 2010 -0500
|
||||
|
||||
hey now. this test was failing for LIBXML > 2.7.7. sigh.
|
||||
|
||||
diff --git a/test/html/test_element_description.rb b/test/html/test_element_description.rb
|
||||
index 2111cde..cfa9ca6 100644
|
||||
--- a/test/html/test_element_description.rb
|
||||
+++ b/test/html/test_element_description.rb
|
||||
@@ -56,7 +56,7 @@ module Nokogiri
|
||||
|
||||
def test_subelements
|
||||
sub_elements = ElementDescription['body'].sub_elements
|
||||
- if Nokogiri::LIBXML_VERSION == '2.7.7'
|
||||
+ if Nokogiri::LIBXML_VERSION >= '2.7.7'
|
||||
assert_equal 65, sub_elements.length
|
||||
else
|
||||
assert_equal 61, sub_elements.length
|
||||
|
|
@ -1,109 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.5.5.ebuild,v 1.7 2013/01/16 01:10:42 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc ROADMAP.md STANDARD_RESPONSES.md"
|
||||
|
||||
inherit ruby-fakegem eutils multilib
|
||||
|
||||
DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser."
|
||||
HOMEPAGE="http://nokogiri.rubyforge.org/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="https://github.com/sparklemotion/nokogiri/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="sparklemotion-nokogiri-*"
|
||||
|
||||
KEYWORDS="alpha ~arm amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
|
||||
# The tests require _minitest_, not the virtual; what is shipped with
|
||||
# Ruby 1.9 is *not* enough, unfortunately
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/rexical
|
||||
dev-ruby/hoe
|
||||
dev-ruby/rdoc
|
||||
dev-ruby/racc
|
||||
dev-ruby/mini_portile:0.5
|
||||
test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e '/tasks\/cross_compile/s:^:#:' \
|
||||
-e '/:test.*prerequisites/s:^:#:' \
|
||||
Rakefile || die
|
||||
# Remove the cross compilation options since they interfere with
|
||||
# native building.
|
||||
sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
|
||||
sed -i -e '/cross_config_options/d' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Avoid failing tests:
|
||||
# https://github.com/sparklemotion/nokogiri/issues/721
|
||||
rm test/xslt/test_exception_handling.rb test/test_xslt_transforms.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
${RUBY} -Cext/${PN} extconf.rb \
|
||||
--with-zlib-include="${EPREFIX}"/usr/include \
|
||||
--with-zlib-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-iconv-include="${EPREFIX}"/usr/include \
|
||||
--with-iconv-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
|
||||
--with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-xslt-dir="${EPREFIX}"/usr \
|
||||
--with-iconvlib=iconv \
|
||||
|| die "extconf.rb failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
${RUBY} -S rake compile || die
|
||||
;;
|
||||
*)
|
||||
if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
|
||||
fi
|
||||
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
emake -Cext/${PN} \
|
||||
CFLAGS="${CFLAGS} -fPIC" \
|
||||
archflag="${LDFLAGS}" || die "make extension failed"
|
||||
cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
Loading…
Reference in a new issue