diff options
Diffstat (limited to 'dev-ruby/minitar')
-rw-r--r-- | dev-ruby/minitar/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/minitar/minitar-0.12.1.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/minitar/Manifest b/dev-ruby/minitar/Manifest index 19e6daa4d3d8..f6a29d44fd4e 100644 --- a/dev-ruby/minitar/Manifest +++ b/dev-ruby/minitar/Manifest @@ -1,3 +1,5 @@ +DIST minitar-0.12.1.tar.gz 33096 BLAKE2B 2277a21f7f29c52b54c26c19960970faa4a892fdb2eb3cf8825b1e668de16b2b1afe2d61dc092e56e65064f9df00945bb408c7b38499e057efc3a2c4cf9b6656 SHA512 7bd79f4a98add766e4391e1db43745c746e138ac7857bb771d8f00b4051025afcdf76af02085f601b5ad92c6c43205bd5f51a80289db14ba72f050faf5d0168e DIST minitar-0.9.tar.gz 33873 BLAKE2B 6d285c181510c96f173d850a9411da8a214459da14895e2d186ce712387d390c8ac95e27e4e768005540fdfb7463f32206085a72faf4de6b24c31cb732234260 SHA512 e3aaf0e664a985704cf9dccb72250ea2a7ebb2db9b6120590fb8d5525fe2717e0a90b3020f461ae0c4dfb19dc8728b4eeb6ba2e24ab75d12fbd7f5d98b269c79 +EBUILD minitar-0.12.1.ebuild 1115 BLAKE2B b8fbe1f4fce6271613b23ba7c62714ca47d1be99b28188aa03fffda577811d72775b52ad8a2237c09acadfcb52e0323116fb339f10e8adfebde62bbd83df790b SHA512 83065519e37a7ccc645868a46be7a014254a7eeb198927777e1387396a77198e85d4eb570f8e9b2fa4cc49e33c945466605edb7689e459b733476e3e945e75b8 EBUILD minitar-0.9-r1.ebuild 887 BLAKE2B d7f87697796b52d4043cb6f5894fbfe0eb78d8707ee7a2720f375609c975f643af7b3a0140904ff2bd00ac9046760ad2316f436dedb0430c6f0f17d686d10ef9 SHA512 6106e853aee1bf63d653cc77d8ea9a48a7c5d1657b173e6efb3dd8587e6c700d7ad5c9e205aac061115242cd333e3199d44126973efc93ceffb86bb11879f68c MISC metadata.xml 345 BLAKE2B a46be73631fb9e5d1a47518c20dd0fbf2eb23c106f53c8f2b4bb3dfb2478246c2e764310c02ac1176e602ac0bf73a4daca80c10703a59f1ac861124df41905ca SHA512 8107541ada060cd98c15f57dfb1106cda2f0c5bfc6b4907b90abd7e5e5d8cbd93b2398b057a56af221cc4adb52d063ebb70b7e41c623d5936c720008a24d5b33 diff --git a/dev-ruby/minitar/minitar-0.12.1.ebuild b/dev-ruby/minitar/minitar-0.12.1.ebuild new file mode 100644 index 000000000000..dabb510d538b --- /dev/null +++ b/dev-ruby/minitar/minitar-0.12.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="minitar.gemspec" + +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-BSD )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 )" + +all_ruby_prepare() { + sed -e '/focus/ s:^:#:' \ + -i test/minitest_helper.rb || die + + # Fix spec broken not casting write input to strings + sed -e '/def write/adat = dat.to_s' \ + -i test/test_tar_writer.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |