Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/oracle-instantclient-odbc/
Date: Fri, 02 Oct 2020 00:17:44
Message-Id: 1601597817.41f41494b08b61f94a11619c78d292b42bf59797.sam@gentoo
1 commit: 41f41494b08b61f94a11619c78d292b42bf59797
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 00:16:57 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 00:16:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f41494
7
8 dev-db/oracle-instantclient-odbc: cleanup old EAPI 4
9
10 Bug: https://bugs.gentoo.org/744721
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-db/oracle-instantclient-odbc/Manifest | 2 -
15 .../oracle-instantclient-odbc-11.2.0.4.ebuild | 96 ----------------------
16 2 files changed, 98 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 0653181c4ad..00000000000
21 --- a/dev-db/oracle-instantclient-odbc/Manifest
22 +++ /dev/null
23 @@ -1,2 +0,0 @@
24 -DIST instantclient-odbc-linux-11.2.0.4.0.zip 274999 BLAKE2B 33855608fcd61a7f4ebcab3f969b028069d636d5a709676c07733aeb20dcb4335f485844ec72cb0816307e36c7f0b6748c08ea6e5c67c853999ddc1b0c23eae8 SHA512 64d75c6f9aa4e5b74da12a2a293e6ee7017017a12a724596d51606d3a8d7a9d9653c158d389a5faeb02893ca6a6a93650605d71f885f9439427847583f5cc820
25 -DIST instantclient-odbc-linux.x64-11.2.0.4.0.zip 310560 BLAKE2B dc97373ac00f07b4d02beb45ed053d5aa8909fc380990426c118e3fb42b08e8e5e699a518aa137b3fe159107c73929e61d59c997e741a343803f5c26036adf9b SHA512 19f999207e5ea2b5db18b40c0eb40c6ec1ea8a3117915a723338e5c423122b747c5e371446d631c00a5c01005453f85da1d2e680a2c1771a495dc0b68812df69
26
27 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
28 deleted file mode 100644
29 index 716c88d51ca..00000000000
30 --- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.4.ebuild
31 +++ /dev/null
32 @@ -1,96 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="4"
37 -
38 -inherit eutils multilib-minimal
39 -
40 -MY_PLAT_x86="Linux x86"
41 -MY_A_x86="${PN/oracle-/}-linux-${PV}.0.zip"
42 -
43 -MY_PLAT_amd64="Linux x86-64"
44 -MY_A_amd64="${PN/oracle-/}-linux.x64-${PV}.0.zip"
45 -
46 -DESCRIPTION="Oracle 11g Instant Client: ODBC supplement"
47 -HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
48 -SRC_URI="
49 - abi_x86_32? ( ${MY_A_x86} )
50 - abi_x86_64? ( ${MY_A_amd64} )
51 -"
52 -
53 -LICENSE="OTN"
54 -SLOT="0"
55 -KEYWORDS="amd64 x86"
56 -RESTRICT="fetch splitdebug"
57 -IUSE=""
58 -
59 -DEPEND="app-arch/unzip"
60 -RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
61 -
62 -S="${WORKDIR}"
63 -
64 -QA_PREBUILT="usr/lib*/oracle/${PV}/client/lib*/lib*"
65 -
66 -set_my_abivars() {
67 - MY_PLAT=MY_PLAT_${ABI}; MY_PLAT=${!MY_PLAT} # platform name
68 - MY_A=MY_A_${ABI} ; MY_A=${!MY_A} # runtime distfile
69 - # ABI sourcedir
70 - MY_S="${S}/${ABI}/instantclient_11_2"
71 -
72 - [[ -n ${MY_PLAT} ]]
73 -}
74 -
75 -pkg_nofetch() {
76 - eerror "Please go to"
77 - eerror " ${HOMEPAGE%/*}/index-097480.html"
78 - eerror " and download"
79 - local ABI
80 - for ABI in $(multilib_get_enabled_abis)
81 - do
82 - set_my_abivars || continue
83 - eerror "Instant Client for ${MY_PLAT}"
84 - eerror " ODBC: ${MY_A}"
85 - done
86 - eerror "After downloading, put them in:"
87 - eerror " ${DISTDIR}/"
88 -}
89 -
90 -src_unpack() {
91 - local ABI
92 - for ABI in $(multilib_get_enabled_abis)
93 - do
94 - set_my_abivars || continue
95 - mkdir -p "${MY_S%/*}" || die
96 - cd "${MY_S%/*}" || die
97 - unpack ${MY_A}
98 - done
99 -}
100 -
101 -src_install() {
102 - # all binaries go here
103 - local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client
104 - into "${oracle_home}"
105 -
106 - local ABI
107 - for ABI in $(multilib_get_enabled_abis)
108 - do
109 - if ! set_my_abivars; then
110 - elog "Skipping unsupported ABI ${ABI}."
111 - continue
112 - fi
113 - einfo "Installing runtime for ${MY_PLAT} ..."
114 -
115 - cd "${MY_S}" || die
116 -
117 - dolib.so libsqora*$(get_libname)*
118 -
119 - # ensure to be linkable
120 - [[ -e libsqora$(get_libname) ]] ||
121 - dosym libsqora$(get_libname 11.1) "${oracle_home}"/$(get_libdir)/libsqora$(get_libname)
122 -
123 - eend $?
124 - done
125 -
126 - dobin odbc_update_ini.sh
127 - dodoc *htm*
128 -}