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:
14
var/spack/repos/builtin/packages/py-pytz/package.py
Normal file
14
var/spack/repos/builtin/packages/py-pytz/package.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from spack import *
|
||||
|
||||
class PyPytz(Package):
|
||||
"""World timezone definitions, modern and historical."""
|
||||
homepage = "https://pypi.python.org/pypi/pytz"
|
||||
url = "https://pypi.python.org/packages/source/p/pytz/pytz-2014.10.tar.gz"
|
||||
|
||||
version('2014.10', 'eb1cb941a20c5b751352c52486aa1dd7')
|
||||
version('2015.4', '417a47b1c432d90333e42084a605d3d8')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
Reference in New Issue
Block a user