public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nokogiri/
Date: Tue,  5 Jan 2021 06:29:01 +0000 (UTC)	[thread overview]
Message-ID: <1609828127.c0e4849bb6896cedf44d5bcae8cd1a07c7cf21ec.graaff@gentoo> (raw)

commit:     c0e4849bb6896cedf44d5bcae8cd1a07c7cf21ec
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  5 06:28:47 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Jan  5 06:28:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e4849b

dev-ruby/nokogiri: add 1.11.0

Closes: https://bugs.gentoo.org/705334
Closes: https://bugs.gentoo.org/762685
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/nokogiri/Manifest               |  1 +
 dev-ruby/nokogiri/nokogiri-1.11.0.ebuild | 98 ++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest
index c1fdc88a179..a823bd5db44 100644
--- a/dev-ruby/nokogiri/Manifest
+++ b/dev-ruby/nokogiri/Manifest
@@ -1 +1,2 @@
 DIST nokogiri-1.10.10-git.tgz 5793723 BLAKE2B 13829f6cc31c2b81462fdf306222ff27830d80aeea922ce4c3adceee4ce7486c0571ab76b3f07b14f1767af7b433af9e0eb83d02f8bcea989fa7e96c9cc743f3 SHA512 2d0bf09af417f0f5e7b07b9f2c555ce04e22d69ce73b484906d8a35745f90d6467824d0d56d8dadc53f020c56a7806e7152cd6347e47596e79ddaaadea1ff65a
+DIST nokogiri-1.11.0-git.tgz 5834946 BLAKE2B 3d54b8a998d56c66d97b7376031aebb0951df7f99c684e67537107a5e7fd0cb76b40c5351b8c46831eaf1427724e302d29a0a9b24bf806f64c541f2c30d54f66 SHA512 2cc5642d28e5a83023d0d3e031875dfbcde176995ed458be13bbe560f01552fee0424093bd7bd881c08a698f545874389d92581e987466bbf57f13deefe1e8a4

diff --git a/dev-ruby/nokogiri/nokogiri-1.11.0.ebuild b/dev-ruby/nokogiri/nokogiri-1.11.0.ebuild
new file mode 100644
index 00000000000..e8ae3013df6
--- /dev/null
+++ b/dev-ruby/nokogiri/nokogiri-1.11.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md STANDARD_RESPONSES.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="ext"
+
+RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec"
+
+inherit ruby-fakegem multilib
+
+DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
+HOMEPAGE="https://www.nokogiri.org/"
+LICENSE="MIT"
+SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~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.10:=
+	>=dev-libs/libxslt-1.1.34
+	virtual/libiconv"
+DEPEND="${DEPEND}
+	>=dev-libs/libxml2-2.9.10
+	>=dev-libs/libxslt-1.1.34
+	virtual/libiconv"
+
+ruby_add_rdepend ">=dev-ruby/racc-1.4:0"
+
+ruby_add_bdepend "
+	>=dev-ruby/pkg-config-1.1.7
+	>=dev-ruby/rexical-1.0.7
+	dev-ruby/rdoc
+	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
+
+	sed -e '/simplecov/,/^end/ s:^:#:' \
+		-e '/reporters/I s:^:#:' \
+		-i test/helper.rb || 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_test() {
+	${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || 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
+}


             reply	other threads:[~2021-01-05  6:29 UTC|newest]

Thread overview: 248+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-05  6:29 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-14  4:35 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nokogiri/ Sam James
2024-11-14  3:49 Sam James
2024-11-14  3:49 Sam James
2024-11-14  3:21 Sam James
2024-11-14  3:21 Sam James
2024-11-11  7:44 Hans de Graaff
2024-10-31 22:32 Andreas K. Hüttel
2024-07-20 12:50 Arthur Zamarin
2024-07-20 11:18 Arthur Zamarin
2024-07-20 11:14 Arthur Zamarin
2024-07-20 11:14 Arthur Zamarin
2024-07-20  8:14 Arthur Zamarin
2024-07-20  7:57 Arthur Zamarin
2024-07-20  7:57 Arthur Zamarin
2024-07-20  7:18 Hans de Graaff
2024-06-26  5:59 Hans de Graaff
2024-05-16  5:21 Hans de Graaff
2024-04-12  9:19 Hans de Graaff
2024-03-17  6:46 Hans de Graaff
2024-03-17  6:46 Hans de Graaff
2024-02-05  7:21 Hans de Graaff
2024-02-04  8:12 Hans de Graaff
2024-01-28  9:49 Hans de Graaff
2023-12-28  9:33 Hans de Graaff
2023-12-02  9:03 Hans de Graaff
2023-11-18  8:09 Hans de Graaff
2023-08-16  2:20 Sam James
2023-08-15  5:20 Sam James
2023-08-15  5:18 Sam James
2023-08-15  5:18 Sam James
2023-08-15  5:18 Sam James
2023-08-15  5:18 Sam James
2023-08-15  5:18 Sam James
2023-08-12  7:21 Hans de Graaff
2023-08-12  7:21 Hans de Graaff
2023-07-14  5:46 Arthur Zamarin
2023-07-06  4:53 Hans de Graaff
2023-06-12  2:27 Sam James
2023-06-04 11:09 Fabian Groffen
2023-05-20  9:21 Sam James
2023-05-12  5:52 Hans de Graaff
2023-05-10 22:01 Sam James
2023-05-10 20:10 Sam James
2023-04-30  8:50 Hans de Graaff
2023-04-30  8:50 Hans de Graaff
2023-04-12  7:27 Hans de Graaff
2023-03-29  1:29 Sam James
2023-03-29  0:46 Sam James
2023-03-29  0:16 Sam James
2023-03-29  0:11 Sam James
2023-03-28 23:54 Sam James
2023-03-28 23:38 Sam James
2023-03-28 23:21 Sam James
2023-03-28 22:56 Sam James
2023-03-28 22:54 Sam James
2023-03-10  9:00 Arthur Zamarin
2023-03-07  3:46 WANG Xuerui
2023-03-05  8:42 Hans de Graaff
2023-02-14  6:56 Hans de Graaff
2023-02-02  6:22 Hans de Graaff
2023-02-02  6:22 Hans de Graaff
2023-01-13  8:28 Hans de Graaff
2022-12-11 21:16 Sam James
2022-12-11 12:53 Sam James
2022-12-11 12:53 Sam James
2022-12-11 12:53 Sam James
2022-12-11 12:53 Sam James
2022-12-11 12:35 Sam James
2022-12-11 12:35 Sam James
2022-12-11 10:29 Hans de Graaff
2022-12-08  7:30 Hans de Graaff
2022-10-19  5:45 Hans de Graaff
2022-07-24  7:38 Hans de Graaff
2022-07-14  6:19 Hans de Graaff
2022-05-28  5:42 Hans de Graaff
2022-05-27 13:33 Jakov Smolić
2022-05-27  7:05 Agostino Sarubbo
2022-05-27  7:04 Agostino Sarubbo
2022-05-27  7:01 Agostino Sarubbo
2022-05-27  6:59 Agostino Sarubbo
2022-05-27  6:54 Agostino Sarubbo
2022-05-26 11:16 Jakov Smolić
2022-05-22  6:09 Hans de Graaff
2022-05-09  4:47 Hans de Graaff
2022-05-05  5:50 Hans de Graaff
2022-05-05  5:50 Hans de Graaff
2022-04-15  7:26 Arthur Zamarin
2022-04-15  6:36 Arthur Zamarin
2022-04-14  8:12 Agostino Sarubbo
2022-04-14  8:11 Agostino Sarubbo
2022-04-14  8:09 Agostino Sarubbo
2022-04-14  8:08 Agostino Sarubbo
2022-04-13  9:32 Jakov Smolić
2022-04-12  5:45 Hans de Graaff
2022-04-12  5:45 Hans de Graaff
2022-03-27  7:13 Hans de Graaff
2022-03-27  7:13 Hans de Graaff
2022-02-22  8:17 Hans de Graaff
2022-02-12 15:21 Sam James
2022-01-15  6:29 Hans de Graaff
2022-01-09 10:34 Hans de Graaff
2021-12-31 20:07 Matt Turner
2021-12-13  7:09 Agostino Sarubbo
2021-12-13  7:02 Agostino Sarubbo
2021-12-13  6:57 Agostino Sarubbo
2021-12-12  1:52 Sam James
2021-12-12  1:51 Sam James
2021-12-11 19:10 Arthur Zamarin
2021-10-26  6:38 Sam James
2021-10-11  1:20 Sam James
2021-10-10 23:45 Sam James
2021-10-10 20:43 Sam James
2021-10-10 20:38 Sam James
2021-10-10  0:09 Sam James
2021-10-09 20:19 Sam James
2021-10-08 10:49 Hans de Graaff
2021-10-07 22:20 Marek Szuba
2021-10-04 22:58 Sam James
2021-10-04  1:21 Sam James
2021-10-03 17:52 Agostino Sarubbo
2021-10-03  6:03 Hans de Graaff
2021-10-03  5:18 Agostino Sarubbo
2021-10-02 23:01 Sam James
2021-10-02 19:23 Sam James
2021-10-02  7:22 Sam James
2021-10-02  7:22 Sam James
2021-08-02 21:48 Marek Szuba
2021-06-04  6:05 Hans de Graaff
2021-05-28  5:29 Hans de Graaff
2021-05-28  5:29 Hans de Graaff
2021-05-20  4:35 Hans de Graaff
2021-05-17  8:53 Agostino Sarubbo
2021-05-17  7:49 Agostino Sarubbo
2021-05-17  7:47 Agostino Sarubbo
2021-05-17  2:02 Sam James
2021-05-16 23:44 Sam James
2021-05-16  0:20 Sam James
2021-05-15  5:32 Hans de Graaff
2021-05-15  5:32 Hans de Graaff
2021-04-08  6:07 Hans de Graaff
2021-03-12  7:31 Hans de Graaff
2021-03-09  6:51 Hans de Graaff
2021-02-21 10:45 Hans de Graaff
2021-02-18  8:27 Sam James
2021-02-16 20:36 Sam James
2021-02-13 17:57 Sam James
2021-02-11  7:45 Sergei Trofimovich
2021-02-09 14:11 Sergei Trofimovich
2021-02-09  6:15 Sam James
2021-02-08 17:26 Sam James
2021-02-08 17:25 Sam James
2021-02-07 16:18 Hans de Graaff
2021-01-10  8:33 Hans de Graaff
2021-01-10  8:33 Hans de Graaff
2021-01-06  6:21 Hans de Graaff
2021-01-05  6:29 Hans de Graaff
2020-12-13 23:23 Sam James
2020-09-20 16:44 Thomas Deutschmann
2020-09-18 22:46 Sergei Trofimovich
2020-09-18  7:54 Agostino Sarubbo
2020-09-18  7:45 Agostino Sarubbo
2020-09-18  7:29 Agostino Sarubbo
2020-09-14 16:34 Sergei Trofimovich
2020-08-16  7:04 Hans de Graaff
2020-08-15  6:19 Hans de Graaff
2020-01-12  6:47 Hans de Graaff
2019-12-06  6:21 Hans de Graaff
2019-12-05 22:15 Sergei Trofimovich
2019-11-11 19:12 Hans de Graaff
2019-09-01 18:18 Mikle Kolyada
2019-09-01 18:18 Mikle Kolyada
2019-08-14  7:34 Agostino Sarubbo
2019-08-14  5:15 Hans de Graaff
2019-08-13 14:54 Agostino Sarubbo
2019-08-13 14:53 Agostino Sarubbo
2019-08-13 13:14 Agostino Sarubbo
2019-08-13 13:13 Agostino Sarubbo
2019-08-13  9:17 Agostino Sarubbo
2019-08-12  7:09 Hans de Graaff
2019-08-12  7:02 Hans de Graaff
2019-05-14  5:33 Hans de Graaff
2019-05-13 17:20 Hans de Graaff
2019-05-13 17:16 Mikle Kolyada
2019-05-02 21:41 Mikle Kolyada
2019-04-17 11:41 Mikle Kolyada
2019-04-07 21:34 Sergei Trofimovich
2019-04-07 21:16 Sergei Trofimovich
2019-04-07 21:00 Sergei Trofimovich
2019-04-07 20:52 Sergei Trofimovich
2019-04-02  4:11 Hans de Graaff
2019-04-02  1:37 Thomas Deutschmann
2019-03-31 20:30 Sergei Trofimovich
2019-03-30 19:50 Mikle Kolyada
2019-03-30  9:37 Hans de Graaff
2018-12-31 15:18 Hans de Graaff
2018-12-18  5:58 Hans de Graaff
2018-07-04  3:57 Hans de Graaff
2018-04-01  5:25 Hans de Graaff
2018-03-31 14:17 Tobias Klausmann
2018-03-27 21:38 Aaron Bauman
2018-03-22  6:07 Markus Meier
2018-01-30  5:34 Hans de Graaff
2017-12-29 17:41 Sergei Trofimovich
2017-12-26 11:46 Sergei Trofimovich
2017-12-26  7:35 Hans de Graaff
2017-12-26  0:59 Thomas Deutschmann
2017-12-24  6:52 Hans de Graaff
2017-12-23 20:36 Sergei Trofimovich
2017-12-22  6:54 Hans de Graaff
2017-09-20  6:07 Hans de Graaff
2017-06-28  9:35 Alexis Ballier
2017-06-05  4:45 Hans de Graaff
2017-06-05  4:45 Hans de Graaff
2017-05-11  4:13 Hans de Graaff
2017-04-30  5:33 Hans de Graaff
2017-04-29 20:26 Jeroen Roovers
2017-03-20  6:11 Hans de Graaff
2017-01-04  7:02 Hans de Graaff
2016-12-27  6:22 Hans de Graaff
2016-12-27  6:22 Hans de Graaff
2016-12-24  1:48 Manuel Rüger
2016-12-19 15:12 Agostino Sarubbo
2016-12-14 10:13 Tobias Klausmann
2016-10-03  6:04 Hans de Graaff
2016-10-02  8:59 Jeroen Roovers
2016-07-09  5:29 Hans de Graaff
2016-07-08 13:48 Agostino Sarubbo
2016-07-08 10:30 Agostino Sarubbo
2016-06-14 19:36 Markus Meier
2016-06-08 11:08 Hans de Graaff
2016-06-07  5:09 Hans de Graaff
2016-04-19 21:59 Manuel Rüger
2016-02-04 19:31 Tobias Klausmann
2016-01-21  6:53 Hans de Graaff
2016-01-21  6:53 Hans de Graaff
2016-01-17 18:24 Agostino Sarubbo
2016-01-10  7:47 Hans de Graaff
2016-01-02 16:29 Jeroen Roovers
2016-01-02 15:27 Jeroen Roovers
2015-12-17  7:14 Hans de Graaff
2015-11-30  6:51 Hans de Graaff
2015-11-24 20:25 Markus Meier
2015-11-20  5:56 Hans de Graaff
2015-11-20  5:56 Hans de Graaff
2015-11-18  8:57 Agostino Sarubbo
2015-11-17  9:59 Agostino Sarubbo
2015-11-17  6:23 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609828127.c0e4849bb6896cedf44d5bcae8cd1a07c7cf21ec.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox