diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-01-07 07:41:39 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-01-07 07:44:13 +0100 |
commit | a39e681123d4de60222f798e1706225b43c36c96 (patch) | |
tree | 06537cb2712be190bf718323694500683577c312 | |
parent | dev-ruby/crass: add ruby30 (diff) | |
download | gentoo-a39e681123d4de60222f798e1706225b43c36c96.tar.gz gentoo-a39e681123d4de60222f798e1706225b43c36c96.tar.bz2 gentoo-a39e681123d4de60222f798e1706225b43c36c96.zip |
dev-ruby/sanitize: add 5.2.2
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-5.2.2.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 1012bf9fc97c..ba1cc9dcced9 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1 +1,2 @@ DIST sanitize-5.2.1.tar.gz 1352785 BLAKE2B 2742085ac296869b8be36cf803f999475032c147d94aa0fba77fb83b8305470baf144f4c68fc5711871779f327c9bf1ba8b3b817f3777a04fb0b9c726318ee1d SHA512 3384d01db244f9f7feeb67bf2fae5773a85f512411bd761db6a71ab3fb690fac33c0caae848e5a4df6f202be7dd7cc52f8bac4c82bef447d20dbc70a586ed82f +DIST sanitize-5.2.2.tar.gz 1352903 BLAKE2B 8ebe57b6de733556015e38ddca0a2ed69e4bb8a22d5f3e812f7e346f4822df15e0554b4a74d195fd812c45397ecc03543ce7024e9052b4d0045d56fc3c02f64d SHA512 9a2e7d265799fdb7e02256bd9050ede7ae73c6088064bc79fec6c94f3d35871ff427c2b59f0e3ed122e091ae36b996413080f7fdcefe85f740c1825a70abedcf diff --git a/dev-ruby/sanitize/sanitize-5.2.2.ebuild b/dev-ruby/sanitize/sanitize-5.2.2.ebuild new file mode 100644 index 000000000000..6bde161caaf5 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.2.2.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 ~x86-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 +} |