forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add py-cwl-registry and py-cwl-luigi (#1795)
* add py-cwl-registry and py-cwl-luigi * add bba_data_push on behalf of DKE
- Loading branch information
Showing
3 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
bluebrain/repo-bluebrain/packages/py-bba-data-push/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,30 @@ | ||
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
||
from spack.package import * | ||
|
||
|
||
class PyBbaDataPush(PythonPackage): | ||
"""CLIs that take in input atlas pipeline datasets and push them into Nexus | ||
""" | ||
homepage = "https://bbpgitlab.epfl.ch/dke/apps/blue_brain_atlas_nexus_push" | ||
git = "ssh:https://[email protected]/dke/apps/blue_brain_atlas_nexus_push.git" | ||
|
||
version('1.0.3', tag='v1.0.3') | ||
|
||
depends_on('py-setuptools', type=('build', 'run')) | ||
|
||
depends_on('py-nexusforge', type=('build', 'run')) | ||
depends_on('py-click', type=('build', 'run')) | ||
depends_on('py-numpy', type=('build', 'run')) | ||
depends_on('py-h5py', type=('build', 'run')) | ||
depends_on('py-pynrrd', type=('build', 'run')) | ||
depends_on('py-pyyaml', type=('build', 'run')) | ||
depends_on('py-pyjwt', type=('build', 'run')) | ||
|
||
depends_on('py-pytest', type=('test', 'build', 'run')) | ||
depends_on('py-pytest-cov', type=('test', 'build', 'run')) | ||
|
||
@run_after('install') | ||
@on_package_attributes(run_tests=True) | ||
def test_install(self): | ||
python("-m", "pytest", "tests") |
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,28 @@ | ||
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
||
from spack.package import * | ||
|
||
|
||
class PyCwlLuigi(PythonPackage): | ||
"""Luigi wrapper for CWL workflows | ||
""" | ||
homepage = "https://bbpgitlab.epfl.ch/nse/cwl-luigi" | ||
git = "ssh:https://[email protected]/nse/cwl-luigi.git" | ||
|
||
version('develop', branch='main') | ||
version('0.3.0', tag='cwl-luigi-v0.3.0') | ||
|
||
depends_on('[email protected]:', type=('build', 'run')) | ||
|
||
depends_on('py-setuptools', type=('build', 'run')) | ||
|
||
depends_on("[email protected]:", type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
depends_on('py-luigi', type=('build', 'run')) | ||
depends_on('py-pyyaml', type=('build', 'run')) | ||
depends_on('py-cwl-registry', type=('build', 'run')) | ||
|
||
@run_after('install') | ||
@on_package_attributes(run_tests=True) | ||
def test_install(self): | ||
python("-m", "pytest", "tests") |
30 changes: 30 additions & 0 deletions
30
bluebrain/repo-bluebrain/packages/py-cwl-registry/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,30 @@ | ||
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
||
from spack.package import * | ||
|
||
|
||
class PyCwlRegistry(PythonPackage): | ||
"""Workflows registered in CWL format | ||
""" | ||
homepage = "https://bbpgitlab.epfl.ch/nse/cwl-registry" | ||
git = "ssh:https://[email protected]/nse/cwl-registry.git" | ||
|
||
version('develop', branch='main') | ||
version('0.3.0', tag='cwl-registry-v0.3.0') | ||
|
||
depends_on('[email protected]:', type=('build', 'run')) | ||
|
||
depends_on('py-setuptools', type=('build', 'run')) | ||
|
||
depends_on("[email protected]:", type=('build', 'run')) | ||
depends_on('py-voxcell', type=('build', 'run')) | ||
depends_on('py-numpy', type=('build', 'run')) | ||
depends_on('py-pandas', type=('build', 'run')) | ||
depends_on('py-libsonata', type=('build', 'run')) | ||
depends_on('py-nexusforge', type=('build', 'run')) | ||
depends_on('py-bba-data-push', type=('build', 'run')) | ||
|
||
@run_after('install') | ||
@on_package_attributes(run_tests=True) | ||
def test_install(self): | ||
python("-m", "pytest", "tests") |