python-3.5: Drop dependency on Berkeley DB

The previous commit revealed that Python wasn't actually using
Berkeley DB; it only had it in its closure due to the build-time flag
dump in Makefile and _sysconfigdata.py. When Python detects both GNU
gdbm and Berkeley DB at build time, it will use the former.
This commit is contained in:
Eelco Dolstra 2016-09-01 16:02:57 +02:00
parent fdd7399a3c
commit 0810decaa7

View File

@ -1,6 +1,5 @@
{ stdenv, fetchurl { stdenv, fetchurl
, bzip2 , bzip2
, db
, gdbm , gdbm
, libX11, xproto , libX11, xproto
, lzma , lzma
@ -33,7 +32,6 @@ let
lzma lzma
gdbm gdbm
sqlite sqlite
db
readline readline
ncurses ncurses
openssl openssl
@ -109,7 +107,7 @@ stdenv.mkDerivation {
passthru = rec { passthru = rec {
zlibSupport = zlib != null; zlibSupport = zlib != null;
sqliteSupport = sqlite != null; sqliteSupport = sqlite != null;
dbSupport = db != null; dbSupport = false;
readlineSupport = readline != null; readlineSupport = readline != null;
opensslSupport = openssl != null; opensslSupport = openssl != null;
tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null);