Skip to content
Snippets Groups Projects
Commit d95d48bb authored by Alfredo Gimenez's avatar Alfredo Gimenez
Browse files

py-mako and fix for setup-env.sh

parent a4ac1977
No related branches found
No related tags found
No related merge requests found
...@@ -165,8 +165,8 @@ fi ...@@ -165,8 +165,8 @@ fi
# #
# Set up modules and dotkit search paths in the user environment # Set up modules and dotkit search paths in the user environment
# #
_sp_share_dir="$(dirname $_sp_source_file)" _sp_share_dir=$(cd "$(dirname $_sp_source_file)" && pwd)
_sp_prefix="$(dirname $(dirname $_sp_share_dir))" _sp_prefix=$(cd "$(dirname $(dirname $_sp_share_dir))" && pwd)
# TODO: fix SYS_TYPE to something non-LLNL-specific # TODO: fix SYS_TYPE to something non-LLNL-specific
_spack_pathadd DK_NODE "$_sp_share_dir/dotkit/$SYS_TYPE" _spack_pathadd DK_NODE "$_sp_share_dir/dotkit/$SYS_TYPE"
......
from spack import *
class PyMako(Package):
"""A super-fast templating language that borrows the best
ideas from the existing templating languages."""
homepage = "https://pypi.python.org/pypi/mako"
url = "https://pypi.python.org/packages/source/M/Mako/Mako-1.0.1.tar.gz"
version('1.0.1', '9f0aafd177b039ef67b90ea350497a54')
depends_on('py-setuptools')
extends('python')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment