Skip to content

Commit

Permalink
#7 redefinition of soma-forge recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
sapetnioc committed Jun 4, 2024
1 parent 36d844d commit 7be6453
Show file tree
Hide file tree
Showing 26 changed files with 217 additions and 599 deletions.
38 changes: 7 additions & 31 deletions soma-forge/recipes/anatomist.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: anatomist
version: ${{ distro_version }}
name: anatomist

components:
- anatomist-free
- anatomist-gpl

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in anatomist-free anatomist-gpl; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
internal-dependencies:
- soma

requirements:
build:
Expand All @@ -27,7 +16,6 @@ requirements:
- make

run:
- soma ==${{ distro_version }}
- qwt
- matplotlib
- virtualgl
Expand All @@ -36,15 +24,3 @@ requirements:
- ipywidgets
- ipyevents
- notebook
#- xorg-x11-server-xvfb-cos7-x86_64

# tests:
# - script: |
# cd "$CASA_BUILD"
# python -m soma_forge test soma
# python -m soma_forge test aims
# python -m soma_forge test axon

# requirements:
# run:
# - cmake
29 changes: 8 additions & 21 deletions soma-forge/recipes/bioprocessing.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: bioprocessing
version: ${{ distro_version }}
name: bioprocessing

components:
- bioprocessing

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in bioprocessing; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
internal-dependencies:
- soma
- anatomist

requirements:
build:
- make
- ${{ compiler('cxx') }}

run:
- soma ==${{ distro_version }}
- anatomist ==${{ distro_version }}
- scikit-learn
32 changes: 9 additions & 23 deletions soma-forge/recipes/brainrat.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: brainrat
version: ${{ distro_version }}
name: brainrat

components:
- brainrat-private
- brainrat-gpl

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in brainrat-private brainrat-gpl; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
internal-dependencies:
- soma
- anatomist

requirements:
build:
- make

run:
- soma ==${{ distro_version }}
- anatomist ==${{ distro_version }}
- ${{ compiler('cxx') }}
19 changes: 7 additions & 12 deletions soma-forge/recipes/brainvisa.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: brainvisa
version: ${{ distro_version }}
name: brainvisa

requirements:
run:
- brainrat ==${{ distro_version }}
- disco ==${{ distro_version }}
- highres-cortex ==${{ distro_version }}
- morphologist ==${{ distro_version }}
- primatologist ==${{ distro_version }}
internal-dependencies:
- brainrat
- disco
- highres-cortex
- morphologist
- primatologist
27 changes: 6 additions & 21 deletions soma-forge/recipes/capsul.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: capsul
name: capsul
version: ${{ distro_version }}

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in capsul; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
components:
- capsul

internal-dependencies:
- soma-python

requirements:
build:
- make

run:
- soma-python ==${{ distro_version }}
- redis-py <4.5.0
- redis-server <7
- pyyaml
Expand Down
31 changes: 6 additions & 25 deletions soma-forge/recipes/cati-deidentification.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: cati-deidentification
version: ${{ distro_version }}

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in deidentification; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
name: cati-deidentification

requirements:
build:
- make
components:
- deidentification

run:
- soma ==${{ distro_version }}
- anatomist ==${{ distro_version }}
internal-dependencies:
- soma
- anatomist
31 changes: 8 additions & 23 deletions soma-forge/recipes/cati-longitudinal.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: cati-longitudinal
version: ${{ distro_version }}
name: cati-longitudinal

components:
- longitudinal_pipelines

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in longitudinal_pipelines; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
internal-dependencies:
- soma
- anatomist

requirements:
build:
- make

run:
- soma ==${{ distro_version }}
- anatomist ==${{ distro_version }}
- ${{ compiler('cxx') }}
31 changes: 6 additions & 25 deletions soma-forge/recipes/cati-rsfmri.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: cati-rsfmri
version: ${{ distro_version }}

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in rsfmri; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
name: cati-rsfmri

requirements:
build:
- make
components:
- rsfmri

run:
- soma ==${{ distro_version }}
- anatomist ==${{ distro_version }}
internal-dependencies:
- soma
- anatomist
31 changes: 8 additions & 23 deletions soma-forge/recipes/cati-sacha.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: cati-sacha
version: ${{ distro_version }}
name: cati-sacha

components:
- sacha-nonfree sacha-gpl

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in sacha-nonfree sacha-gpl; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
internal-dependencies:
- soma
- anatomist

requirements:
build:
- make

run:
- soma ==${{ distro_version }}
- anatomist ==${{ distro_version }}
- ${{ compiler('cxx') }}
32 changes: 9 additions & 23 deletions soma-forge/recipes/cati-whasa.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: cati-whasa
version: ${{ distro_version }}
name: cati-whasa

components:
- whasa-nonfree
- whasa-gpl

build:
number: 0
script: |
cd "$CASA_BUILD"
export BRAINVISA_INSTALL_PREFIX="$PREFIX"
for component in whasa-nonfree whasa-gpl; do
make install-${component}
make install-${component}-dev
make install-${component}-usrdoc
make install-${component}-devdoc
make install-${component}-devdoc
make install-${component}-devdoc
done
internal-dependencies:
- soma
- anatomist

requirements:
build:
- make

run:
- soma ==${{ distro_version }}
- anatomist ==${{ distro_version }}
- ${{ compiler('cxx') }}
25 changes: 10 additions & 15 deletions soma-forge/recipes/cati.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
context:
distro_version: ${{ load_from_file(env.get("PIXI_PROJECT_ROOT") + "/pixi.toml").project.version }}

package:
name: cati
version: ${{ distro_version }}
name: cati

requirements:
run:
- qualicati ==${{ distro_version }}
- cati-longitudinal ==${{ distro_version }}
- cati-rsfmri ==${{ distro_version }}
- cati-sacha ==${{ distro_version }}
- cati-whasa ==${{ distro_version }}
- cati-deidentification ==${{ distro_version }}
- catidb ==${{ distro_version }}
- nuclear-imaging ==${{ distro_version }}
internal-dependencies:
- qualicati
- cati-longitudinal
- cati-rsfmri
- cati-sacha
- cati-whasa
- cati-deidentification
- catidb
- nuclear-imaging
Loading

0 comments on commit 7be6453

Please sign in to comment.