summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-08-01 06:52:04 +0200
committerHans de Graaff <graaff@gentoo.org>2017-08-01 06:52:04 +0200
commit3048e87905ed10a1dd2725bc0c682cd8596b10e8 (patch)
treede1f9385bd64b3140d1093b9f41925a158e9e14e
parentapp-admin/r10k: cleanup (diff)
downloadgentoo-3048e87905ed10a1dd2725bc0c682cd8596b10e8.tar.gz
gentoo-3048e87905ed10a1dd2725bc0c682cd8596b10e8.tar.bz2
gentoo-3048e87905ed10a1dd2725bc0c682cd8596b10e8.zip
dev-ruby/archive-tar-minitar: use GEMNAME to fix broken installation
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--dev-ruby/archive-tar-minitar/Manifest1
-rw-r--r--dev-ruby/archive-tar-minitar/archive-tar-minitar-0.6.1-r1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/archive-tar-minitar/Manifest b/dev-ruby/archive-tar-minitar/Manifest
index 279a309eefdd..3c199711be24 100644
--- a/dev-ruby/archive-tar-minitar/Manifest
+++ b/dev-ruby/archive-tar-minitar/Manifest
@@ -1 +1,2 @@
+DIST archive-tar-minitar-0.6.1.tar.gz 29972 SHA256 14a68d635589bffd87af59188b10e0131c8d8e439566efab3b0d8e3948086beb SHA512 67b4636fc8d1651b90621a5e836b6e2912109dd90ec03ac86c9856abe544f55276c6aa520640b8a25e7f74c2619b77798aacfe1e10795da20f9fa78b7c3d5a07 WHIRLPOOL fc09f8a68cb52535ee0fedd994b05be18265d24be4169e4654ed23265dcb41ecab7c3a5cbecdba683524b79e95ed411c43a810d76765e6b0e8dea832b12858af
DIST minitar-0.6.1.gem 29184 SHA256 df5cdcdd5ecdcc1100cf3513557748f726bb1feea55f5cc25bb5a7116f069ddd SHA512 e8a4acd8c831ef587d9571376ae111454faba1d6d4db5c88f2087c84d3dbb5487cdcac8ad47c5f717e195262b95040a9ee72cdaeaad23715b8a1270baec6ec70 WHIRLPOOL c8c0a7040482df9c4a0452491dfbae8c1b32e9cbb7ff98a81d4e39634a5e2a493e0abc682a60ce046fee9d54186fdd6f922c0570a38f36ae0438b3f62b699c59
diff --git a/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.6.1-r1.ebuild b/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.6.1-r1.ebuild
new file mode 100644
index 000000000000..8bc7febb61c0
--- /dev/null
+++ b/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.6.1-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc"
+
+RUBY_FAKEGEM_GEMNAME=minitar
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides POSIX tarchive management from Ruby programs"
+HOMEPAGE="https://github.com/halostatue/minitar"
+SRC_URI="https://github.com/halostatue/minitar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="minitar-${PV}"
+
+LICENSE="|| ( BSD-2 Ruby )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}