From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-ruby/nokogiri/Manifest | 3 + dev-ruby/nokogiri/metadata.xml | 8 +++ dev-ruby/nokogiri/nokogiri-1.6.4.1.ebuild | 82 ++++++++++++++++++++++++++ dev-ruby/nokogiri/nokogiri-1.6.5-r1.ebuild | 92 ++++++++++++++++++++++++++++++ dev-ruby/nokogiri/nokogiri-1.6.5.ebuild | 82 ++++++++++++++++++++++++++ dev-ruby/nokogiri/nokogiri-1.6.6.2.ebuild | 92 ++++++++++++++++++++++++++++++ 6 files changed, 359 insertions(+) create mode 100644 dev-ruby/nokogiri/Manifest create mode 100644 dev-ruby/nokogiri/metadata.xml create mode 100644 dev-ruby/nokogiri/nokogiri-1.6.4.1.ebuild create mode 100644 dev-ruby/nokogiri/nokogiri-1.6.5-r1.ebuild create mode 100644 dev-ruby/nokogiri/nokogiri-1.6.5.ebuild create mode 100644 dev-ruby/nokogiri/nokogiri-1.6.6.2.ebuild (limited to 'dev-ruby/nokogiri') diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest new file mode 100644 index 000000000000..fb6b5161bb58 --- /dev/null +++ b/dev-ruby/nokogiri/Manifest @@ -0,0 +1,3 @@ +DIST nokogiri-1.6.4.1-git.tgz 2251386 SHA256 5a326466d5bcd1b197c26d933f8ae5b4343c0b97b59f6859820d9987ca87a2e6 SHA512 e73577cd16cc05ab6368b8ccdb5e5e239e1360385c1cdd8027a7c4fea9072bafdc203d14bd89989274fd2fe9b9392fb77d6d22b5dbffe12ba9ee11e4f01ee0ae WHIRLPOOL cec01495d64f5f05c5eb1d25cf5d8026481b7ce36a2866627eac4ab5f948bd81b1e0e52e89da6d387206b292084f2931b5c8ec6c651e5231e987e980978804b1 +DIST nokogiri-1.6.5-git.tgz 2252955 SHA256 7df072192f441fa18e0ae3dd3eac8e4b3e5e8e0b685240a235e6c9d57162ff11 SHA512 d23584651081ede05e0395b67a1e8e5cf7cf6270a6846d3f9417af5763f690e64d7eae0ea7c579387428eacf292730165b95514fcf0a6eea6f5677c2b9a7e3bb WHIRLPOOL 958528a09197d99439d88c0a2ad3001dab747ee7c77799a91edff5734010cd8d349d2ad4a9287cee463498253d2d1157a10d0d0eb0f7f2c16d6d996dc0d28c2b +DIST nokogiri-1.6.6.2-git.tgz 2258820 SHA256 32358b52936f1e2de0136130d3f43ea7e8d6c6f417265e21dc7e7d8572aff5b6 SHA512 6335c8e584c6b13a5cc9353b348b6df65f3e84392628b3ff458279bb03253e0f773f4557bac701872842761b1656a23d520a8446b83fcbc30efa29109fb2fec5 WHIRLPOOL c488a97872c560be4f366a1fb6cc8da08e025af3da19cd5083fb6bc9ce31127a021bd8ebb4a203172a799dfe5f29cb8c96da86e6165fe50e10a3e73f9e899632 diff --git a/dev-ruby/nokogiri/metadata.xml b/dev-ruby/nokogiri/metadata.xml new file mode 100644 index 000000000000..ac1c602a3030 --- /dev/null +++ b/dev-ruby/nokogiri/metadata.xml @@ -0,0 +1,8 @@ + + + + ruby + + sparklemotion/nokogiri + + diff --git a/dev-ruby/nokogiri/nokogiri-1.6.4.1.ebuild b/dev-ruby/nokogiri/nokogiri-1.6.4.1.ebuild new file mode 100644 index 000000000000..65ce3ef8237b --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.6.4.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 ruby20" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="alpha amd64 arm 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-2.9.2:= + dev-libs/libxslt + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.9.2 + dev-libs/libxslt + virtual/libiconv" + +# The tests require _minitest_, not the virtual; what is shipped with +# Ruby 1.9 is *not* enough, unfortunately +ruby_add_bdepend " + dev-ruby/hoe + dev-ruby/rake-compiler + dev-ruby/rexical + dev-ruby/rdoc + dev-ruby/racc + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ 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_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${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" +} + +each_ruby_compile() { + 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} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" || die "make extension failed" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} diff --git a/dev-ruby/nokogiri/nokogiri-1.6.5-r1.ebuild b/dev-ruby/nokogiri/nokogiri-1.6.5-r1.ebuild new file mode 100644 index 000000000000..6e7ec2408a09 --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.6.5-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc ROADMAP.md STANDARD_RESPONSES.md" + +RUBY_FAKEGEM_EXTRAINSTALL="ext" + +inherit ruby-fakegem eutils multilib + +DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" +HOMEPAGE="http://nokogiri.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~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-2.9.2:= + dev-libs/libxslt + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.9.2 + dev-libs/libxslt + virtual/libiconv" + +# The tests require _minitest_, not the virtual; what is shipped with +# Ruby 1.9 is *not* enough, unfortunately +ruby_add_bdepend " + dev-ruby/hoe + dev-ruby/rake-compiler + dev-ruby/rexical + dev-ruby/rdoc + dev-ruby/racc + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ 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_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${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" +} + +each_ruby_compile() { + 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} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" || die "make extension failed" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_install() { + # Clean up "ext" directory before installing it. nokogumbo expects + # the header files and shared object to be in ext. + rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die + + each_fakegem_install +} diff --git a/dev-ruby/nokogiri/nokogiri-1.6.5.ebuild b/dev-ruby/nokogiri/nokogiri-1.6.5.ebuild new file mode 100644 index 000000000000..9f979cba94bf --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.6.5.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~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-2.9.2:= + dev-libs/libxslt + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.9.2 + dev-libs/libxslt + virtual/libiconv" + +# The tests require _minitest_, not the virtual; what is shipped with +# Ruby 1.9 is *not* enough, unfortunately +ruby_add_bdepend " + dev-ruby/hoe + dev-ruby/rake-compiler + dev-ruby/rexical + dev-ruby/rdoc + dev-ruby/racc + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ 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_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${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" +} + +each_ruby_compile() { + 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} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" || die "make extension failed" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} diff --git a/dev-ruby/nokogiri/nokogiri-1.6.6.2.ebuild b/dev-ruby/nokogiri/nokogiri-1.6.6.2.ebuild new file mode 100644 index 000000000000..c3f90e165ae5 --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.6.6.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc ROADMAP.md STANDARD_RESPONSES.md" + +RUBY_FAKEGEM_EXTRAINSTALL="ext" + +inherit ruby-fakegem eutils multilib + +DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" +HOMEPAGE="http://nokogiri.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~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-2.9.2:= + dev-libs/libxslt + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.9.2 + dev-libs/libxslt + virtual/libiconv" + +# The tests require _minitest_, not the virtual; what is shipped with +# Ruby 1.9 is *not* enough, unfortunately +ruby_add_bdepend " + dev-ruby/hoe + dev-ruby/rake-compiler + dev-ruby/rexical + dev-ruby/rdoc + dev-ruby/racc + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ 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_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${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" +} + +each_ruby_compile() { + 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} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" || die "make extension failed" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_install() { + # Clean up "ext" directory before installing it. nokogumbo expects + # the header files and shared object to be in ext. + rm -rf ext/java ext/nokogiri/*.o ext/nokogiri/{mkmf.log,Makefile} || die + + each_fakegem_install +} -- cgit v1.2.3-65-gdbad