summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-10-31 06:34:23 +0100
committerHans de Graaff <graaff@gentoo.org>2018-10-31 06:34:23 +0100
commitff01f7b243a6f591b0fd5b64b243801a9025fcb1 (patch)
treedafe243b69570afbb51b52981943c59dc776e02b /dev-ruby/pathutil
parentdev-ruby/acts_as_list: add 0.9.17 (diff)
downloadgentoo-ff01f7b243a6f591b0fd5b64b243801a9025fcb1.tar.gz
gentoo-ff01f7b243a6f591b0fd5b64b243801a9025fcb1.tar.bz2
gentoo-ff01f7b243a6f591b0fd5b64b243801a9025fcb1.zip
dev-ruby/pathutil: add 0.16.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/pathutil')
-rw-r--r--dev-ruby/pathutil/Manifest1
-rw-r--r--dev-ruby/pathutil/pathutil-0.16.2.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/pathutil/Manifest b/dev-ruby/pathutil/Manifest
index 202e9fb0a9f6..2ebb5ce8eaf1 100644
--- a/dev-ruby/pathutil/Manifest
+++ b/dev-ruby/pathutil/Manifest
@@ -1 +1,2 @@
DIST pathutil-0.16.1.tar.gz 18374 BLAKE2B a134cc3f687ca1b293fb9816f0a926fbde888209ef2a048f037fb6eb9274618731f19a562157b7572a006a9b3e633e5e6335427157ba1bc48a9e6bfb1f8fd9d6 SHA512 bd6b2402d12cdceefacde92cb38a67c03a73bdfd9e5823255eef348c571f1347a5febe0cd6a89cf3e78028cee9ca176f8ff192b85e0a52d752319287dcdb6998
+DIST pathutil-0.16.2.tar.gz 26079 BLAKE2B 5a9d1dac1f1171ee6bc447725c04883cb56a9071927f3e0fdbcb9754345ac77a6609533a1308a411cb22658caeb2a4bed49225923af109bca288cfb3aeb3d669 SHA512 d06daf365b94dacd33966f3928a53f0f00d2fca7b9f6348a7efd2b55ab5ba937459e5bd78fde241f30749a1ae55e4ae3ba1ed8945b5333464e7d3ce9666cd054
diff --git a/dev-ruby/pathutil/pathutil-0.16.2.ebuild b/dev-ruby/pathutil/pathutil-0.16.2.ebuild
new file mode 100644
index 000000000000..de1ff3557b23
--- /dev/null
+++ b/dev-ruby/pathutil/pathutil-0.16.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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
+}