summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-02-19 17:55:52 -0500
committerMike Gilbert <floppym@gentoo.org>2017-02-19 17:55:52 -0500
commitbcc24a264090515f7d9d745159187fc4d1defd1b (patch)
tree1beba48a3f2b8b1acc64d64c6a01dd4b78982c80
parentdev-lang/python: whitespace (diff)
downloadgentoo-bcc24a264090515f7d9d745159187fc4d1defd1b.tar.gz
gentoo-bcc24a264090515f7d9d745159187fc4d1defd1b.tar.bz2
gentoo-bcc24a264090515f7d9d745159187fc4d1defd1b.zip
dev-lang/python: remove dbhash.py[co] when berkdb is disabled
-rw-r--r--dev-lang/python/python-2.7.13.ebuild2
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 0c904e7330ee..a7e585104781 100644
--- a/dev-lang/python/python-2.7.13.ebuild
+++ b/dev-lang/python/python-2.7.13.ebuild
@@ -276,7 +276,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,test/test_bsddb*} || die
+ use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py{,c,o},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}