From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19CD8158088 for ; Sun, 24 Oct 2021 09:25:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 592EFE0877; Sun, 24 Oct 2021 09:25:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F18BE0877 for ; Sun, 24 Oct 2021 09:25:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BD3634365C for ; Sun, 24 Oct 2021 09:25:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD1C817D for ; Sun, 24 Oct 2021 09:25:49 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1635067545.db44ca965f2a49ea43a835c088e6b2670b0321d5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/tidy-ext/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild X-VCS-Directories: dev-ruby/tidy-ext/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: db44ca965f2a49ea43a835c088e6b2670b0321d5 X-VCS-Branch: master Date: Sun, 24 Oct 2021 09:25:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0a26eb07-6157-48f7-bb1c-44461e537077 X-Archives-Hash: a855665a4cf6a427089769bf42c0adb0 commit: db44ca965f2a49ea43a835c088e6b2670b0321d5 Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 24 09:25:04 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 24 09:25:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db44ca96 dev-ruby/tidy-ext: EAPI 8; fix extension install Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild new file mode 100644 index 00000000000..c85df21f5c2 --- /dev/null +++ b/dev-ruby/tidy-ext/tidy-ext-0.1.14-r4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/tidy/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension" +HOMEPAGE="https://github.com/carld/tidy" + +LICENSE="HTML-Tidy" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +PATCHES=( "${FILESDIR}/11CVE-2015-5522.patch" ) + +all_ruby_prepare() { + mkdir lib || die + + # Remove reference to rspec 1 + sed -i -e '/spec/d' spec/spec_helper.rb || die + + # Avoid spec that needs network connectivity. + rm spec/tidy/remote_uri_spec.rb || die +}