summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-03-08 21:22:40 +0100
committerGitHub <noreply@github.com>2022-03-08 13:22:40 -0700
commita9996db35c1a018c582a67af112cc9f8f72e477f (patch)
tree16f5b1ce26c7a8fc76bb1a4d9e919f281261cddd
parentddc5b4422dc8e2f645cd23eae38d8aea4955633f (diff)
downloadspack-a9996db35c1a018c582a67af112cc9f8f72e477f.tar.gz
spack-a9996db35c1a018c582a67af112cc9f8f72e477f.tar.bz2
spack-a9996db35c1a018c582a67af112cc9f8f72e477f.tar.xz
spack-a9996db35c1a018c582a67af112cc9f8f72e477f.zip
py-control: add new package (#29386)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-control/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-control/package.py b/var/spack/repos/builtin/packages/py-control/package.py
new file mode 100644
index 0000000000..596c375585
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-control/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2022 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 PyControl(PythonPackage):
+ """The Python Control Systems Library is a Python module that implements
+ basic operations for analysis and design of feedback control systems."""
+
+ homepage = "https://python-control.org/"
+ pypi = "control/control-0.9.1.tar.gz"
+
+ maintainers = ['haralmha']
+
+ version('0.9.1', sha256='8c9084bf386eafcf5d74008f780fae6dec68d243d18a380c866ac10a3549f8d3')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))