Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
d95d48bb
Commit
d95d48bb
authored
10 years ago
by
Alfredo Gimenez
Browse files
Options
Downloads
Patches
Plain Diff
py-mako and fix for setup-env.sh
parent
a4ac1977
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
share/spack/setup-env.sh
+2
-2
2 additions, 2 deletions
share/spack/setup-env.sh
var/spack/packages/py-mako/package.py
+16
-0
16 additions, 0 deletions
var/spack/packages/py-mako/package.py
with
18 additions
and
2 deletions
share/spack/setup-env.sh
+
2
−
2
View file @
d95d48bb
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
var/spack/packages/py-mako/package.py
0 → 100644
+
16
−
0
View file @
d95d48bb
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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment