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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 162A215800F for ; Sat, 28 Jan 2023 08:38:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 627A4E0870; Sat, 28 Jan 2023 08:38:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B342E0870 for ; Sat, 28 Jan 2023 08:38:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80892340BC0 for ; Sat, 28 Jan 2023 08:38:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21D44828 for ; Sat, 28 Jan 2023 08:38:09 +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: <1674895085.c29f3cc098f6f9eb1ac101c57b194ac35edae957.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sanitize/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sanitize/Manifest dev-ruby/sanitize/sanitize-6.0.1.ebuild X-VCS-Directories: dev-ruby/sanitize/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c29f3cc098f6f9eb1ac101c57b194ac35edae957 X-VCS-Branch: master Date: Sat, 28 Jan 2023 08:38:09 +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: d65f712a-cf9a-4a9c-9254-8b6a6a8338fb X-Archives-Hash: 6a1f49f90f31d9ab6a0921d927419fd3 commit: c29f3cc098f6f9eb1ac101c57b194ac35edae957 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jan 28 08:24:58 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jan 28 08:38:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29f3cc0 dev-ruby/sanitize: add 6.0.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sanitize/Manifest | 1 + dev-ruby/sanitize/sanitize-6.0.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 3ec21d475a1a..4738935cd7dc 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1 +1,2 @@ DIST sanitize-6.0.0.tar.gz 1353309 BLAKE2B 3056b79ee9611797cb8058f37a694f029e7609b4df8d968ccbece4ffe562c30aa55d9fafdbb9abc1ded86aa0c605fbd48546b8fbedef06272f0184c16f7e9dad SHA512 8a3ce765b6bc0ef8418af785e1fea5ae3b2a32eda82cfc21f9ea36df164c293250fd277ad8ac065757db18ea104b826fcebcbd46d5ad2ab059807e377765476d +DIST sanitize-6.0.1.tar.gz 1352433 BLAKE2B 91614d3a5fe4f3d3741a8cc8d88a98281a43424132e82932600f4140ab857a0a3492d49ed92205a7e9a05f9eb0b350c30b3b0342790baab0b5f37ab6b83357a2 SHA512 2b43b11e211ddc10c1362bb5c78abd2c8844f3daf6dbb44ddd0731af596a44f7d5883e4f45e3d29c9b8f545794b8a1f98301565818982dadd8c86ece7fd9b2a1 diff --git a/dev-ruby/sanitize/sanitize-6.0.1.ebuild b/dev-ruby/sanitize/sanitize-6.0.1.ebuild new file mode 100644 index 000000000000..9501168de654 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-6.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer" +HOMEPAGE="https://github.com/rgrove/sanitize" +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.12.0 +" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +}