diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-05-20 07:51:20 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-05-20 07:51:20 +0200 |
commit | 69d63224674fd273e9d823e7bc15ba744b1fc097 (patch) | |
tree | 51afa2a92b33d492b740e1ba93b48b7bde186504 /dev-ruby/sanitize | |
parent | sci-mathematics/pymc3: Fix installation error, bug #632334 (diff) | |
download | gentoo-69d63224674fd273e9d823e7bc15ba744b1fc097.tar.gz gentoo-69d63224674fd273e9d823e7bc15ba744b1fc097.tar.bz2 gentoo-69d63224674fd273e9d823e7bc15ba744b1fc097.zip |
dev-ruby/sanitize: add 4.6.5
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-4.6.5.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 5f58a1c13464..c1d47251ff18 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,2 +1,3 @@ DIST sanitize-2.1.0.gem 20992 BLAKE2B 726cca43e1c9bebb4e750acec43dd6f6a3a17659e1390718dafcce3f1813a8756d9f34320b8c27c52a054009f40639e2e933718577ab4c5620bd4b754742d188 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 DIST sanitize-4.6.4.tar.gz 1349418 BLAKE2B 2d1a56340e562d057c85edc0d5157508267a4089b0aeb59156d0c249c8a39adcc15a10c8c67d84be77a2b388aa779e9330b9b4b52f28f11d7666eb97fb41bd24 SHA512 d870d8cc5ce6043e3825cfbb50f31c00d348c9ca05823c0eda245b9c175ae0bb9d0941845112bb3721ded9013bc554c09bfc55a1bfad70fcccd1660142e4ca82 +DIST sanitize-4.6.5.tar.gz 1349481 BLAKE2B bc0b3317952c1b5a903ca403300fdc788df129669761ab7f16d1cb76a75bed7306bd47065cb58449525c0ab0986015da93cc91d74f12fe407e273a84a79876f4 SHA512 3bd37faf5e99073fd87cf7e3f12628233117dcf38c298a806680da20c00050237d83d286936c898f03583d64b4bac5ae2be373fb89b259e4ca6dea283ca713b7 diff --git a/dev-ruby/sanitize/sanitize-4.6.5.ebuild b/dev-ruby/sanitize/sanitize-4.6.5.ebuild new file mode 100644 index 000000000000..03582866e28e --- /dev/null +++ b/dev-ruby/sanitize/sanitize-4.6.5.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +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="4" +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.4.4 + >=dev-ruby/nokogumbo-1.4:0" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} |