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-sqlplus/
Date: Fri, 02 Oct 2020 00:17:44
Message-Id: 1601597836.5e458e608db3e4be217a845e1a10029e112fdb63.sam@gentoo
1 commit: 5e458e608db3e4be217a845e1a10029e112fdb63
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 00:17:16 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 00:17:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e458e60
7
8 dev-db/oracle-instantclient-sqlplus: 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-sqlplus/Manifest | 2 -
15 .../oracle-instantclient-sqlplus-11.2.0.4.ebuild | 70 ----------------------
16 2 files changed, 72 deletions(-)
17
18 diff --git a/dev-db/oracle-instantclient-sqlplus/Manifest b/dev-db/oracle-instantclient-sqlplus/Manifest
19 deleted file mode 100644
20 index 1425c27a01d..00000000000
21 --- a/dev-db/oracle-instantclient-sqlplus/Manifest
22 +++ /dev/null
23 @@ -1,2 +0,0 @@
24 -DIST instantclient-sqlplus-linux-11.2.0.4.0.zip 792608 BLAKE2B c3e8f0843700df9f95428b01520400d95076df5e19169f2a79982293e54ce6cc74321de0f34a0e7865d5d29535e38b60bcca127be06343c979a40985bf349012 SHA512 8f5ff27043a036eab038080bbdc056325cc2c197e12de34e74a8da17bf69b44e4fd4200b638881d86fdf1dc1450d8e1d033daaa56386bd2c8784d556ba0093ce
25 -DIST instantclient-sqlplus-linux.x64-11.2.0.4.0.zip 834491 BLAKE2B 487091d97c0f2ec383018c39a957c8a27b030c4c8754a6c2714237dc875b89b250b47dbd28ca228a98c6199323ddd031452e1cc90c60824fbcca536aa38bff1f SHA512 b7180b5667e604564cf379b9eb55a2fc8994b87cfb993e728b4c1bdd297cab134a55580018429bdbb2b101ebdf8a350bacc1ddf5a30e1cc419092054c79a108b
26
27 diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.4.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.4.ebuild
28 deleted file mode 100644
29 index c01045c3709..00000000000
30 --- a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.4.ebuild
31 +++ /dev/null
32 @@ -1,70 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="4"
37 -
38 -inherit eutils pax-utils
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: SQL*Plus"
47 -HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
48 -SRC_URI="
49 - x86? ( ${MY_A_x86} )
50 - amd64? ( ${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}"/instantclient_11_2
63 -
64 -QA_PREBUILT="
65 - usr/lib*/oracle/${PV}/client/lib*/lib*
66 - usr/lib*/oracle/${PV}/client/bin/sqlplus
67 -"
68 -
69 -my_arch() {
70 - # platform name
71 - MY_PLAT=MY_PLAT_${ARCH}
72 - export MY_PLAT=${!MY_PLAT}
73 - # distfile
74 - MY_A=MY_A_${ARCH}
75 - export MY_A=${!MY_A}
76 -}
77 -
78 -pkg_nofetch() {
79 - my_arch
80 - eerror "Please go to"
81 - eerror " ${HOMEPAGE%/*}/index-097480.html"
82 - eerror " and download"
83 - eerror "Instant Client for ${MY_PLAT}"
84 - eerror " SQL*Plus: ${MY_A}"
85 - eerror "After downloading, put it into your DISTDIR directory."
86 -}
87 -
88 -src_install() {
89 - # all binaries go here
90 - local oracle_home=usr/$(get_libdir)/oracle/${PV}/client
91 - into /"${oracle_home}"
92 -
93 - dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
94 - dobin sqlplus
95 -
96 - insinto /"${oracle_home}"/sqlplus/admin
97 - doins glogin.sql
98 -
99 - pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die
100 -
101 - dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
102 -}