summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-12 07:13:45 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-12 07:13:45 +0100
commite4fc263e33cf9b3213b997d7d4252ce500148774 (patch)
tree36eb9755a2e8301da6178939d1b9024bfa9f54dd /dev-ruby/pathutil
parentprofiles: unmask removed package dev-php/PEAR-HTTP_Download. (diff)
downloadgentoo-e4fc263e33cf9b3213b997d7d4252ce500148774.tar.gz
gentoo-e4fc263e33cf9b3213b997d7d4252ce500148774.tar.bz2
gentoo-e4fc263e33cf9b3213b997d7d4252ce500148774.zip
dev-ruby/pathutil: add 0.16.1
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/pathutil')
-rw-r--r--dev-ruby/pathutil/Manifest1
-rw-r--r--dev-ruby/pathutil/pathutil-0.16.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/pathutil/Manifest b/dev-ruby/pathutil/Manifest
index 1622c2617001..b3851fab3d0a 100644
--- a/dev-ruby/pathutil/Manifest
+++ b/dev-ruby/pathutil/Manifest
@@ -1,3 +1,4 @@
DIST pathutil-0.14.0.gem 11776 BLAKE2B 58a5678d62e8bfce51a7f97ecd5409649c5cd53baa133a2e52ed581ae1844383dd81fedc282c11098c61627704a29d565162bb19e40f930ec636c540942061d9 SHA512 470eef7a82105a7d41228de6c312dc4f21d8e8ee6b7c80f98ebe366db83c7e507dbfa7cf820203ef8c802076c96b791dd79859213e978f8fa4894a2099e2c7bd
DIST pathutil-0.14.0.tar.gz 18606 BLAKE2B bbd8410c616965e582f1daa1f2ee23f6828bc82abb363f5e9407c663f0c951cc6bc3ec2cc16eca73cbb1ab4244182622f39b3d91c93499ed64a342ee73479418 SHA512 48830ebdc594888a67104dbc6afb026c4e28d095cf433f459f39e0c0086da17a606c0c9946ebd37eb72d548d65e0a710f2f022bd9a77270567d6861c34a22a6f
DIST pathutil-0.16.0.tar.gz 18369 BLAKE2B 781ccae00ecb431fc70e83f26ca60b0bc37e326425e94eadb772a63c81fc44f99286af636ef06a9bdda03d3f858f2cf1307d1cec1101056a118dba84f9f1927d SHA512 459c33d858973aeefe00020283ec4a30bff7ad1c55866dd60123850ca2ca097eda9941c35ce485bfa13eec922c9053e465a2feac59a0f07ba20ae9f9051e359f
+DIST pathutil-0.16.1.tar.gz 18374 BLAKE2B a134cc3f687ca1b293fb9816f0a926fbde888209ef2a048f037fb6eb9274618731f19a562157b7572a006a9b3e633e5e6335427157ba1bc48a9e6bfb1f8fd9d6 SHA512 bd6b2402d12cdceefacde92cb38a67c03a73bdfd9e5823255eef348c571f1347a5febe0cd6a89cf3e78028cee9ca176f8ff192b85e0a52d752319287dcdb6998
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
+}