summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-06 07:13:01 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-06 07:13:01 +0200
commit45e01ece70ab3fe49faa30eae149e1bd9f323836 (patch)
tree4805c907971369893351611cb08a9f1d07e934d4 /dev-ruby/pathutil
parentnet-wireless/kismet: drop unused lines in stable ebuild to quiet repoman (diff)
downloadgentoo-45e01ece70ab3fe49faa30eae149e1bd9f323836.tar.gz
gentoo-45e01ece70ab3fe49faa30eae149e1bd9f323836.tar.bz2
gentoo-45e01ece70ab3fe49faa30eae149e1bd9f323836.zip
dev-ruby/pathutil: add 0.16.0
Package-Manager: Portage-2.3.8, 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.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/pathutil/Manifest b/dev-ruby/pathutil/Manifest
index 28c8066f7e10..3c29394296b5 100644
--- a/dev-ruby/pathutil/Manifest
+++ b/dev-ruby/pathutil/Manifest
@@ -1,2 +1,3 @@
DIST pathutil-0.14.0.gem 11776 SHA256 c7fe1ba37ec11ae35fa5c7fb9b5ba4633ca3ca0cf68b352705a3c96d3a278438 SHA512 470eef7a82105a7d41228de6c312dc4f21d8e8ee6b7c80f98ebe366db83c7e507dbfa7cf820203ef8c802076c96b791dd79859213e978f8fa4894a2099e2c7bd WHIRLPOOL fc6cc6e8e285e359394bdac44dde8e153d2b1b0df184aeef8448ad1fa5790fac3e0583316ece41f5b94228742577e2a131ae1fbf70494caa3322e2c68f5c3877
DIST pathutil-0.14.0.tar.gz 18606 SHA256 41d253e0da215e0c84215be0a86a110e675164127037c69eebe527092db4c13e SHA512 48830ebdc594888a67104dbc6afb026c4e28d095cf433f459f39e0c0086da17a606c0c9946ebd37eb72d548d65e0a710f2f022bd9a77270567d6861c34a22a6f WHIRLPOOL 87b3741533600fd1dec302d965fc2d70e712ec3b4f106b42bd270016d30711c87b87fa9b1322c4c25f6b526f68b426fd0a57947f71392c2eb37574b5395c42bb
+DIST pathutil-0.16.0.tar.gz 18369 SHA256 4f6197f29bc0cd688c245eb6d59664aa8782768fa9a7b896b0652d30281df586 SHA512 459c33d858973aeefe00020283ec4a30bff7ad1c55866dd60123850ca2ca097eda9941c35ce485bfa13eec922c9053e465a2feac59a0f07ba20ae9f9051e359f WHIRLPOOL bad3820c31c514531966eb584d192942f6cdd4de452c79c15d9069fc59df74b2b53b0f5f7856eb6a07309edd12af879ec3feb62acbf283f257e964add9125fb3
diff --git a/dev-ruby/pathutil/pathutil-0.16.0.ebuild b/dev-ruby/pathutil/pathutil-0.16.0.ebuild
new file mode 100644
index 000000000000..d6583688b0e3
--- /dev/null
+++ b/dev-ruby/pathutil/pathutil-0.16.0.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
+}