From 143e7bc839e0a9994bff126d0cbe568a311738ac Mon Sep 17 00:00:00 2001
From: "C.A.P. Linssen" <charl@turingbirds.com>
Date: Sun, 27 Apr 2025 22:45:46 +0200
Subject: [PATCH 1/4] feat(NESTML): add NESTML version 8.0.1
---
packages/py-nestml/package.py | 10 ++++++++--
spack.yaml | 2 +-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/packages/py-nestml/package.py b/packages/py-nestml/package.py
index d3437f3b0..783a65228 100644
--- a/packages/py-nestml/package.py
+++ b/packages/py-nestml/package.py
@@ -13,11 +13,12 @@ class PyNestml(PythonPackage):
"""
homepage = 'https://nestml.readthedocs.org/'
- url = 'https://pypi.org/packages/py3/N/NESTML/NESTML-8.0.0-py3-none-any.whl'
+ url = 'https://pypi.org/packages/py3/N/NESTML/NESTML-8.0.1-py3-none-any.whl'
git = 'https://github.com/nest/nestml/'
maintainers = ['clinssen', 'pnbabu']
+ version('8.0.1', sha256='f74d99257b902fe743adb93d6e03ca52c3fd91c9e31c5a5f3cf84eeccc6e3fb8', expand=False)
version('8.0.0', sha256='bb2182fadd5f3ff7fa538e7f9865bafefb8be67938c83028174491768e88ef09', expand=False)
version('7.0.2', sha256='3611239ff8436bf1c74b878562564007285c6da5df0317c6cd52f65e6bcd3f8b', expand=False)
version('7.0.1', sha256='38392bdd06c5be5af65050153f34fb78dee6032158b268b83599bd70aab5c030', expand=False)
@@ -26,15 +27,20 @@ class PyNestml(PythonPackage):
version('5.3.0', sha256='8de543d7d3a166cd4d6a0d536a2d4e769513bbf8d7aeaf64458e9d9c21fe546e', expand=False)
version('5.2.0', sha256='acb703bf9c7f70304bd5d547dccd6a6a219f8acb298a6412df779b808241eb14', expand=False)
+
depends_on('python@3.8:', type=('build', 'run'))
+ depends_on('python@3.9:', type=('build', 'run'), when="@8.0.1:")
depends_on('py-pip', type='build')
depends_on('py-numpy@1.8.2:', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
- depends_on('py-sympy@1.1.1:1.10.1', type=('build', 'run'))
+ depends_on('py-sympy@1.1.1:1.10.1', type=('build', 'run'), when="@:8.0.0")
+ depends_on('py-sympy', type=('build', 'run'))
depends_on('py-antlr4-python3-runtime@4.10:', type=('build', 'run'))
+ depends_on('py-antlr4-python3-runtime@4.13.2:', type=('build', 'run'), when="@8.0.1:")
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-jinja2@2.10:', type=('build', 'run'))
depends_on('py-astropy', type=('build', 'run'))
depends_on('py-odetoolbox@2.4:', type=('build', 'run'))
+ depends_on('py-odetoolbox@2.5.8:', type=('build', 'run'), when="@8.0.1:")
depends_on('nest', type=('build', 'run'))
depends_on('py-pytest', type='test')
diff --git a/spack.yaml b/spack.yaml
index 0727a3737..8a31b0f2a 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -42,7 +42,7 @@ spack:
- py-libneuroml@0.4.1
- py-libsonata@0.1.23
- py-neo@0.13.3
- - py-nestml@8.0.0
+ - py-nestml@8.0.1
- py-netpyne@1.0.6
- py-neurom@3.2.4
- py-neuror@1.6.4
--
GitLab
From 369be9068931b1db55cffe4e99a9ac47092fb230 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Tue, 13 May 2025 20:15:46 +0000
Subject: [PATCH 2/4] feat(py-antlr4-python3-runtime): copy package from
upstream
---
packages/py-antlr4-python3-runtime/package.py | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 packages/py-antlr4-python3-runtime/package.py
diff --git a/packages/py-antlr4-python3-runtime/package.py b/packages/py-antlr4-python3-runtime/package.py
new file mode 100644
index 000000000..59d4307ee
--- /dev/null
+++ b/packages/py-antlr4-python3-runtime/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2024 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 PyAntlr4Python3Runtime(PythonPackage):
+ """This package provides runtime libraries required to use
+ parsers generated for the Python3 language by version 4 of
+ ANTLR (ANother Tool for Language Recognition).
+ """
+
+ homepage = "https://www.antlr.org"
+ pypi = "antlr4-python3-runtime/antlr4-python3-runtime-4.7.2.tar.gz"
+
+ version("4.10", sha256="061a49bc72ae05a35d9b61c0ba0ac36c0397708819f02fbfb20a80e47d287a1b")
+ version("4.9.3", sha256="f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b")
+ version("4.9.2", sha256="31f5abdc7faf16a1a6e9bf2eb31565d004359b821b09944436a34361929ae85a")
+ version("4.8", sha256="15793f5d0512a372b4e7d2284058ad32ce7dd27126b105fb0b2245130445db33")
+ version("4.7.2", sha256="168cdcec8fb9152e84a87ca6fd261b3d54c8f6358f42ab3b813b14a7193bb50b")
+
+ depends_on("python@3:", type=("build", "run"))
+ depends_on("py-setuptools", type="build")
--
GitLab
From 3861af817a1ee86c55266b4b2674137807e83f71 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Tue, 13 May 2025 20:17:44 +0000
Subject: [PATCH 3/4] feat(py-antlr4-python3-runtime): add version 4.13.2
---
packages/py-antlr4-python3-runtime/package.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/packages/py-antlr4-python3-runtime/package.py b/packages/py-antlr4-python3-runtime/package.py
index 59d4307ee..2b6811611 100644
--- a/packages/py-antlr4-python3-runtime/package.py
+++ b/packages/py-antlr4-python3-runtime/package.py
@@ -13,8 +13,12 @@ class PyAntlr4Python3Runtime(PythonPackage):
"""
homepage = "https://www.antlr.org"
- pypi = "antlr4-python3-runtime/antlr4-python3-runtime-4.7.2.tar.gz"
+
+ # begin EBRAINS(added): new version
+ pypi = "antlr4-python3-runtime/antlr4_python3_runtime-4.7.2.tar.gz"
+ version("4.13.2", sha256="909b647e1d2fc2b70180ac586df3933e38919c85f98ccc656a96cd3f25ef3916")
+ # end EBRAINS
version("4.10", sha256="061a49bc72ae05a35d9b61c0ba0ac36c0397708819f02fbfb20a80e47d287a1b")
version("4.9.3", sha256="f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b")
version("4.9.2", sha256="31f5abdc7faf16a1a6e9bf2eb31565d004359b821b09944436a34361929ae85a")
--
GitLab
From 64eeb7a721ffd28223208546b9dcbf343c9b7778 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Thu, 14 Aug 2025 02:29:16 +0000
Subject: [PATCH 4/4] feat(py-sympy): add versions 1.13.1, 1.13.3
---
packages/py-sympy/package.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/packages/py-sympy/package.py b/packages/py-sympy/package.py
index ffdfe371e..c127d08df 100644
--- a/packages/py-sympy/package.py
+++ b/packages/py-sympy/package.py
@@ -13,6 +13,10 @@ class PySympy(PythonPackage):
license("BSD-3-Clause")
+ # begin EBRAINS (added): add versions
+ version("1.13.3", sha256="b27fd2c6530e0ab39e275fc9b683895367e51d5da91baa8d3d64db2565fec4d9")
+ version("1.13.1", sha256="9cebf7e04ff162015ce31c9c6c9144daa34a93bd082f54fd8f12deca4f47515f")
+ # end EBRAINS
version("1.13.0", sha256="3b6af8f4d008b9a1a6a4268b335b984b23835f26d1d60b0526ebc71d48a25f57")
version("1.12", sha256="ebf595c8dac3e0fdc4152c51878b498396ec7f30e7a914d6071e674d49420fb8")
version("1.11.1", sha256="e32380dce63cb7c0108ed525570092fd45168bdae2faa17e528221ef72e88658")
--
GitLab