1 |
commit: c4b8e445253d21828eab43e7ad9261dc8e502d0c |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 31 12:04:39 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 1 06:08:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4b8e445 |
7 |
|
8 |
dev-ruby/ruby-filemagic: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
.../ruby-filemagic/ruby-filemagic-0.7.2.ebuild | 48 ---------------------- |
14 |
1 file changed, 48 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.2.ebuild b/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.2.ebuild |
17 |
deleted file mode 100644 |
18 |
index e2a30f471bf..00000000000 |
19 |
--- a/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,48 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
27 |
- |
28 |
-RUBY_FAKEGEM_TASK_DOC="" |
29 |
-RUBY_FAKEGEM_EXTRADOC="ChangeLog README TODO" |
30 |
- |
31 |
-RUBY_FAKEGEM_TASK_TEST="" |
32 |
- |
33 |
-inherit multilib ruby-fakegem |
34 |
- |
35 |
-DESCRIPTION="Ruby binding to libmagic" |
36 |
-HOMEPAGE="https://github.com/blackwinter/ruby-filemagic" |
37 |
- |
38 |
-LICENSE="Ruby" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" |
41 |
-IUSE="" |
42 |
- |
43 |
-DEPEND="${DEPEND} sys-apps/file test? ( >=sys-apps/file-5.30 )" |
44 |
-RDEPEND="${RDEPEND} sys-apps/file" |
45 |
- |
46 |
-all_ruby_prepare() { |
47 |
- # Fix up tests for newer sys-apps/file definitions |
48 |
- sed -i -e '/test_abbrev_mime_type/,/^ end/ s/ms-office/ms-excel/' test/filemagic_test.rb || die |
49 |
- |
50 |
- # Fix up broken test symlink and regenerate compiled magic file |
51 |
- pushd test || die |
52 |
- rm -f pylink && ln -s pyfile pylink || die |
53 |
- file -C -m perl || die |
54 |
- popd || die |
55 |
-} |
56 |
- |
57 |
-each_ruby_configure() { |
58 |
- ${RUBY} -Cext/filemagic extconf.rb || die |
59 |
-} |
60 |
- |
61 |
-each_ruby_compile() { |
62 |
- emake V=1 -Cext/filemagic |
63 |
- mv ext/filemagic/ruby_filemagic$(get_modname) lib/filemagic/ || die |
64 |
-} |
65 |
- |
66 |
-each_ruby_test() { |
67 |
- find test |
68 |
- ${RUBY} -Ctest -I../lib filemagic_test.rb || die |
69 |
-} |