Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/oracle-instantclient-odbc/
Date: Fri, 25 Sep 2020 19:41:15
Message-Id: 1601062864.44882095019ce24ada5fbda84805ae1ffd0b6798.bman@gentoo
1 commit: 44882095019ce24ada5fbda84805ae1ffd0b6798
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 19:27:11 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 19:41:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44882095
7
8 =dev-db/oracle-instantclient-odbc: drop old EAPI=4
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 dev-db/oracle-instantclient-odbc/Manifest | 2 -
13 .../oracle-instantclient-odbc-11.2.0.3.ebuild | 116 ---------------------
14 2 files changed, 118 deletions(-)
15
16 diff --git a/dev-db/oracle-instantclient-odbc/Manifest b/dev-db/oracle-instantclient-odbc/Manifest
17 index b18e4f9979f..0653181c4ad 100644
18 --- a/dev-db/oracle-instantclient-odbc/Manifest
19 +++ b/dev-db/oracle-instantclient-odbc/Manifest
20 @@ -1,4 +1,2 @@
21 -DIST instantclient-odbc-linux-11.2.0.3.0.zip 273840 BLAKE2B 54fd920bb69a12f2df387e89907c6c2a64f05fd611cb53737d6773752c3a08fbe4cb36cc43017a62e7861cd6245b4d92cbf635fabc921c0aeeaa8d00f9e012d5 SHA512 4d928e9eb3deb26db7a95a0e5417bd9355e97956d9394dc2792752fd45002b0abc3463fbb7f337f4731084aa6006d1ff635443c5503f94c6bd97d1bae7245885
22 DIST instantclient-odbc-linux-11.2.0.4.0.zip 274999 BLAKE2B 33855608fcd61a7f4ebcab3f969b028069d636d5a709676c07733aeb20dcb4335f485844ec72cb0816307e36c7f0b6748c08ea6e5c67c853999ddc1b0c23eae8 SHA512 64d75c6f9aa4e5b74da12a2a293e6ee7017017a12a724596d51606d3a8d7a9d9653c158d389a5faeb02893ca6a6a93650605d71f885f9439427847583f5cc820
23 -DIST instantclient-odbc-linux.x64-11.2.0.3.0.zip 309061 BLAKE2B 9ddd2569364a383f525052d4c795c423ed4b44a588ec4e11e5f5130604b6d74b4ede2afdb326023d8a0167b1522669c9acc6f9e74928423f62d08c93404cd98d SHA512 a18c040fc780f893ea22fd6c79b3299d9327975a768a6518622a8ff522dd29a7019494ca7a1227483098f13afe1af1655611a32e06806bab94ab2fce2dc55e3a
24 DIST instantclient-odbc-linux.x64-11.2.0.4.0.zip 310560 BLAKE2B dc97373ac00f07b4d02beb45ed053d5aa8909fc380990426c118e3fb42b08e8e5e699a518aa137b3fe159107c73929e61d59c997e741a343803f5c26036adf9b SHA512 19f999207e5ea2b5db18b40c0eb40c6ec1ea8a3117915a723338e5c423122b747c5e371446d631c00a5c01005453f85da1d2e680a2c1771a495dc0b68812df69
25
26 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
27 deleted file mode 100644
28 index e0fbfdf509a..00000000000
29 --- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.3.ebuild
30 +++ /dev/null
31 @@ -1,116 +0,0 @@
32 -# Copyright 1999-2012 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="4"
36 -
37 -inherit eutils multilib
38 -
39 -MY_PLAT_x86="Linux x86"
40 -MY_A_x86="${PN/oracle-/}-linux-${PV}.0.zip"
41 -
42 -MY_PLAT_amd64="Linux x86-64"
43 -MY_A_amd64="${PN/oracle-/}-linux.x64-${PV}.0.zip"
44 -
45 -DESCRIPTION="Oracle 11g Instant Client: ODBC supplement"
46 -HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
47 -SRC_URI="
48 - x86? ( ${MY_A_x86} )
49 - amd64? ( ${MY_A_amd64} multilib? ( ${MY_A_x86} ) )
50 -"
51 -
52 -LICENSE="OTN"
53 -SLOT="0"
54 -KEYWORDS="amd64 x86"
55 -RESTRICT="fetch"
56 -IUSE="multilib"
57 -
58 -DEPEND="app-arch/unzip"
59 -RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
60 -
61 -S="${WORKDIR}"
62 -
63 -QA_PREBUILT="usr/lib*/oracle/${PV}/client/lib*/lib*"
64 -
65 -default_abi() {
66 - [[ ${DEFAULT_ABI} == 'default' ]] && echo ${ARCH} || echo ${DEFAULT_ABI}
67 -}
68 -
69 -abi_list() {
70 - if use multilib; then
71 - echo ${MULTILIB_ABIS}
72 - else
73 - default_abi
74 - fi
75 - return 0
76 -}
77 -
78 -set_abivars() {
79 - local abi=$1
80 - # platform name
81 - MY_PLAT=MY_PLAT_${abi}
82 - MY_PLAT=${!MY_PLAT}
83 - # runtime distfile
84 - MY_A=MY_A_${abi}
85 - MY_A=${!MY_A}
86 - # abi sourcedir
87 - MY_S="${S}/${abi}/instantclient_11_2"
88 - # ABI might not need to be set at all
89 - [[ -n ${ABI} ]] && MY_ABI=${abi} || MY_ABI=
90 - # abi libdir
91 - MY_LIBDIR=$(ABI=${MY_ABI} get_libdir)
92 -}
93 -
94 -pkg_nofetch() {
95 - eerror "Please go to"
96 - eerror " ${HOMEPAGE%/*}/index-097480.html"
97 - eerror " and download"
98 - local abi
99 - for abi in $(abi_list)
100 - do
101 - set_abivars ${abi}
102 - eerror "Instant Client for ${MY_PLAT}"
103 - eerror " ODBC: ${MY_A}"
104 - done
105 - eerror "After downloading, put them in:"
106 - eerror " ${DISTDIR}/"
107 -}
108 -
109 -src_unpack() {
110 - local abi
111 - for abi in $(abi_list)
112 - do
113 - set_abivars ${abi}
114 - mkdir -p "${MY_S%/*}" || die
115 - cd "${MY_S%/*}" || die
116 - unpack ${MY_A}
117 - done
118 -}
119 -
120 -src_install() {
121 - # all binaries go here
122 - local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client
123 - into "${oracle_home}"
124 -
125 - local abi
126 - for abi in $(abi_list)
127 - do
128 - set_abivars ${abi}
129 - einfo "Installing runtime for ${MY_PLAT} ..."
130 -
131 - cd "${MY_S}" || die
132 -
133 - ABI=${MY_ABI} dolib.so libsqora*$(get_libname)*
134 -
135 - # ensure to be linkable
136 - [[ -e libsqora$(get_libname) ]] ||
137 - dosym libsqora$(get_libname 11.1) \
138 - "${oracle_home}"/${MY_LIBDIR}/libsqora$(get_libname)
139 -
140 - eend $?
141 - done
142 -
143 - set_abivars $(default_abi)
144 - cd "${MY_S}" || die
145 - dobin odbc_update_ini.sh
146 - dodoc *htm*
147 -}