summaryrefslogtreecommitdiff
path: root/dev-ruby/pathutil
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/pathutil
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/pathutil')
-rw-r--r--dev-ruby/pathutil/Manifest3
-rw-r--r--dev-ruby/pathutil/metadata.xml12
-rw-r--r--dev-ruby/pathutil/pathutil-0.16.1.ebuild32
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/pathutil/Manifest b/dev-ruby/pathutil/Manifest
new file mode 100644
index 000000000000..d3776b320c0c
--- /dev/null
+++ b/dev-ruby/pathutil/Manifest
@@ -0,0 +1,3 @@
+DIST pathutil-0.16.1.tar.gz 18374 BLAKE2B a134cc3f687ca1b293fb9816f0a926fbde888209ef2a048f037fb6eb9274618731f19a562157b7572a006a9b3e633e5e6335427157ba1bc48a9e6bfb1f8fd9d6 SHA512 bd6b2402d12cdceefacde92cb38a67c03a73bdfd9e5823255eef348c571f1347a5febe0cd6a89cf3e78028cee9ca176f8ff192b85e0a52d752319287dcdb6998
+EBUILD pathutil-0.16.1.ebuild 872 BLAKE2B 5cded69b3cdc7b8395103fff8c3b2c0480d7f26b1fec3c1a0e2bd8d2321069548c0c5d871273e0194967a094e134484f704c8932d9e1e0a8786972b65a8ec5a3 SHA512 41e9a098691a37559b558e79e35623f1c6d91405af9593b02806b9b02c489eacc5bb9cefd570ac14dcd07eb2783a276a130eb7b9b3d6b9c941962d0a856443a5
+MISC metadata.xml 397 BLAKE2B 5d92c61c8d5bd93ada1cfb8cf312518568a379c6fec784480adfe804458b6de4b05d22886dcc4df14dc4ceb196cac22d485b8748533c94179c82c26fb71ef1df SHA512 ad03cd42ae59368a0642c46f3ae06ddbb14e003ebaeb79e0a93ff9212ba9fc16bcfb20e90f9f5be49cd8e79a80355bcccbfbbdc44845df0d9b678a2c4a20debe
diff --git a/dev-ruby/pathutil/metadata.xml b/dev-ruby/pathutil/metadata.xml
new file mode 100644
index 000000000000..051f5bee9269
--- /dev/null
+++ b/dev-ruby/pathutil/metadata.xml
@@ -0,0 +1,12 @@
+<?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">envygeeks/pathutils</remote-id>
+ <remote-id type="rubygems">pathutil</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/pathutil/pathutil-0.16.1.ebuild b/dev-ruby/pathutil/pathutil-0.16.1.ebuild
new file mode 100644
index 000000000000..d6583688b0e3
--- /dev/null
+++ b/dev-ruby/pathutil/pathutil-0.16.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="Gem.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Like Pathname but a little less insane"
+HOMEPAGE="https://rubygems.org/gems/pathutil https://github.com/envygeeks/pathutils"
+SRC_URI="https://github.com/envygeeks/pathutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/forwardable-extended-2.6
+ <dev-ruby/forwardable-extended-3"
+
+all_ruby_prepare() {
+ sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' \
+ -e '1irequire "pathname"; require "tempfile"; require "tmpdir"; require "json"' \
+ spec/rspec/helper.rb || die
+ rm -f spec/support/coverage.rb || die
+}