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 B26BF15811D for ; Fri, 7 Jul 2023 04:28:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 970A9E084A; Fri, 7 Jul 2023 04:28:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B34CE084A for ; Fri, 7 Jul 2023 04:28:31 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54B79340F77 for ; Fri, 7 Jul 2023 04:28:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95CBCACE for ; Fri, 7 Jul 2023 04:28:28 +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: <1688704105.6162e8e173129e09036b6cd54bcc48bfe7998c76.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.2.ebuild X-VCS-Directories: dev-ruby/sanitize/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 6162e8e173129e09036b6cd54bcc48bfe7998c76 X-VCS-Branch: master Date: Fri, 7 Jul 2023 04:28:28 +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: 8f272292-dc8e-4c38-8bfc-56cef3c027a0 X-Archives-Hash: 21c5d955d4b10d041debac8e91a0b553 commit: 6162e8e173129e09036b6cd54bcc48bfe7998c76 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jul 7 04:24:58 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jul 7 04:28:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6162e8e1 dev-ruby/sanitize: add 6.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sanitize/Manifest | 1 + dev-ruby/sanitize/sanitize-6.0.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 6cefb5874c5f..598adce2e258 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1 +1,2 @@ DIST sanitize-6.0.1.tar.gz 1352433 BLAKE2B 91614d3a5fe4f3d3741a8cc8d88a98281a43424132e82932600f4140ab857a0a3492d49ed92205a7e9a05f9eb0b350c30b3b0342790baab0b5f37ab6b83357a2 SHA512 2b43b11e211ddc10c1362bb5c78abd2c8844f3daf6dbb44ddd0731af596a44f7d5883e4f45e3d29c9b8f545794b8a1f98301565818982dadd8c86ece7fd9b2a1 +DIST sanitize-6.0.2.tar.gz 1352670 BLAKE2B b9d2066f4f7ec168f6265953a855e9e5cccf5d045b294178656649e1f38b2b39a4bd605ebd802a430c85eb6eaf5166baf0821d0d5a99229415338726fb7dc393 SHA512 e4cd6b2058d937db1e37bc5f09e471c96bb4eaac4a67ecf634150b5aac1c87f02e627c8a60cac482f0bebef460ec3ef01d02b45b9524025269a7dbc51d20ca8e diff --git a/dev-ruby/sanitize/sanitize-6.0.2.ebuild b/dev-ruby/sanitize/sanitize-6.0.2.ebuild new file mode 100644 index 000000000000..742dfc9c5f97 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-6.0.2.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="ruby30 ruby31 ruby32" + +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 +}