]> git.pld-linux.org Git - packages/python.git/blame - python-db.patch
- up to 2.7.17
[packages/python.git] / python-db.patch
CommitLineData
8ff8ba12
JB
1--- Python-2.7.6/setup.py.orig 2013-11-10 08:36:41.000000000 +0100
2+++ Python-2.7.6/setup.py 2013-11-21 17:45:59.823303676 +0100
3@@ -881,7 +881,7 @@
4 # a release. Most open source OSes come with one or more
5 # versions of BerkeleyDB already installed.
6
7- max_db_ver = (5, 3)
0341e648 8+ max_db_ver = (6, 2)
8ff8ba12
JB
9 min_db_ver = (4, 3)
10 db_setup_debug = False # verbose debug prints from this script?
11
12@@ -905,6 +905,10 @@
13 def gen_db_minor_ver_nums(major):
14 if major == 5:
15 for x in range(max_db_ver[1]+1):
16+ if allow_db_ver((6, x)):
17+ yield x
18+ elif major == 5:
19+ for x in range(4):
20 if allow_db_ver((5, x)):
21 yield x
22 elif major == 4:
This page took 0.03455 seconds and 4 git commands to generate.