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: Sun,  4 Feb 2024 08:12:21 +0000 (UTC)	[thread overview]
Message-ID: <1707034332.eaccd08fdbdf1d686d11b91baf5964277004f46b.graaff@gentoo> (raw)

commit:     eaccd08fdbdf1d686d11b91baf5964277004f46b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  4 07:12:17 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb  4 08:12:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaccd08f

dev-ruby/nokogiri: add 1.16.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/nokogiri/Manifest               |  1 +
 dev-ruby/nokogiri/nokogiri-1.16.1.ebuild | 96 ++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest
index d68455195357..ab535e4e0541 100644
--- a/dev-ruby/nokogiri/Manifest
+++ b/dev-ruby/nokogiri/Manifest
@@ -2,3 +2,4 @@ DIST nokogiri-1.15.3-git.tgz 10767496 BLAKE2B d9d2abd3f57fd3f9e3e49e38de7559d5d9
 DIST nokogiri-1.15.4-git.tgz 10767816 BLAKE2B fe35809f62279ded261c655cc589fdb3447514f6525b62d591da58f91cc9dced34f5ac3e8bde180944ce23a67f56b2f93c90ac9cf69699e331dceee1ea259408 SHA512 f255a51053c55151c6df8937a979833571e2cbc8a25d032674d71d1303267ed4d3a1226d0995e54d9a152f237b31e7fe85e70fb976578902234eb5a2f4f3ce2b
 DIST nokogiri-1.15.5-git.tgz 10768080 BLAKE2B 25d24799c69a4271ea5283b264061c05f6907635ed55de196f76684d2db3c6c226e7f09f02f30de049b282c17cdea69154dec9a06813cb4f63adaac4876e160c SHA512 1df3f6bf4508a7c84fa22ce774cb878ca47154e69730f1cedb403fad270df42c580526ac03b47e73bf2267ad50d2999ed1341079b10043b450f51ea6b0565da7
 DIST nokogiri-1.16.0-git.tgz 11010821 BLAKE2B 5b82e28d7d1e7d74e857a997ea32ba406450588f398fa49590d318b194883b2a247b9389b3930583727a34df425034f3cefc4a5cb00f25945a02623872ac3ffa SHA512 0f6740ce69159f878844f2afdddafcc8c8f3bdabee68e5fcedb1526ae9cc48648c6ebda2a272ab1b8776fbde766bae97046802573908bd908cfb908288607e51
+DIST nokogiri-1.16.1-git.tgz 11014638 BLAKE2B e03122ba361b03c57e1c4b41e721a497d85e22ab6b6073475c1958f46a0c653b61459c482139c4eeebefdb83759f9af46b8c9c363e5a817d218e9ffd82002517 SHA512 0c821120d8c63f6c9a7440c11c5104d778517be0e0f92c2a787cdd478c0b869565d16f9bad42a66fd541e3dd871a0de98dea22815885e6468224696aba7f25d8

diff --git a/dev-ruby/nokogiri/nokogiri-1.16.1.ebuild b/dev-ruby/nokogiri/nokogiri-1.16.1.ebuild
new file mode 100644
index 000000000000..5e4ab554823f
--- /dev/null
+++ b/dev-ruby/nokogiri/nokogiri-1.16.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md SECURITY.md"
+
+RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb)
+
+inherit ruby-fakegem multilib
+
+DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
+HOMEPAGE="https://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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="${RDEPEND}
+	>=dev-libs/libxml2-2.12.4
+	>=dev-libs/libxslt-1.1.39
+	sys-libs/zlib
+	virtual/libiconv"
+DEPEND="${DEPEND}
+	>=dev-libs/libxml2-2.12.4
+	>=dev-libs/libxslt-1.1.39
+	>=sys-libs/zlib-1.2.13
+	virtual/libiconv"
+
+ruby_add_rdepend ">=dev-ruby/racc-1.4:0"
+
+ruby_add_bdepend "
+	dev-ruby/mini_portile2:2.8
+	>=dev-ruby/rexical-1.0.7
+	dev-ruby/rdoc
+	test? ( dev-ruby/minitest dev-ruby/rubyzip )"
+
+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 '/reporters/I s:^:#:' \
+		-i test/helper.rb || die
+
+	# There is no need for mini_portile2 to be a runtime dependency on Gentoo
+	sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || 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() {
+	MT_NO_PLUGINS=1 \
+	RUBY_MEMCHECK_RUNNING=true \
+	${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die
+}


             reply	other threads:[~2024-02-04  8:12 UTC|newest]

Thread overview: 254+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-04  8:12 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-04 17:30 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nokogiri/ Sam James
2025-01-04 13:28 Sam James
2025-01-04 13:28 Arthur Zamarin
2025-01-04 11:42 Sam James
2025-01-04 10:23 Hans de Graaff
2024-12-03 14:03 Hans de Graaff
2024-11-14  4:35 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-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
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=1707034332.eaccd08fdbdf1d686d11b91baf5964277004f46b.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