New, cleaner package repository structure.
Package repositories now look like this: top-level-dir/ repo.yaml packages/ libelf/ package.py mpich/ package.py ... This leaves room at the top level for additional metadata, source, per-repo configs, indexes, etc., and it makes it easy to see that something is a spack repo (just look for repo.yaml and packages).
This commit is contained in:
13
var/spack/repos/builtin/packages/py-sympy/package.py
Normal file
13
var/spack/repos/builtin/packages/py-sympy/package.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PySympy(Package):
|
||||
"""SymPy is a Python library for symbolic mathematics."""
|
||||
homepage = "https://pypi.python.org/pypi/sympy"
|
||||
url = "https://pypi.python.org/packages/source/s/sympy/sympy-0.7.6.tar.gz"
|
||||
|
||||
version('0.7.6', '3d04753974306d8a13830008e17babca')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
Reference in New Issue
Block a user