Gentoo Archives: gentoo-commits

From: Michal Gasewicz <rozstrojenie.jazni@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/cx-oracle/
Date: Fri, 16 Jul 2021 13:21:36
Message-Id: 1626441638.ec2d1033053a7689480eba97c0c93cf7950fb038.MichalGasewicz@gentoo
1 commit: ec2d1033053a7689480eba97c0c93cf7950fb038
2 Author: Michał Gasewicz <rozstrojenie.jazni <AT> gmail <DOT> com>
3 AuthorDate: Fri Jul 16 13:20:38 2021 +0000
4 Commit: Michal Gasewicz <rozstrojenie.jazni <AT> gmail <DOT> com>
5 CommitDate: Fri Jul 16 13:20:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec2d1033
7
8 dev-python/cx-oracle: version bump, fix QA warnings
9
10 Closes: https://bugs.gentoo.org/800127
11 Closes: https://bugs.gentoo.org/800129
12 Package-Manager: Portage-3.0.20, Repoman-3.0.2
13 Signed-off-by: Michał Gasewicz <rozstrojenie.jazni <AT> gmail.com>
14
15 dev-python/cx-oracle/Manifest | 2 +-
16 .../{cx-oracle-8.1.0.ebuild => cx-oracle-8.2.1.ebuild} | 14 ++++++++++++--
17 2 files changed, 13 insertions(+), 3 deletions(-)
18
19 diff --git a/dev-python/cx-oracle/Manifest b/dev-python/cx-oracle/Manifest
20 index 3904e8d00..6c7e35094 100644
21 --- a/dev-python/cx-oracle/Manifest
22 +++ b/dev-python/cx-oracle/Manifest
23 @@ -1 +1 @@
24 -DIST cx_Oracle-8.1.0.tar.gz 343864 BLAKE2B 77d5adfe6fcc599416ba9971ae88fe7b2318440a92beb976639dfcfe4d86b1cf4c97190dccfb5d23445fce82073b276aa77c4c73d52815842f8b5aaa8c88fc62 SHA512 21dbaec1facfa38c82cd8bba788953ada098bfcdfddd29c4c6278d3c757b5b64b547a2e8e39fc998eec826f8447f07d6d48649c8dc8edc7c7244e9113d4345cc
25 +DIST cx_Oracle-8.2.1.tar.gz 359269 BLAKE2B ad972b6607a7e77794b5642bce49f494715e32e989fd7c12c3a64ea556e6967bda02f0d937e42e1dd2dae931f75c33e63fa8c13a9dcd439e85b751720773c3d1 SHA512 879f25323ea037499c773be860d7c9a4f9bc675f7107a79a1ac027db45f6a4d71b47579b656fba267b85dacb76316f012de238ffda66ea33395ce5989b982116
26
27 diff --git a/dev-python/cx-oracle/cx-oracle-8.1.0.ebuild b/dev-python/cx-oracle/cx-oracle-8.2.1.ebuild
28 similarity index 72%
29 rename from dev-python/cx-oracle/cx-oracle-8.1.0.ebuild
30 rename to dev-python/cx-oracle/cx-oracle-8.2.1.ebuild
31 index c17333427..26471d887 100644
32 --- a/dev-python/cx-oracle/cx-oracle-8.1.0.ebuild
33 +++ b/dev-python/cx-oracle/cx-oracle-8.2.1.ebuild
34 @@ -1,7 +1,7 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 +# Copyright 1999-2021 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI="7"
40 +EAPI="8"
41
42 PYTHON_COMPAT=( python3_{7,8,9} )
43
44 @@ -23,11 +23,21 @@ KEYWORDS="~amd64"
45
46 IUSE="examples"
47
48 +# Tests require local instance of Oracle DB
49 +RESTRICT="test"
50 +
51 DEPEND="dev-db/oracle-instantclient"
52 RDEPEND="${DEPEND}"
53
54 S=${WORKDIR}/${MY_P}
55
56 +python_prepare_all() {
57 + # do not install LICENSE and README to /usr/
58 + sed -i -e '/data_files/d' setup.py || die
59 +
60 + distutils-r1_python_prepare_all
61 +}
62 +
63 pkg_postinst() {
64 return
65 # no python_mod_optimize