diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-09-15 07:50:28 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-09-15 07:50:28 +0200 |
commit | 3767f40fda5cc0962c5df1746f30af0581902701 (patch) | |
tree | b7775df200f24a494dd789277eea5f182674ef0a /dev-ruby/sanitize | |
parent | dev-ruby/excon: add 0.103.0 (diff) | |
download | gentoo-3767f40fda5cc0962c5df1746f30af0581902701.tar.gz gentoo-3767f40fda5cc0962c5df1746f30af0581902701.tar.bz2 gentoo-3767f40fda5cc0962c5df1746f30af0581902701.zip |
dev-ruby/sanitize: add 6.1.0
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.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 598adce2e258..48a9749b28f6 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,2 +1,3 @@ DIST sanitize-6.0.1.tar.gz 1352433 BLAKE2B 91614d3a5fe4f3d3741a8cc8d88a98281a43424132e82932600f4140ab857a0a3492d49ed92205a7e9a05f9eb0b350c30b3b0342790baab0b5f37ab6b83357a2 SHA512 2b43b11e211ddc10c1362bb5c78abd2c8844f3daf6dbb44ddd0731af596a44f7d5883e4f45e3d29c9b8f545794b8a1f98301565818982dadd8c86ece7fd9b2a1 DIST sanitize-6.0.2.tar.gz 1352670 BLAKE2B b9d2066f4f7ec168f6265953a855e9e5cccf5d045b294178656649e1f38b2b39a4bd605ebd802a430c85eb6eaf5166baf0821d0d5a99229415338726fb7dc393 SHA512 e4cd6b2058d937db1e37bc5f09e471c96bb4eaac4a67ecf634150b5aac1c87f02e627c8a60cac482f0bebef460ec3ef01d02b45b9524025269a7dbc51d20ca8e +DIST sanitize-6.1.0.tar.gz 1352762 BLAKE2B 7bd05780437387767dc6b2779458e6422483168ec8d5ea11ddb582c1a6375d7d2f0b686e64d769124be79a285774fbc175079024474a9ccee69e3a750f30ae7d SHA512 506df1324bb767aa7409c2bc8a0a309ad5d174d313940ced37b61b0a63ec756ecf91dd4c1ba43ab2d6386f51ad2970fb0dbd8b9b919822a5d12ddce4fe0eedc7 diff --git a/dev-ruby/sanitize/sanitize-6.1.0.ebuild b/dev-ruby/sanitize/sanitize-6.1.0.ebuild new file mode 100644 index 000000000000..a53d20a45b0d --- /dev/null +++ b/dev-ruby/sanitize/sanitize-6.1.0.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="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 +} |