New package: py-pyscipopt (#27363)

* build of pyscipopt w/ scipoptsuite 7.0.1

* removed type from scipoptsuite"

* removed url

* updated to 3.4.0

* [py-pyscipopt] removed redundant python dependency and fixed dependency types

Co-authored-by: Sid Pendelberry <sid@rit.edu>
This commit is contained in:
Jen Herting 2021-11-12 12:07:59 -05:00 committed by GitHub
parent 9c386b181a
commit 79e520957b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# Copyright 2013-2021 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 PyPyscipopt(PythonPackage):
"""Python interface for the SCIP Optimization Suite"""
homepage = "https://github.com/scipopt/PySCIPOpt"
pypi = "PySCIPOpt/PySCIPOpt-3.4.0.tar.gz"
version('3.4.0', sha256='8da4db57b21010e0d5a863292dd455c88dd71ecec12a8439171c213a8092f88a')
depends_on('py-setuptools', type='build')
depends_on('py-cython', type='build')
depends_on('py-wheel', type='build')
depends_on('scipoptsuite')