summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pbr/package.py
blob: 02957483d4ec8aa55251feff8894cdac1a314026 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from spack import *
import os

class PyPbr(Package):
    """PBR is a library that injects some useful and sensible default behaviors into your setuptools run."""
    homepage = "https://pypi.python.org/pypi/pbr"
    url      = "https://pypi.python.org/packages/source/p/pbr/pbr-1.8.1.tar.gz"

    version('1.8.1', 'c8f9285e1a4ca6f9654c529b158baa3a')

    extends('python')

    depends_on('py-setuptools')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)