1 |
commit: 49a4bd14c0bf9c4dfdc4dbe04e2b3598ede9fe74 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 05:12:46 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 05:12:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a4bd14 |
7 |
|
8 |
dev-ruby/archive-tar-minitar: cleanup |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
.../archive-tar-minitar-0.5.4-r1.ebuild | 47 ---------------------- |
13 |
1 file changed, 47 deletions(-) |
14 |
|
15 |
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 |
16 |
deleted file mode 100644 |
17 |
index a540edc..0000000 |
18 |
--- a/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.4-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,47 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
-USE_RUBY="ruby19 ruby20" |
27 |
- |
28 |
-RUBY_FAKEGEM_TASK_TEST="" |
29 |
-RUBY_FAKEGEM_TASK_DOC="" |
30 |
- |
31 |
-RUBY_FAKEGEM_EXTRADOC="README ChangeLog" |
32 |
- |
33 |
-# We don't use RUBY_FAKEGEM_NAME here since for now we want to keep the |
34 |
-# same gem name. |
35 |
- |
36 |
-inherit ruby-fakegem |
37 |
- |
38 |
-DESCRIPTION="Provides POSIX tarchive management from Ruby programs" |
39 |
-HOMEPAGE="https://github.com/halostatue/minitar" |
40 |
-SRC_URI="mirror://rubygems/minitar-${PV}.gem" |
41 |
- |
42 |
-LICENSE="|| ( GPL-2 Ruby )" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
45 |
-IUSE="" |
46 |
- |
47 |
-RUBY_PATCHES=( |
48 |
- ${PN}-0.5.2-gentoo.patch |
49 |
- ${PN}-0.5.3-pipes.patch |
50 |
-) |
51 |
- |
52 |
-all_ruby_prepare() { |
53 |
- # ignore faulty metadata |
54 |
- rm -f ../metadata || die |
55 |
- |
56 |
- # Fix tests by using ruby19+ compatible code. |
57 |
- # Avoid failing tests. |
58 |
- # https://github.com/halostatue/minitar/issues/9 |
59 |
- sed -i -e '52 s/x\[0\]/x[0].ord/' \ |
60 |
- -e '/test_each_works/,/^ end/ s:^:#:' \ |
61 |
- -e '/test_extract_entry_works/,/^ end/ s:^:#:' tests/tc_tar.rb || die |
62 |
- |
63 |
-} |
64 |
- |
65 |
-each_ruby_test() { |
66 |
- ${RUBY} -Itests -Ctests testall.rb || die |
67 |
-} |