py-pathspec: New package

Related to Python unit testing.
This commit is contained in:
Elizabeth Fischer 2016-08-17 00:34:33 -04:00
parent 7f57405eac
commit a733e7e303

View File

@ -0,0 +1,17 @@
from spack import *
class PyPathspec(Package):
"""pathspec extends the test loading and running features of unittest,
making it easier to write, find and run tests."""
homepage = "https://pypi.python.org/pypi/pathspec"
version('0.3.4', '2a4af9bf2dee98845d583ec61a00d05d',
url='https://pypi.python.org/packages/14/9d/c9d790d373d6f6938d793e9c549b87ad8670b6fa7fc6176485e6ef11c1a4/pathspec-0.3.4.tar.gz')
extends('python')
depends_on('py-setuptools')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)