summaryrefslogtreecommitdiff
path: root/dev-ruby/minitar
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/minitar')
-rw-r--r--dev-ruby/minitar/Manifest3
-rw-r--r--dev-ruby/minitar/metadata.xml11
-rw-r--r--dev-ruby/minitar/minitar-0.8.ebuild28
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/minitar/Manifest b/dev-ruby/minitar/Manifest
new file mode 100644
index 000000000000..6a8954611bda
--- /dev/null
+++ b/dev-ruby/minitar/Manifest
@@ -0,0 +1,3 @@
+DIST minitar-0.8.tar.gz 33632 BLAKE2B b576c74cfd59893d4c0c935703453551f9a0ca6258bc6a2b1ecb3151a44ff166607931e554c811fffb489b6398123cd9e8e58372a94b303df45d88ef903868ad SHA512 cab4798b98d91a17dd5ce4aed3f6fd166dab61e8c9e3bef3df218944fe1657a9ec9d40a52ab2773430070e50410c401da799469b096dcc2b22d6466da1e50b8d
+EBUILD minitar-0.8.ebuild 843 BLAKE2B 4fd52b8b583baa0df3a6cf3107d9479e0037e1abc83d0eec912ef83636d1d6096a291435ea74f32c136a943020a3b1aa051cfbfdd6f6f3423a20df41f75ae54e SHA512 1494e141678e0c410a186c00e537cdb258cef90ccd78e16c8c2dd87f107ce15af48a3c7b0c91cb393dd11ec14f724a466b3a5c43bedc0cfca9e992acf0b31da4
+MISC metadata.xml 344 BLAKE2B 859b7af9a7a2a07b43cc2625a5ac93a91aa9f16041a1f179654e126ab4f78d347a7816098bb6cc559fc1bc004f27156a06a83581ffdf143d86c15d8fa2a3fbc8 SHA512 fe6d4710ed497c7b81b336533868f760892f8946f766a2749349ffc105e33309abcfd7473bc940ef0cd0cada97965d4cc9504b53a76b9cb9b846c64244e2896c
diff --git a/dev-ruby/minitar/metadata.xml b/dev-ruby/minitar/metadata.xml
new file mode 100644
index 000000000000..6b698bf6db4e
--- /dev/null
+++ b/dev-ruby/minitar/metadata.xml
@@ -0,0 +1,11 @@
+<?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">halostatue/minitar</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/minitar/minitar-0.8.ebuild b/dev-ruby/minitar/minitar-0.8.ebuild
new file mode 100644
index 000000000000..346189f49ddc
--- /dev/null
+++ b/dev-ruby/minitar/minitar-0.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc"
+
+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
+}