diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-03-11 13:20:24 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-03-11 13:21:12 -0500 |
commit | 79df60eea8e2f3652ad303b6e08101c3eba5e73a (patch) | |
tree | 5dbadcee0b0085570a68ed357667cafca8fcd7a4 /dev-lang/python/python-2.7.13.ebuild | |
parent | net-dns/avahi: update twisted deps, bug #605106 (diff) | |
download | gentoo-79df60eea8e2f3652ad303b6e08101c3eba5e73a.tar.gz gentoo-79df60eea8e2f3652ad303b6e08101c3eba5e73a.tar.bz2 gentoo-79df60eea8e2f3652ad303b6e08101c3eba5e73a.zip |
dev-lang/python: remove dbhash.py* when berkdb is disabled
dbhash.pyc and dbhash.pyo might not exist when cross-compiling.
Bug: https://bugs.gentoo.org/612250
Package-Manager: Portage-2.3.3_p79, Repoman-2.3.1_p72
Diffstat (limited to 'dev-lang/python/python-2.7.13.ebuild')
-rw-r--r-- | dev-lang/python/python-2.7.13.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/python/python-2.7.13.ebuild b/dev-lang/python/python-2.7.13.ebuild index bbd7cf51ad3d..8c26e45d469a 100644 --- a/dev-lang/python/python-2.7.13.ebuild +++ b/dev-lang/python/python-2.7.13.ebuild @@ -275,7 +275,7 @@ src_install() { mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}" rm -f "${ED}usr/bin/smtpd.py" - use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py{,c,o},test/test_bsddb*} || die + use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py*,test/test_bsddb*} || die use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test} |