summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-perf/package.py
blob: 4925611f0246c7a4cf03f430cf5aee59829a031a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class PyPerf(PythonPackage):
    """The Python perf module is a toolkit to write, run and
    analyze benchmarks.
    """

    homepage = "https://pypi.python.org/pypi/perf"
    url = "https://github.com/vstinner/perf/archive/1.5.1.tar.gz"

    version('1.5.1', 'e3dc532fdbaf44f2d921556164bd74e5')

    depends_on('py-setuptools', type='build')
    depends_on('py-six', type=('build', 'run'))