diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-02-10 07:59:27 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-02-10 08:25:17 +0100 |
commit | 0664ee9624c5a5369fb5b2ae9bea07694a9ffe72 (patch) | |
tree | 71a464d5478abdccd5a9b513e2c5822e84d86f98 /dev-ruby | |
parent | dev-ruby/puppet_forge: fix gemspec to match deps in ebuild (diff) | |
download | gentoo-0664ee9624c5a5369fb5b2ae9bea07694a9ffe72.tar.gz gentoo-0664ee9624c5a5369fb5b2ae9bea07694a9ffe72.tar.bz2 gentoo-0664ee9624c5a5369fb5b2ae9bea07694a9ffe72.zip |
dev-ruby/minitar: initial import of 0.8
This is a renamed and partially split version of
dev-ruby/archive-tar-minitar.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/minitar/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/minitar/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/minitar/minitar-0.8.ebuild | 28 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/minitar/Manifest b/dev-ruby/minitar/Manifest new file mode 100644 index 000000000000..4ad862807393 --- /dev/null +++ b/dev-ruby/minitar/Manifest @@ -0,0 +1 @@ +DIST minitar-0.8.tar.gz 33632 BLAKE2B b576c74cfd59893d4c0c935703453551f9a0ca6258bc6a2b1ecb3151a44ff166607931e554c811fffb489b6398123cd9e8e58372a94b303df45d88ef903868ad SHA512 cab4798b98d91a17dd5ce4aed3f6fd166dab61e8c9e3bef3df218944fe1657a9ec9d40a52ab2773430070e50410c401da799469b096dcc2b22d6466da1e50b8d 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 +} |