forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding morphology stack one package at a time: part 1 (spack#721)
* Add py-quaternion * update NeuroM * add plotly-helper * Add py-cut-plane * bump pathlib * add morph-tool
- Loading branch information
Benoit Coste
authored
Feb 27, 2020
1 parent
34a0cc4
commit b81cf59
Showing
5 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright 2013-2020 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 PyCutPlane(PythonPackage): | ||
"""Python morphology manipulation toolkit""" | ||
|
||
homepage = "https://bbpcode.epfl.ch/code/#/admin/projects/nse/cut-plane" | ||
git = "ssh://bbpcode.epfl.ch/nse/cut-plane" | ||
|
||
version('develop', branch='master') | ||
version('0.0.7', tag='cut-plane-v0.0.7') | ||
|
||
depends_on('py-setuptools', type=('build', 'run')) | ||
|
||
depends_on('py-neurom@mut_morphio', type='run', when='@0.1.14:') | ||
depends_on('py-pyquaternion', type='run') | ||
depends_on('py-entity-management', type='run') | ||
depends_on('py-plotly-helper', type='run') | ||
|
||
def patch(self): | ||
filter_file(".*dash.*", "", "setup.py") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
var/spack/repos/builtin/packages/py-plotly-helper/package.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 2013-2020 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 PyPlotlyHelper(PythonPackage): | ||
"""Python morphology manipulation toolkit""" | ||
|
||
homepage = "https://bbpcode.epfl.ch/code/#/admin/projects/nse/plotly-helper" | ||
git = "ssh://bbpcode.epfl.ch/nse/plotly-helper" | ||
|
||
version('develop', branch='master') | ||
version('0.0.2', tag='plotly-helper-v0.0.2') | ||
|
||
depends_on('py-setuptools', type=('build', 'run')) | ||
|
||
depends_on('py-neurom@mut_morphio+plotly', type='run') |
20 changes: 20 additions & 0 deletions
20
var/spack/repos/builtin/packages/py-pyquaternion/package.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2013-2020 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 PyPyquaternion(PythonPackage): | ||
"""Python morphology manipulation toolkit""" | ||
|
||
homepage = "https://kieranwynn.github.io/pyquaternion/" | ||
url = "https://pypi.org/packages/source/p/pyquaternion/pyquaternion-0.9.5.tar.gz" | ||
|
||
version('0.9.5', sha256='2d89d19259d62a8fbd25219eee7dacc1f6bb570becb70e1e883f622597c7d81d') | ||
|
||
depends_on('py-setuptools', type=('build', 'run')) | ||
|
||
depends_on('py-numpy', type='run') |