professor: add new package at v2.3.3 (#22043)

Co-authored-by: Matthew Kelsey <matt@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Kelsey <mkelsey@rcas6015.rcf.bnl.gov>
This commit is contained in:
Matthew Kelsey 2021-03-20 15:28:03 -04:00 committed by GitHub
parent 5a30e5795f
commit 0c4f140d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,28 @@
# Copyright 2013-2020 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 Professor(Package):
"""Professor Monte-Carlo tuning package"""
homepage = "https://professor.hepforge.org/"
url = "https://professor.hepforge.org/downloads/?f=Professor-2.3.3.tar.gz"
maintainers = ['mjk655']
version('2.3.3', sha256='60c5ba00894c809e2c31018bccf22935a9e1f51c0184468efbdd5d27b211009f')
depends_on('wxwidgets')
depends_on('yoda')
depends_on('eigen')
depends_on('py-cython')
depends_on('py-iminuit')
depends_on('py-matplotlib')
def install(self, spec, prefix):
make()
make('PREFIX={0}'.format(prefix), "install")