
* Add enum34, numdifftools, and updated pyomo packages * Syntax error * Apply black style * Trying to get around Python spec issue * All SHAs were somehow wrong * Change enum version * Change optional dependencies to be on run, not build * Add Pyomo 6.7.0 * Update SHA and version mismatch * Remove py-enum34 * Add three new packages to address comments * Fix linting errors; move casadi to py-casadi * Update license; add in dependency * Update setuptools version * Update class name to python class * Remove other boielerplate stuff * Update homepage addresses; update py-casadi
21 lines
643 B
Python
21 lines
643 B
Python
# Copyright 2013-2023 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.package import *
|
|
|
|
|
|
class PyCasadi(PythonPackage):
|
|
"""CasADi -- framework for algorithmic differentiation and numeric optimization"""
|
|
|
|
homepage = "https://web.casadi.org/"
|
|
pypi = "casadi/casadi-3.6.4.tar.gz"
|
|
|
|
license("LGPL")
|
|
|
|
version("3.6.4", sha256="affdca1a99c14580992cdf34d247754b7d851080b712c2922ad2e92442eeaa35")
|
|
|
|
depends_on("py-setuptools", type="build")
|
|
depends_on("py-numpy", type=("build", "run"))
|