commit:     b00b1a50c3fca0a00b6371aa0f0385a9a3fde5da
Author:     Michał Gasewicz <rozstrojenie.jazni <AT> gmail <DOT> com>
AuthorDate: Fri Jul 16 11:56:01 2021 +0000
Commit:     Michal Gasewicz <rozstrojenie.jazni <AT> gmail <DOT> com>
CommitDate: Fri Jul 16 11:56:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b00b1a50

dev-python/cx-oracle:

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Michał Gasewicz <rozstrojenie.jazni <AT> gmail.com>

 dev-python/cx-oracle/Manifest                                |  2 +-
 .../{cx-oracle-8.1.0.ebuild => cx-oracle-8.2.1.ebuild}       | 12 +++++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-python/cx-oracle/Manifest b/dev-python/cx-oracle/Manifest
index 3904e8d00..6c7e35094 100644
--- a/dev-python/cx-oracle/Manifest
+++ b/dev-python/cx-oracle/Manifest
@@ -1 +1 @@
-DIST cx_Oracle-8.1.0.tar.gz 343864 BLAKE2B 
77d5adfe6fcc599416ba9971ae88fe7b2318440a92beb976639dfcfe4d86b1cf4c97190dccfb5d23445fce82073b276aa77c4c73d52815842f8b5aaa8c88fc62
 SHA512 
21dbaec1facfa38c82cd8bba788953ada098bfcdfddd29c4c6278d3c757b5b64b547a2e8e39fc998eec826f8447f07d6d48649c8dc8edc7c7244e9113d4345cc
+DIST cx_Oracle-8.2.1.tar.gz 359269 BLAKE2B 
ad972b6607a7e77794b5642bce49f494715e32e989fd7c12c3a64ea556e6967bda02f0d937e42e1dd2dae931f75c33e63fa8c13a9dcd439e85b751720773c3d1
 SHA512 
879f25323ea037499c773be860d7c9a4f9bc675f7107a79a1ac027db45f6a4d71b47579b656fba267b85dacb76316f012de238ffda66ea33395ce5989b982116

diff --git a/dev-python/cx-oracle/cx-oracle-8.1.0.ebuild 
b/dev-python/cx-oracle/cx-oracle-8.2.1.ebuild
similarity index 73%
rename from dev-python/cx-oracle/cx-oracle-8.1.0.ebuild
rename to dev-python/cx-oracle/cx-oracle-8.2.1.ebuild
index c17333427..dd28d13b5 100644
--- a/dev-python/cx-oracle/cx-oracle-8.1.0.ebuild
+++ b/dev-python/cx-oracle/cx-oracle-8.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -23,11 +23,21 @@ KEYWORDS="~amd64"
 
 IUSE="examples"
 
+# Tests require local instance of Oracle DB
+RESTRICT="test"
+
 DEPEND="dev-db/oracle-instantclient"
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${MY_P}
 
+python_prepare_all() {
+       # do not install LICENSE and README to /usr/
+       sed -i -e '/data_files/d' setup.py || die
+
+       distutils-r1_python_prepare_all
+}
+
 pkg_postinst() {
        return
        # no python_mod_optimize

Reply via email to