From 54f97fa03c07b99bd972b7ba00e4a3af59b744e8 Mon Sep 17 00:00:00 2001 From: Alexander Kozlov <akozlov@kth.se> Date: Tue, 14 Jan 2025 08:46:04 +0100 Subject: [PATCH 1/3] add treem --- packages/py-treem/package.py | 24 ++++++++++++++++++++++++ spack.yaml | 1 + 2 files changed, 25 insertions(+) create mode 100644 packages/py-treem/package.py diff --git a/packages/py-treem/package.py b/packages/py-treem/package.py new file mode 100644 index 00000000..4126eb38 --- /dev/null +++ b/packages/py-treem/package.py @@ -0,0 +1,24 @@ +# (from https://github.com/BlueBrain/spack) + +# 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 PyTreem(PythonPackage): + """Module treem provides data structure and command-line tools + for accessing and manipulating the digital reconstructions + of the neuron morphology in Stockley-Wheal-Cannon format (SWC).""" + + homepage = "https://github.com/a1eko/treem" + pypi = "treem/treem-1.1.0.tar.gz" + + maintainers = ['a1eko'] # github usernames + + version("1.1.0", sha256="214c0d00350d6aeb010264e4f50723df95401976") + + depends_on("py-numpy", type="run") + depends_on("py-matplotlib", type="run") diff --git a/spack.yaml b/spack.yaml index 5f8217b5..c5a2126a 100644 --- a/spack.yaml +++ b/spack.yaml @@ -47,6 +47,7 @@ spack: - py-siibra@1.0a9 - py-snudda@2.0.1 - py-spynnaker@7.3.0 + - py-treem@1.1.0 - py-tvb-framework@2.9 - py-tvb-contrib@2.9.1 - py-tvb-library@2.9.1 -- GitLab From cc1f2e842bf102d9f69c67773a8a3e7e3be89a14 Mon Sep 17 00:00:00 2001 From: Alexander Kozlov <akozlov@kth.se> Date: Tue, 14 Jan 2025 09:08:58 +0100 Subject: [PATCH 2/3] update checksum --- packages/py-treem/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/py-treem/package.py b/packages/py-treem/package.py index 4126eb38..5e2ae7a5 100644 --- a/packages/py-treem/package.py +++ b/packages/py-treem/package.py @@ -18,7 +18,7 @@ class PyTreem(PythonPackage): maintainers = ['a1eko'] # github usernames - version("1.1.0", sha256="214c0d00350d6aeb010264e4f50723df95401976") + version("1.1.0", sha256="eec63afd2ce675a6ad974a9b93f800918596bfda") depends_on("py-numpy", type="run") depends_on("py-matplotlib", type="run") -- GitLab From 38634e97b1481121fcbaa0c25bcbf1483835b051 Mon Sep 17 00:00:00 2001 From: Alexander Kozlov <akozlov@kth.se> Date: Mon, 20 Jan 2025 13:22:34 +0100 Subject: [PATCH 3/3] Update package.py --- packages/py-treem/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/py-treem/package.py b/packages/py-treem/package.py index 5e2ae7a5..e56e80f1 100644 --- a/packages/py-treem/package.py +++ b/packages/py-treem/package.py @@ -11,7 +11,9 @@ from spack.package import * class PyTreem(PythonPackage): """Module treem provides data structure and command-line tools for accessing and manipulating the digital reconstructions - of the neuron morphology in Stockley-Wheal-Cannon format (SWC).""" + of the neuron morphology in Stockley-Wheal-Cannon format (SWC). + Developed by Alexander Kozlov (akozlov@kth.se), + KTH Royal Institute of Technology, Stockholm, Sweden.""" homepage = "https://github.com/a1eko/treem" pypi = "treem/treem-1.1.0.tar.gz" -- GitLab