diff options
Diffstat (limited to 'dev-ruby/niceogiri')
-rw-r--r-- | dev-ruby/niceogiri/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/niceogiri/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/niceogiri/niceogiri-1.1.2.ebuild | 29 |
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/niceogiri/Manifest b/dev-ruby/niceogiri/Manifest new file mode 100644 index 000000000000..0e4e3ce3615b --- /dev/null +++ b/dev-ruby/niceogiri/Manifest @@ -0,0 +1 @@ +DIST niceogiri-1.1.2.gem 11264 SHA256 0aa5235ed761a3b7b34a8d3162dccd11e17cfe4f88273d04dc2cb115821849c1 SHA512 9a1905a6b3e558a0c522bf8e3a9e55737f4266c7f38ec8ca7789c21c83f12835ed6cdaf249a05377a1c558e5cec137929beeb1ca0a42f5eed43890accaa0e4cb WHIRLPOOL d9d73c5c298cbc0476a225136bbaa90cfa7c80464a60d3b03ac28a190dd2e8c524ec29a728e3d576ee8b8ee7dcb8b307f308d0a9cdaedbca4f5706285605d114 diff --git a/dev-ruby/niceogiri/metadata.xml b/dev-ruby/niceogiri/metadata.xml new file mode 100644 index 000000000000..2b6c2f1e1a14 --- /dev/null +++ b/dev-ruby/niceogiri/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> + <upstream> + <remote-id type="github">benlangfeld/Niceogiri</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild b/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild new file mode 100644 index 000000000000..937b57582640 --- /dev/null +++ b/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Some wrappers around and helpers for XML manipulation using Nokogiri" +HOMEPAGE="https://github.com/benlangfeld/Niceogiri" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i -e '/guard-rspec/d' ${PN}.gemspec || die + sed -i -e '/[Bb]undler/d' Rakefile || die +} |