diff --git a/dev-python/cx-oracle/Manifest b/dev-python/cx-oracle/Manifest index 3904e8d005..6c7e35094d 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 c173334274..dd28d13b54 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