Gentoo Archives: gentoo-commits

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/oracle-instantclient-odbc/
Date: Mon, 09 Jul 2018 14:58:16
Message-Id: 1531148252.99e250cc469bb522c3724e3fd3104258cfd96317.haubi@gentoo
1 commit: 99e250cc469bb522c3724e3fd3104258cfd96317
2 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 9 14:51:39 2018 +0000
4 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 9 14:57:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e250cc
7
8 dev-db/oracle-instantclient-odbc: cleanup old
9
10 Bug: https://bugs.gentoo.org/589146
11 Package-Manager: Portage-2.3.24, Repoman-2.3.6
12
13 dev-db/oracle-instantclient-odbc/Manifest | 4 -
14 .../oracle-instantclient-odbc-11.2.0.3.ebuild | 116 ---------------------
15 .../oracle-instantclient-odbc-11.2.0.4.ebuild | 96 -----------------
16 3 files changed, 216 deletions(-)
17
18 diff --git a/dev-db/oracle-instantclient-odbc/Manifest b/dev-db/oracle-instantclient-odbc/Manifest
19 deleted file mode 100644
20 index b18e4f9979f..00000000000
21 --- a/dev-db/oracle-instantclient-odbc/Manifest
22 +++ /dev/null
23 @@ -1,4 +0,0 @@
24 -DIST instantclient-odbc-linux-11.2.0.3.0.zip 273840 BLAKE2B 54fd920bb69a12f2df387e89907c6c2a64f05fd611cb53737d6773752c3a08fbe4cb36cc43017a62e7861cd6245b4d92cbf635fabc921c0aeeaa8d00f9e012d5 SHA512 4d928e9eb3deb26db7a95a0e5417bd9355e97956d9394dc2792752fd45002b0abc3463fbb7f337f4731084aa6006d1ff635443c5503f94c6bd97d1bae7245885
25 -DIST instantclient-odbc-linux-11.2.0.4.0.zip 274999 BLAKE2B 33855608fcd61a7f4ebcab3f969b028069d636d5a709676c07733aeb20dcb4335f485844ec72cb0816307e36c7f0b6748c08ea6e5c67c853999ddc1b0c23eae8 SHA512 64d75c6f9aa4e5b74da12a2a293e6ee7017017a12a724596d51606d3a8d7a9d9653c158d389a5faeb02893ca6a6a93650605d71f885f9439427847583f5cc820
26 -DIST instantclient-odbc-linux.x64-11.2.0.3.0.zip 309061 BLAKE2B 9ddd2569364a383f525052d4c795c423ed4b44a588ec4e11e5f5130604b6d74b4ede2afdb326023d8a0167b1522669c9acc6f9e74928423f62d08c93404cd98d SHA512 a18c040fc780f893ea22fd6c79b3299d9327975a768a6518622a8ff522dd29a7019494ca7a1227483098f13afe1af1655611a32e06806bab94ab2fce2dc55e3a
27 -DIST instantclient-odbc-linux.x64-11.2.0.4.0.zip 310560 BLAKE2B dc97373ac00f07b4d02beb45ed053d5aa8909fc380990426c118e3fb42b08e8e5e699a518aa137b3fe159107c73929e61d59c997e741a343803f5c26036adf9b SHA512 19f999207e5ea2b5db18b40c0eb40c6ec1ea8a3117915a723338e5c423122b747c5e371446d631c00a5c01005453f85da1d2e680a2c1771a495dc0b68812df69
28
29 diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.3.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.3.ebuild
30 deleted file mode 100644
31 index e0fbfdf509a..00000000000
32 --- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.3.ebuild
33 +++ /dev/null
34 @@ -1,116 +0,0 @@
35 -# Copyright 1999-2012 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI="4"
39 -
40 -inherit eutils multilib
41 -
42 -MY_PLAT_x86="Linux x86"
43 -MY_A_x86="${PN/oracle-/}-linux-${PV}.0.zip"
44 -
45 -MY_PLAT_amd64="Linux x86-64"
46 -MY_A_amd64="${PN/oracle-/}-linux.x64-${PV}.0.zip"
47 -
48 -DESCRIPTION="Oracle 11g Instant Client: ODBC supplement"
49 -HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
50 -SRC_URI="
51 - x86? ( ${MY_A_x86} )
52 - amd64? ( ${MY_A_amd64} multilib? ( ${MY_A_x86} ) )
53 -"
54 -
55 -LICENSE="OTN"
56 -SLOT="0"
57 -KEYWORDS="amd64 x86"
58 -RESTRICT="fetch"
59 -IUSE="multilib"
60 -
61 -DEPEND="app-arch/unzip"
62 -RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
63 -
64 -S="${WORKDIR}"
65 -
66 -QA_PREBUILT="usr/lib*/oracle/${PV}/client/lib*/lib*"
67 -
68 -default_abi() {
69 - [[ ${DEFAULT_ABI} == 'default' ]] && echo ${ARCH} || echo ${DEFAULT_ABI}
70 -}
71 -
72 -abi_list() {
73 - if use multilib; then
74 - echo ${MULTILIB_ABIS}
75 - else
76 - default_abi
77 - fi
78 - return 0
79 -}
80 -
81 -set_abivars() {
82 - local abi=$1
83 - # platform name
84 - MY_PLAT=MY_PLAT_${abi}
85 - MY_PLAT=${!MY_PLAT}
86 - # runtime distfile
87 - MY_A=MY_A_${abi}
88 - MY_A=${!MY_A}
89 - # abi sourcedir
90 - MY_S="${S}/${abi}/instantclient_11_2"
91 - # ABI might not need to be set at all
92 - [[ -n ${ABI} ]] && MY_ABI=${abi} || MY_ABI=
93 - # abi libdir
94 - MY_LIBDIR=$(ABI=${MY_ABI} get_libdir)
95 -}
96 -
97 -pkg_nofetch() {
98 - eerror "Please go to"
99 - eerror " ${HOMEPAGE%/*}/index-097480.html"
100 - eerror " and download"
101 - local abi
102 - for abi in $(abi_list)
103 - do
104 - set_abivars ${abi}
105 - eerror "Instant Client for ${MY_PLAT}"
106 - eerror " ODBC: ${MY_A}"
107 - done
108 - eerror "After downloading, put them in:"
109 - eerror " ${DISTDIR}/"
110 -}
111 -
112 -src_unpack() {
113 - local abi
114 - for abi in $(abi_list)
115 - do
116 - set_abivars ${abi}
117 - mkdir -p "${MY_S%/*}" || die
118 - cd "${MY_S%/*}" || die
119 - unpack ${MY_A}
120 - done
121 -}
122 -
123 -src_install() {
124 - # all binaries go here
125 - local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client
126 - into "${oracle_home}"
127 -
128 - local abi
129 - for abi in $(abi_list)
130 - do
131 - set_abivars ${abi}
132 - einfo "Installing runtime for ${MY_PLAT} ..."
133 -
134 - cd "${MY_S}" || die
135 -
136 - ABI=${MY_ABI} dolib.so libsqora*$(get_libname)*
137 -
138 - # ensure to be linkable
139 - [[ -e libsqora$(get_libname) ]] ||
140 - dosym libsqora$(get_libname 11.1) \
141 - "${oracle_home}"/${MY_LIBDIR}/libsqora$(get_libname)
142 -
143 - eend $?
144 - done
145 -
146 - set_abivars $(default_abi)
147 - cd "${MY_S}" || die
148 - dobin odbc_update_ini.sh
149 - dodoc *htm*
150 -}
151
152 diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.4.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.4.ebuild
153 deleted file mode 100644
154 index 716c88d51ca..00000000000
155 --- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.4.ebuild
156 +++ /dev/null
157 @@ -1,96 +0,0 @@
158 -# Copyright 1999-2015 Gentoo Foundation
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI="4"
162 -
163 -inherit eutils multilib-minimal
164 -
165 -MY_PLAT_x86="Linux x86"
166 -MY_A_x86="${PN/oracle-/}-linux-${PV}.0.zip"
167 -
168 -MY_PLAT_amd64="Linux x86-64"
169 -MY_A_amd64="${PN/oracle-/}-linux.x64-${PV}.0.zip"
170 -
171 -DESCRIPTION="Oracle 11g Instant Client: ODBC supplement"
172 -HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
173 -SRC_URI="
174 - abi_x86_32? ( ${MY_A_x86} )
175 - abi_x86_64? ( ${MY_A_amd64} )
176 -"
177 -
178 -LICENSE="OTN"
179 -SLOT="0"
180 -KEYWORDS="amd64 x86"
181 -RESTRICT="fetch splitdebug"
182 -IUSE=""
183 -
184 -DEPEND="app-arch/unzip"
185 -RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
186 -
187 -S="${WORKDIR}"
188 -
189 -QA_PREBUILT="usr/lib*/oracle/${PV}/client/lib*/lib*"
190 -
191 -set_my_abivars() {
192 - MY_PLAT=MY_PLAT_${ABI}; MY_PLAT=${!MY_PLAT} # platform name
193 - MY_A=MY_A_${ABI} ; MY_A=${!MY_A} # runtime distfile
194 - # ABI sourcedir
195 - MY_S="${S}/${ABI}/instantclient_11_2"
196 -
197 - [[ -n ${MY_PLAT} ]]
198 -}
199 -
200 -pkg_nofetch() {
201 - eerror "Please go to"
202 - eerror " ${HOMEPAGE%/*}/index-097480.html"
203 - eerror " and download"
204 - local ABI
205 - for ABI in $(multilib_get_enabled_abis)
206 - do
207 - set_my_abivars || continue
208 - eerror "Instant Client for ${MY_PLAT}"
209 - eerror " ODBC: ${MY_A}"
210 - done
211 - eerror "After downloading, put them in:"
212 - eerror " ${DISTDIR}/"
213 -}
214 -
215 -src_unpack() {
216 - local ABI
217 - for ABI in $(multilib_get_enabled_abis)
218 - do
219 - set_my_abivars || continue
220 - mkdir -p "${MY_S%/*}" || die
221 - cd "${MY_S%/*}" || die
222 - unpack ${MY_A}
223 - done
224 -}
225 -
226 -src_install() {
227 - # all binaries go here
228 - local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client
229 - into "${oracle_home}"
230 -
231 - local ABI
232 - for ABI in $(multilib_get_enabled_abis)
233 - do
234 - if ! set_my_abivars; then
235 - elog "Skipping unsupported ABI ${ABI}."
236 - continue
237 - fi
238 - einfo "Installing runtime for ${MY_PLAT} ..."
239 -
240 - cd "${MY_S}" || die
241 -
242 - dolib.so libsqora*$(get_libname)*
243 -
244 - # ensure to be linkable
245 - [[ -e libsqora$(get_libname) ]] ||
246 - dosym libsqora$(get_libname 11.1) "${oracle_home}"/$(get_libdir)/libsqora$(get_libname)
247 -
248 - eend $?
249 - done
250 -
251 - dobin odbc_update_ini.sh
252 - dodoc *htm*
253 -}