py-performance: added package (#7500)
This commit is contained in:
parent
e1290b438b
commit
49feddf71e
2 changed files with 83 additions and 0 deletions
39
var/spack/repos/builtin/packages/py-perf/package.py
Normal file
39
var/spack/repos/builtin/packages/py-perf/package.py
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
##############################################################################
|
||||||
|
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
|
||||||
|
# Produced at the Lawrence Livermore National Laboratory.
|
||||||
|
#
|
||||||
|
# This file is part of Spack.
|
||||||
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||||
|
# LLNL-CODE-647188
|
||||||
|
#
|
||||||
|
# For details, see https://github.com/spack/spack
|
||||||
|
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License (as
|
||||||
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||||
|
# conditions of the GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
##############################################################################
|
||||||
|
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'))
|
44
var/spack/repos/builtin/packages/py-performance/package.py
Normal file
44
var/spack/repos/builtin/packages/py-performance/package.py
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
##############################################################################
|
||||||
|
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
|
||||||
|
# Produced at the Lawrence Livermore National Laboratory.
|
||||||
|
#
|
||||||
|
# This file is part of Spack.
|
||||||
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||||
|
# LLNL-CODE-647188
|
||||||
|
#
|
||||||
|
# For details, see https://github.com/spack/spack
|
||||||
|
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License (as
|
||||||
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||||
|
# conditions of the GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyPerformance(PythonPackage):
|
||||||
|
"""The performance project is intended to be an authoritative source
|
||||||
|
of benchmarks for all Python implementations.
|
||||||
|
|
||||||
|
The focus is on real-world benchmarks, rather than synthetic benchmarks,
|
||||||
|
using whole applications when possible.
|
||||||
|
"""
|
||||||
|
|
||||||
|
homepage = 'http://pyperformance.readthedocs.io/'
|
||||||
|
url = 'https://github.com/python/performance/archive/0.6.1.tar.gz'
|
||||||
|
|
||||||
|
version('0.6.1', '95477b584a284582b66c922a5335b427')
|
||||||
|
version('0.6.0', 'b93661e07668fa0b461236dca164eedf')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type=('build', 'run'))
|
||||||
|
depends_on('py-six', type=('build', 'run'))
|
||||||
|
depends_on('py-perf', type=('build', 'run'))
|
Loading…
Reference in a new issue