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 77D6313835B for ; Tue, 12 Jan 2021 07:08:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC195E090F; Tue, 12 Jan 2021 07:08:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 939D4E090F for ; Tue, 12 Jan 2021 07:08:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2CEB340E12 for ; Tue, 12 Jan 2021 07:08:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E8DC497 for ; Tue, 12 Jan 2021 07:08:01 +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: <1610435266.7a7628bc0926cb88873e5329473bd3e56b142123.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-5.2.3.ebuild X-VCS-Directories: dev-ruby/sanitize/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7a7628bc0926cb88873e5329473bd3e56b142123 X-VCS-Branch: master Date: Tue, 12 Jan 2021 07:08:01 +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: 134f0edb-014b-4f0a-ba08-c0f4e0f74ee7 X-Archives-Hash: c8ba3b2c7124adc740e329e76f61b59c commit: 7a7628bc0926cb88873e5329473bd3e56b142123 Author: Hans de Graaff gentoo org> AuthorDate: Tue Jan 12 07:07:46 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Jan 12 07:07:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7628bc dev-ruby/sanitize: add 5.2.3 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sanitize/Manifest | 1 + dev-ruby/sanitize/sanitize-5.2.3.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index ba1cc9dcced..b641830fd5c 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,2 +1,3 @@ DIST sanitize-5.2.1.tar.gz 1352785 BLAKE2B 2742085ac296869b8be36cf803f999475032c147d94aa0fba77fb83b8305470baf144f4c68fc5711871779f327c9bf1ba8b3b817f3777a04fb0b9c726318ee1d SHA512 3384d01db244f9f7feeb67bf2fae5773a85f512411bd761db6a71ab3fb690fac33c0caae848e5a4df6f202be7dd7cc52f8bac4c82bef447d20dbc70a586ed82f DIST sanitize-5.2.2.tar.gz 1352903 BLAKE2B 8ebe57b6de733556015e38ddca0a2ed69e4bb8a22d5f3e812f7e346f4822df15e0554b4a74d195fd812c45397ecc03543ce7024e9052b4d0045d56fc3c02f64d SHA512 9a2e7d265799fdb7e02256bd9050ede7ae73c6088064bc79fec6c94f3d35871ff427c2b59f0e3ed122e091ae36b996413080f7fdcefe85f740c1825a70abedcf +DIST sanitize-5.2.3.tar.gz 1353257 BLAKE2B 8b74376e2c184e6219d089f5404cce0f0ec2acb2002d49eead0045b5771331960b6c1c47ff876aad155d822d04b282c2be6881b25d9864f68e617c2be45e6ac2 SHA512 0cb30811251fbb60a7f37307010ccdc8917ca4a5bc8c9c702767e3c00d9e68fb79d5f0fe2afed3ce74646d9195eff8060e11e0fae1ee1e9c3f5c9e05af14f111 diff --git a/dev-ruby/sanitize/sanitize-5.2.3.ebuild b/dev-ruby/sanitize/sanitize-5.2.3.ebuild new file mode 100644 index 00000000000..71a7a8914ab --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.2.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +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="5" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0* + >=dev-ruby/nokogiri-1.8.0 + dev-ruby/nokogumbo:2" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +}