-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding recipe for absense to prevent issue with genera (#52337)
Co-authored-by: Anupam Gautam <[email protected]>
- Loading branch information
1 parent
2c315c8
commit ae038d0
Showing
2 changed files
with
57 additions
and
0 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,22 @@ | ||
#!/bin/bash | ||
|
||
# Exit on any error | ||
set -ex | ||
|
||
sed -i.bak '1s|^|#!/usr/bin/env python\n|' Plot_abSENSE.py | ||
|
||
|
||
chmod +x Run_abSENSE.py Plot_abSENSE.py | ||
|
||
|
||
# Define the Conda binary path | ||
CONDABIN="${PREFIX}/bin" | ||
|
||
# Ensure the directory exists | ||
mkdir -p "$CONDABIN" | ||
|
||
|
||
# Move executables to the Conda binary directory | ||
mv Run_abSENSE.py "$CONDABIN" | ||
mv Plot_abSENSE.py "$CONDABIN" | ||
echo "Installation complete. Executables have been moved to ${CONDABIN}." |
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,35 @@ | ||
{% set version = '1.0.1' %} | ||
|
||
package: | ||
name: absense | ||
version: {{ version|replace('-', '_') }} | ||
|
||
source: | ||
- url: https://github.com/caraweisman/abSENSE/archive/refs/tags/v{{ version }}.tar.gz | ||
sha256: 853418e55c012c0dd409c97a70bbc9ecb69dfa7ccc94ec0f54d54ff99ec0e9f0 | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
run_exports: | ||
- {{ pin_subpackage('absense', max_pin="x.x") }} | ||
|
||
requirements: | ||
host: | ||
- python >=3.8,<3.9 | ||
run: | ||
- python >=3.8,<3.9 | ||
- scipy =1.7.3 | ||
- matplotlib-base >=3.0.0 | ||
- dill >=0.3.9 | ||
test: | ||
commands: | ||
- Run_abSENSE.py -h | ||
- Plot_abSENSE.py -h | ||
|
||
|
||
about: | ||
home: https://github.com/caraweisman/abSENSE | ||
license: "GPL-3.0-or-later" | ||
license_family: GPL3 | ||
summary: "abSENSE: a method to interpret undetected homologs" |