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:
17
var/spack/repos/builtin/packages/py-pylint/package.py
Normal file
17
var/spack/repos/builtin/packages/py-pylint/package.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from spack import *
|
||||
import re
|
||||
|
||||
class PyPylint(Package):
|
||||
"""array processing for numbers, strings, records, and objects."""
|
||||
homepage = "https://pypi.python.org/pypi/pylint"
|
||||
url = "https://pypi.python.org/packages/source/p/pylint/pylint-1.4.1.tar.gz"
|
||||
|
||||
version('1.4.1', 'df7c679bdcce5019389038847e4de622')
|
||||
version('1.4.3', '5924c1c7ca5ca23647812f5971d0ea44')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-nose')
|
||||
depends_on('py-setuptools')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
Reference in New Issue
Block a user