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