summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-03-17 20:33:13 +0100
committerGitHub <noreply@github.com>2018-03-17 20:33:13 +0100
commit49feddf71e74a83dd1a0c259f72377b11b40b7c7 (patch)
tree08b5996ee17de28674abf644c5d8bbef2b0f3e12 /var
parente1290b438b999902ac9142bb8af9ea5d7cfeb0c2 (diff)
downloadspack-49feddf71e74a83dd1a0c259f72377b11b40b7c7.tar.gz
spack-49feddf71e74a83dd1a0c259f72377b11b40b7c7.tar.bz2
spack-49feddf71e74a83dd1a0c259f72377b11b40b7c7.tar.xz
spack-49feddf71e74a83dd1a0c259f72377b11b40b7c7.zip
py-performance: added package (#7500)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-perf/package.py39
-rw-r--r--var/spack/repos/builtin/packages/py-performance/package.py44
2 files changed, 83 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-perf/package.py b/var/spack/repos/builtin/packages/py-perf/package.py
new file mode 100644
index 0000000000..fc75740d17
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-perf/package.py
@@ -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'))
diff --git a/var/spack/repos/builtin/packages/py-performance/package.py b/var/spack/repos/builtin/packages/py-performance/package.py
new file mode 100644
index 0000000000..932a593c30
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-performance/package.py
@@ -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'))