commit: ec2d1033053a7689480eba97c0c93cf7950fb038 Author: Michał Gasewicz <rozstrojenie.jazni <AT> gmail <DOT> com> AuthorDate: Fri Jul 16 13:20:38 2021 +0000 Commit: Michal Gasewicz <rozstrojenie.jazni <AT> gmail <DOT> com> CommitDate: Fri Jul 16 13:20:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec2d1033
dev-python/cx-oracle: version bump, fix QA warnings Closes: https://bugs.gentoo.org/800127 Closes: https://bugs.gentoo.org/800129 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} | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 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 72% 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..26471d887 100644 --- a/dev-python/cx-oracle/cx-oracle-8.1.0.ebuild +++ b/dev-python/cx-oracle/cx-oracle-8.2.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" PYTHON_COMPAT=( python3_{7,8,9} ) @@ -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
