diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-07-06 12:27:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-06 12:27:04 -0700 |
commit | 58487accdd80d735e051fe524d9409e0083408e6 (patch) | |
tree | 96ed2303372b798f62c02a80031e8abe00440718 | |
parent | 03fdb2058a42c1a05f78bb6f05d8546fccf332a2 (diff) | |
parent | 61fe89bda0d5690a4851cde5baa7d55f6a43a6bd (diff) | |
download | spack-58487accdd80d735e051fe524d9409e0083408e6.tar.gz spack-58487accdd80d735e051fe524d9409e0083408e6.tar.bz2 spack-58487accdd80d735e051fe524d9409e0083408e6.tar.xz spack-58487accdd80d735e051fe524d9409e0083408e6.zip |
Merge pull request #1179 from paulhopkins/features/python-ucs4
Add ucs4 unicode variant to Python package
-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') |