adding YAPF (Yet Another Python Formatter)
This commit is contained in:
parent
ddfc276688
commit
fda208f6b8
1 changed files with 15 additions and 0 deletions
15
var/spack/packages/py-yapf/package.py
Normal file
15
var/spack/packages/py-yapf/package.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
from spack import *
|
||||
|
||||
class PyYapf(Package):
|
||||
""" Yet Another Python Formatter """
|
||||
homepage = "https://github.com/google/yapf"
|
||||
# base https://pypi.python.org/pypi/cffi
|
||||
url = "https://github.com/google/yapf/archive/v0.2.1.tar.gz"
|
||||
|
||||
version('0.2.1', '348ccf86cf2057872e4451b204fb914c')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-setuptools')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
Loading…
Reference in a new issue