diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-01-12 08:07:46 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-01-12 08:07:46 +0100 |
commit | 7a7628bc0926cb88873e5329473bd3e56b142123 (patch) | |
tree | 8e1b382feb5435add7d994ad985d0b866add1b88 /dev-ruby | |
parent | dev-ruby/ox: add 2.14.1 (diff) | |
download | gentoo-7a7628bc0926cb88873e5329473bd3e56b142123.tar.gz gentoo-7a7628bc0926cb88873e5329473bd3e56b142123.tar.bz2 gentoo-7a7628bc0926cb88873e5329473bd3e56b142123.zip |
dev-ruby/sanitize: add 5.2.3
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-5.2.3.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index ba1cc9dcced9..b641830fd5c0 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 000000000000..71a7a8914abf --- /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 +} |