1 |
commit: 7c7421b94608695518c6aa325f4cb20dabf11def |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 27 09:05:48 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 27 09:13:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c7421b9 |
7 |
|
8 |
dev-ruby/ruby-odbc: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-ruby/ruby-odbc/Manifest | 1 - |
13 |
dev-ruby/ruby-odbc/ruby-odbc-0.99998.ebuild | 61 ----------------------------- |
14 |
2 files changed, 62 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest |
17 |
index cd930561fb8..b3fd4b0da77 100644 |
18 |
--- a/dev-ruby/ruby-odbc/Manifest |
19 |
+++ b/dev-ruby/ruby-odbc/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST ruby-odbc-0.99997.tar.gz 76708 BLAKE2B d122e7f2cccd305731ba598ca684761daab288903e0f3866735b2672f20a9c6b55ed74d768bd4f79a03e0d743b4dff4704f465e58ed331ce37762ba9f7c1e871 SHA512 15ea850efa9f65467ea829c93f7dc9ecbef9409876b19d0a309d085b20e711da2888b918f77fcd26e6a40096358eab836d6bc3000c534da88f4f3c2b60a8662a |
22 |
-DIST ruby-odbc-0.99998.tar.gz 76810 BLAKE2B 97422dcd52bafad196fe9ccc7005c1ceae31649231fb62ccb00e45ccecbf46e9c679ff4ef905364b1fa05062aba9054d8c1b89025323b220a0c9893c22fd5fd0 SHA512 c983ca10cd21255d2a927deaac9c4689251f1149cc3c5b0b2a5578d5abdf2eb030a0bd726761eeb07abfb470e611316239de899d4739f4a380a598f4e0881f57 |
23 |
DIST ruby-odbc-0.99999.tar.gz 76934 BLAKE2B 59de5a544b7eefe8e181f2c6a9a61915361743ef5f7554f778667b50ca0dc57fd0c4f71e406ad6f1d00fb2c6a6509030e61ad34dddecff61896f7bfe383d0a9b SHA512 05e3e67a895406e1a57fbea6f8ecd1c087d836794ea3245bd9eec888eb3c46fa2bf2607cc1b8fdc416d7bc531d783d621c03c9fde004db8c2e431fe838c531af |
24 |
|
25 |
diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.99998.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.99998.ebuild |
26 |
deleted file mode 100644 |
27 |
index 31c808eaa54..00000000000 |
28 |
--- a/dev-ruby/ruby-odbc/ruby-odbc-0.99998.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,61 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-USE_RUBY="ruby22 ruby23 ruby24 ruby25" |
37 |
- |
38 |
-RUBY_FAKEGEM_TASK_TEST="" |
39 |
-RUBY_FAKEGEM_TASK_DOC="" |
40 |
-RUBY_FAKEGEM_EXTRADOC="README ChangeLog" |
41 |
- |
42 |
-inherit ruby-fakegem |
43 |
- |
44 |
-DESCRIPTION="RubyODBC - For accessing ODBC data sources from the Ruby language" |
45 |
-HOMEPAGE="http://www.ch-werner.de/rubyodbc/" |
46 |
-SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="|| ( GPL-2 Ruby )" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~ppc ~x86" |
51 |
-IUSE="" |
52 |
- |
53 |
-DEPEND="${DEPEND} >=dev-db/unixODBC-2.0.6" |
54 |
-RDEPEND="${RDEPEND} >=dev-db/unixODBC-2.0.6" |
55 |
- |
56 |
-# tests require to have an ODBC service enabled, so we can't run them |
57 |
-# for now :( |
58 |
-RESTRICT=test |
59 |
- |
60 |
-all_ruby_prepare() { |
61 |
- # Make sure that it doesn't try to use the absolute-local path for |
62 |
- # the extension as we'd be unable to run it properly otherwise. |
63 |
- sed -i -e 's:\./odbc:odbc:' test/{,utf8/}test.rb || die |
64 |
- |
65 |
- # Since lib should not get installed avoid it entirely… |
66 |
- mv lib contrib || die |
67 |
-} |
68 |
- |
69 |
-each_ruby_configure() { |
70 |
- for dir in ext ext/utf8; do |
71 |
- ${RUBY} -C${dir} extconf.rb --disable-dlopen || die "extconf (${dir}) failed" |
72 |
- done |
73 |
-} |
74 |
- |
75 |
-each_ruby_compile() { |
76 |
- for dir in ext ext/utf8; do |
77 |
- emake V=1 -C${dir} || die "emake (${dir}) failed" |
78 |
- done |
79 |
-} |
80 |
- |
81 |
-each_ruby_install() { |
82 |
- each_fakegem_install |
83 |
- |
84 |
- ruby_fakegem_newins ext/odbc.so lib/odbc.so |
85 |
- ruby_fakegem_newins ext/utf8/odbc_utf8.so lib/odbc_utf8.so |
86 |
-} |
87 |
- |
88 |
-all_ruby_install() { |
89 |
- all_fakegem_install |
90 |
- dohtml doc/*.html || die |
91 |
-} |