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 3F02315817D for ; Thu, 13 Jun 2024 05:50:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D9EDE2A5B; Thu, 13 Jun 2024 05:50:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 24263E2A5B for ; Thu, 13 Jun 2024 05:50:40 +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 C870733BED4 for ; Thu, 13 Jun 2024 05:50:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 039A71CD6 for ; Thu, 13 Jun 2024 05:50:36 +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: <1718257802.89eebd9f495a1043c7e136f6ec969d85bfe9799d.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.1.1.ebuild X-VCS-Directories: dev-ruby/sanitize/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 89eebd9f495a1043c7e136f6ec969d85bfe9799d X-VCS-Branch: master Date: Thu, 13 Jun 2024 05:50:36 +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: 003174c7-b7ca-43f8-8060-74e10f35ebb2 X-Archives-Hash: 5b0a69cb6f9c052f349afa1264fd6ddf commit: 89eebd9f495a1043c7e136f6ec969d85bfe9799d Author: Hans de Graaff gentoo org> AuthorDate: Thu Jun 13 05:50:02 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Jun 13 05:50:02 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89eebd9f dev-ruby/sanitize: add 6.1.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sanitize/Manifest | 1 + dev-ruby/sanitize/sanitize-6.1.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index bce1c617f411..e93e6d859575 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1 +1,2 @@ DIST sanitize-6.1.0.tar.gz 1352762 BLAKE2B 7bd05780437387767dc6b2779458e6422483168ec8d5ea11ddb582c1a6375d7d2f0b686e64d769124be79a285774fbc175079024474a9ccee69e3a750f30ae7d SHA512 506df1324bb767aa7409c2bc8a0a309ad5d174d313940ced37b61b0a63ec756ecf91dd4c1ba43ab2d6386f51ad2970fb0dbd8b9b919822a5d12ddce4fe0eedc7 +DIST sanitize-6.1.1.tar.gz 1352975 BLAKE2B cdc63aecaf66cde7d18e37044de505b6315e8405280f4cbd1164902dcd65ed3d91c675528093152212a282f81249a47d779a8043e3414c29aa56b010d826f757 SHA512 2d08fc8bc94e5ff52c2bd8c5340b528721ce284984db86d7be982d80c373c20525db7ac98109cb69c88a60d303393c67fc4d425be7664de987a32888ec7c669b diff --git a/dev-ruby/sanitize/sanitize-6.1.1.ebuild b/dev-ruby/sanitize/sanitize-6.1.1.ebuild new file mode 100644 index 000000000000..589d79da2697 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-6.1.1.ebuild @@ -0,0 +1,32 @@ +# 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_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 +}