diff options
author | Paul Hopkins <paul.hopkins@ligo.org> | 2016-07-06 18:29:54 +0100 |
---|---|---|
committer | Paul Hopkins <paul.hopkins@ligo.org> | 2016-07-06 18:29:54 +0100 |
commit | 61fe89bda0d5690a4851cde5baa7d55f6a43a6bd (patch) | |
tree | 6bc833a88e4af9bd5773cd3fbc86c2f2304e4d42 /var | |
parent | 2b9d02d59414a6584c569989d806d48019aa5832 (diff) | |
download | spack-61fe89bda0d5690a4851cde5baa7d55f6a43a6bd.tar.gz spack-61fe89bda0d5690a4851cde5baa7d55f6a43a6bd.tar.bz2 spack-61fe89bda0d5690a4851cde5baa7d55f6a43a6bd.tar.xz spack-61fe89bda0d5690a4851cde5baa7d55f6a43a6bd.zip |
Add ucs4 unicode variant to Python package
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 8033c52b91..d019133585 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -47,6 +47,8 @@ class Python(Package): extendable = True + variant('ucs4', default=False, description='Enable UCS4 unicode strings') + depends_on("openssl") depends_on("bzip2") depends_on("readline") @@ -82,6 +84,9 @@ class Python(Package): "LDFLAGS=-L{0}".format(ldflags) ] + if '+ucs4' in spec: + config_args.append('--enable-unicode=ucs4') + if spec.satisfies('@3:'): config_args.append('--without-ensurepip') |