diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-03-19 22:19:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-19 22:19:26 +0100 |
commit | c14c0d8e7410fcc3754b6a3c8b988f8c71d2960a (patch) | |
tree | 686e69d8e8dbfd822fee023fdb30d1ddca0d5fea /var | |
parent | 38748715124f476ecd9e260084e548f216d648b1 (diff) | |
download | spack-c14c0d8e7410fcc3754b6a3c8b988f8c71d2960a.tar.gz spack-c14c0d8e7410fcc3754b6a3c8b988f8c71d2960a.tar.bz2 spack-c14c0d8e7410fcc3754b6a3c8b988f8c71d2960a.tar.xz spack-c14c0d8e7410fcc3754b6a3c8b988f8c71d2960a.zip |
python: dbm module + version 3.6.4 (#7520)
A build of python@3.X had the following in the logs:
```
The necessary bits to build these optional modules were not found:
_dbm _gdbm _tkinter
```
As Tkinter is already a variant, we adopt the same strategy for dbm.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index a3ad52df89..c045e50df4 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -46,6 +46,7 @@ class Python(AutotoolsPackage): list_url = "https://www.python.org/downloads/" list_depth = 1 + version('3.6.4', '9de6494314ea199e3633211696735f65') version('3.6.3', 'e9180c69ed9a878a4a8a3ab221e32fa9') version('3.6.2', 'e1a36bfffdd1d3a780b1825daf16e56c') version('3.6.1', '2d0fc9f3a5940707590e07f03ecb08b9') @@ -84,6 +85,8 @@ class Python(AutotoolsPackage): variant('pic', default=True, description='Produce position-independent code (for shared libs)') + variant('dbm', default=True, description='Provide support for dbm') + depends_on("openssl") depends_on("bzip2") depends_on("readline") @@ -92,6 +95,7 @@ class Python(AutotoolsPackage): depends_on("zlib") depends_on("tk", when="+tk") depends_on("tcl", when="+tk") + depends_on("gdbm", when='+dbm') # Patch does not work for Python 3.1 patch('ncurses.patch', when='@:2.8,3.2:') |