summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/sanitize/ChangeLog10
-rw-r--r--dev-ruby/sanitize/Manifest4
-rw-r--r--dev-ruby/sanitize/metadata.xml5
-rw-r--r--dev-ruby/sanitize/sanitize-2.0.6.ebuild29
4 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/ChangeLog b/dev-ruby/sanitize/ChangeLog
new file mode 100644
index 000000000000..91149731cf0f
--- /dev/null
+++ b/dev-ruby/sanitize/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/sanitize
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sanitize/ChangeLog,v 1.1 2013/11/22 02:09:55 mrueg Exp $
+
+*sanitize-2.0.6 (22 Nov 2013)
+
+ 22 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +metadata.xml,
+ +sanitize-2.0.6.ebuild:
+ Initial ebuild by Tiziano Müller (dev-zero). Taken from his overlay. Added
+ minor changes.
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest
new file mode 100644
index 000000000000..2452cbbaaa17
--- /dev/null
+++ b/dev-ruby/sanitize/Manifest
@@ -0,0 +1,4 @@
+DIST sanitize-2.0.6.tar.gz 78888 SHA256 ecc0526f231d68dd88efd957145f79841f446ba36124e28c91ef275cc88cafb8 SHA512 e086d6963e8506d498266f0642dd70a9151f38760c1cac69cbba08cde9af291989be48770062dfe824be87f59b21f3d8c125579d9db227f8edea0f93a0993893 WHIRLPOOL 6742f6c06f7b1fc750c76c440e6ed6fd0ee384c6b8afefe0cf064d7c4283e4d877ae9347d7fd392cb1cbfc44798d93d0915059d77aacabf3938ec54ed4491d8e
+EBUILD sanitize-2.0.6.ebuild 817 SHA256 4363f52fdd6ea38f4234c6ed4e4256a703290601bb41df9cd46e71c493854c91 SHA512 03d807a20ca661c5189f534df150ded04c75cdb58a733198ed3760012341bba0e01b987faefcdf9d8b7e758f0a6f6f9120c6920d7197394a8da8b9c1c7f63d6f WHIRLPOOL 5c7c9be6d019889984de2b1f6e8404a06295ad435500b680ed88e5fbb21cff486589f59c985cecaa5404d4f95f4472aa74dec65c8287fd35ef140f84568c73c2
+MISC ChangeLog 421 SHA256 5ae213c4c62b8896faf4b79b5365554fcd602d95e1b07d82e4aae8ae7dba23ff SHA512 32acb292f815e91e03df876240eef935a719fa2a6f6b46ef5eff7f66f094cc219ac6f80818b2fa8b27d349872aca69e005bc13fade5d58d9231a98e9aee9552d WHIRLPOOL 9c50246d3127829287a05b80bf3aa723b3dc2a0cf43a3db10579415c08f96b38c5965b408745a793438dde4a22a8dc93a49e581b5666c456e6035b03a246a323
+MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
diff --git a/dev-ruby/sanitize/metadata.xml b/dev-ruby/sanitize/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/sanitize/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/sanitize/sanitize-2.0.6.ebuild b/dev-ruby/sanitize/sanitize-2.0.6.ebuild
new file mode 100644
index 000000000000..ddfde8c9d82b
--- /dev/null
+++ b/dev-ruby/sanitize/sanitize-2.0.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sanitize/sanitize-2.0.6.ebuild,v 1.1 2013/11/22 02:09:55 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20"
+
+RUBY_FAKEGEM_RECIPE_TEST="rake"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.rdoc"
+
+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="0"
+KEYWORDS="~amd64 ~x86 ~x86-macos"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/nokogiri"
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/d' Rakefile || die "sed failed"
+}