diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-08-15 08:24:22 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-08-15 08:24:22 +0200 |
commit | a926ed1221e1e09460c327bb261a3589d371bcd5 (patch) | |
tree | eab6c0c111f717a552863f71d07a27207980cdff /dev-ruby/sanitize | |
parent | dev-ruby/minitest-hooks: add 1.5.2 (diff) | |
download | gentoo-a926ed1221e1e09460c327bb261a3589d371bcd5.tar.gz gentoo-a926ed1221e1e09460c327bb261a3589d371bcd5.tar.bz2 gentoo-a926ed1221e1e09460c327bb261a3589d371bcd5.zip |
dev-ruby/sanitize: add 6.1.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-6.1.3.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 9c17ebea5b09..2945dbe6eb64 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,3 +1,4 @@ DIST sanitize-6.1.0.tar.gz 1352762 BLAKE2B 7bd05780437387767dc6b2779458e6422483168ec8d5ea11ddb582c1a6375d7d2f0b686e64d769124be79a285774fbc175079024474a9ccee69e3a750f30ae7d SHA512 506df1324bb767aa7409c2bc8a0a309ad5d174d313940ced37b61b0a63ec756ecf91dd4c1ba43ab2d6386f51ad2970fb0dbd8b9b919822a5d12ddce4fe0eedc7 DIST sanitize-6.1.1.tar.gz 1352975 BLAKE2B cdc63aecaf66cde7d18e37044de505b6315e8405280f4cbd1164902dcd65ed3d91c675528093152212a282f81249a47d779a8043e3414c29aa56b010d826f757 SHA512 2d08fc8bc94e5ff52c2bd8c5340b528721ce284984db86d7be982d80c373c20525db7ac98109cb69c88a60d303393c67fc4d425be7664de987a32888ec7c669b DIST sanitize-6.1.2.tar.gz 1353291 BLAKE2B bf96ba0bd28bd083ae4eb3e52e0951cead93a26d7188902640986f815cb26b8b6634e367dab143d46b9557c3010fb8b643591bacb65ee9dafdbcbba956c7b391 SHA512 4ceb8c65956961c2dc472c45747eadba6c717e3b01e3d8b8f32af0e9b7be011b7b86805bd7ab50e093987bdd6cd50fd9ac1d530cd6136e354baa429c86e65e57 +DIST sanitize-6.1.3.tar.gz 1353404 BLAKE2B 73920056176dd79bd761182cda93859aaa97c580682df9a8175f424c0f910a63ada319956f997748168dc58092ef0f15453ea6a572c8ab2eb1e18132dc570410 SHA512 5e7a33ad7e3855a4a8fd228dd2bf67d040aeaad0e887591c3963d73d3c3d9a4c35ae1522b1df774dd20253e9e061e68bb0e13a97de11fd7451bbf02ad3d123f5 diff --git a/dev-ruby/sanitize/sanitize-6.1.3.ebuild b/dev-ruby/sanitize/sanitize-6.1.3.ebuild new file mode 100644 index 000000000000..589d79da2697 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-6.1.3.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 +} |