summaryrefslogtreecommitdiff
path: root/dev-ruby/niceogiri
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/niceogiri')
-rw-r--r--dev-ruby/niceogiri/Manifest3
-rw-r--r--dev-ruby/niceogiri/metadata.xml11
-rw-r--r--dev-ruby/niceogiri/niceogiri-1.1.2.ebuild28
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/niceogiri/Manifest b/dev-ruby/niceogiri/Manifest
new file mode 100644
index 000000000000..e5904b3777fb
--- /dev/null
+++ b/dev-ruby/niceogiri/Manifest
@@ -0,0 +1,3 @@
+DIST niceogiri-1.1.2.gem 11264 BLAKE2B bc8ca43b5bae4630c8e52167ec22054bb95dbf8ccec8473d1223a0e3f6437b01268f26fb140414750f8c5109d1d2bd19e8bed4185c4fcff2b93a03a41159b0d7 SHA512 9a1905a6b3e558a0c522bf8e3a9e55737f4266c7f38ec8ca7789c21c83f12835ed6cdaf249a05377a1c558e5cec137929beeb1ca0a42f5eed43890accaa0e4cb
+EBUILD niceogiri-1.1.2.ebuild 655 BLAKE2B 9f87813e8ab624444199ecf4013ec936693663ab3c0f60ca8e50c1547f431b5f3f120cab390101684c5db915d06743e0ce91709420791df6465a3a390117d177 SHA512 94b5f1289f1ade14fb42f65677ae096856b8408042066d49f812b8ebc91f136eb411f99d651cbe337e1db88ef16ee7d748954a8ae0bd843b9d3950b8f29465e1
+MISC metadata.xml 347 BLAKE2B 576d9e83ac287b001ba9564ec6d6aa1f64e6640c070722b1a23a4db105948806c23a346fc61860777b42a8d514a48146eda523675f09efe643054e7cc50ce18f SHA512 e1ebb935172380056b7bc385e135774db4bc60d751fb92158fffb93bcdd4435c4c7e0ec1d69b3cc9dcfa98e1c4d9422b31fb6671566463c6c86ab1ec7e349a8f
diff --git a/dev-ruby/niceogiri/metadata.xml b/dev-ruby/niceogiri/metadata.xml
new file mode 100644
index 000000000000..4e8ba958aa58
--- /dev/null
+++ b/dev-ruby/niceogiri/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <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..6a4d3aa94761
--- /dev/null
+++ b/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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
+}