diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-04-27 07:12:46 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-04-27 07:12:46 +0200 |
commit | 49a4bd14c0bf9c4dfdc4dbe04e2b3598ede9fe74 (patch) | |
tree | 9d37e9be898fd31118de5b7da491058de6d7d542 /dev-ruby/archive-tar-minitar | |
parent | dev-ruby/archive-tar-minitar: mark ruby21 revision stable (diff) | |
download | gentoo-49a4bd14c0bf9c4dfdc4dbe04e2b3598ede9fe74.tar.gz gentoo-49a4bd14c0bf9c4dfdc4dbe04e2b3598ede9fe74.tar.bz2 gentoo-49a4bd14c0bf9c4dfdc4dbe04e2b3598ede9fe74.zip |
dev-ruby/archive-tar-minitar: cleanup
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/archive-tar-minitar')
-rw-r--r-- | dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.4-r1.ebuild | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.4-r1.ebuild b/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.4-r1.ebuild deleted file mode 100644 index a540edc3241c..000000000000 --- a/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.4-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby19 ruby20" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRADOC="README ChangeLog" - -# We don't use RUBY_FAKEGEM_NAME here since for now we want to keep the -# same gem name. - -inherit ruby-fakegem - -DESCRIPTION="Provides POSIX tarchive management from Ruby programs" -HOMEPAGE="https://github.com/halostatue/minitar" -SRC_URI="mirror://rubygems/minitar-${PV}.gem" - -LICENSE="|| ( GPL-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_PATCHES=( - ${PN}-0.5.2-gentoo.patch - ${PN}-0.5.3-pipes.patch -) - -all_ruby_prepare() { - # ignore faulty metadata - rm -f ../metadata || die - - # Fix tests by using ruby19+ compatible code. - # Avoid failing tests. - # https://github.com/halostatue/minitar/issues/9 - sed -i -e '52 s/x\[0\]/x[0].ord/' \ - -e '/test_each_works/,/^ end/ s:^:#:' \ - -e '/test_extract_entry_works/,/^ end/ s:^:#:' tests/tc_tar.rb || die - -} - -each_ruby_test() { - ${RUBY} -Itests -Ctests testall.rb || die -} |