Skip to content

Commit a5268ba

Browse files
jpfeuffercokelaer
authored andcommitted
[ci skip] Merge PR 39736
Merge PR bioconda#39736, commits were: * recreate deleted files * revert pyopenms. has to be in a separate PR * revert simplifying config. apparently bioconda-build does NOT FOLLOW the official conda specification! * remove nightly specifics and simply config * try with matplotlib-base * try without matplotlib version * Apply suggestions from code review * adding matplotlib * Update conda_build_config.yaml * Update conda_build_config.yaml * Update conda_build_config.yaml * Update conda_build_config.yaml * move pyopenms config file into proper recipe * remove bumpershot * remove crux from meta.yaml * [UPDATE] (py)openms to 3.0 nightly
1 parent 7521736 commit a5268ba

File tree

5 files changed

+6
-69
lines changed

5 files changed

+6
-69
lines changed

recipes/openms-meta/build.sh

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/sh
22

3-
# Download URLs have changed!
4-
sed -i.bak "s/informatik/cs/g" contrib/macros.cmake
5-
63
# useless default include directory that is silently added by the compiler packages "to help"...
74
# it is not even added with -isystem https://github.com/AnacondaRecipes/aggregate/blob/master/clang/activate-clang%2B%2B.sh#L87
85
USELESS="-I${PREFIX}/include"
@@ -13,31 +10,23 @@ export LIBRARY_PATH=${PREFIX}/lib
1310
export LD_LIBRARY_PATH=${PREFIX}/lib
1411
#export DYLD_LIBRARY_PATH=${PREFIX}/lib
1512

16-
mkdir contrib-build
17-
cd contrib-build
18-
## By default WM is built and linked statically such that it does not
19-
## introduce a dependency that needs to be exported
20-
cmake -DBUILD_TYPE=WILDMAGIC ../contrib
21-
cd ..
22-
23-
#sed -i.bak "s/CMAKE_INSTALL_NAME_DIR/FOO/g" CMakeLists.txt
24-
2513
mkdir build
2614
cd build
2715

28-
2916
if [[ $(uname -s) == Darwin ]]; then
3017
RPATH='@loader_path/../lib'
3118
else
3219
ORIGIN='$ORIGIN'
3320
export ORIGIN
3421
RPATH='$${ORIGIN}/../lib'
3522
fi
23+
24+
# not sure if needed. CMake should take care of that.
3625
LDFLAGS='-Wl,-rpath,${RPATH}'
3726

3827
cmake .. \
3928
-DOPENMS_GIT_SHORT_REFSPEC="release/${PKG_VERSION}" \
40-
-DOPENMS_GIT_SHORT_SHA1="b59e0c3" \
29+
-DOPENMS_GIT_SHORT_SHA1="d36094e" \
4130
-DOPENMS_CONTRIB_LIBS="$SRC_DIR/contrib-build" \
4231
-DCMAKE_BUILD_TYPE="Release" \
4332
-DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT} \

recipes/openms-meta/conda_build_config.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

recipes/openms-meta/install_pyopenms.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

recipes/openms-meta/meta.yaml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
{% set name = "OpenMS" %}
2-
{% set version = "2.8.0" %}
2+
{% set version = "2.9.0" %}
33
package:
44
name: {{ name|lower }}-meta
55
version: {{ version }}
66

77
source:
88
url: https://abibuilder.cs.uni-tuebingen.de/archive/openms/OpenMSInstaller/release/{{ version }}/OpenMS-{{ version }}-src.tar.gz
9-
sha256: c39e3ccdce5c335d2659cfa9d0bb63555a01ec422757afd90706d3869bf611ac
10-
# patch should be removed in 2.9 https://github.com/OpenMS/OpenMS/pull/6122
11-
patches:
12-
- sirius-2.8.0.patch
9+
sha256: d2e80ac3000516bb046a13db9aa862d3cc961bad43446f7b09f672e6362afefe
1310

1411
build:
15-
number: 4
12+
number: 0
1613

1714
# Try this when building with GUI
1815
#extra:
@@ -33,13 +30,11 @@ requirements:
3330
- xerces-c
3431
- boost-cpp
3532
- eigen >=3.3.2
36-
- glpk
3733
- hdf5 >=1.10
3834
- bzip2
3935
- qt
4036
- libsvm
4137
- coinmp
42-
- sqlite
4338

4439
test:
4540
commands:
@@ -63,27 +58,23 @@ outputs:
6358
- xerces-c
6459
- boost-cpp
6560
- eigen >=3.3.2
66-
- glpk
6761
- hdf5 >=1.10
6862
- bzip2
6963
- qt
7064
- libsvm
7165
- coinmp
72-
- sqlite
7366
build:
7467
run_exports:
7568
- {{ pin_compatible('llvm-openmp', max_pin='x.x') }} # [osx]
7669
- {{ pin_compatible('zlib', max_pin='x.x') }}
7770
- {{ pin_compatible('xerces-c', max_pin='x.x') }}
7871
- {{ pin_compatible('boost-cpp', max_pin='x.x') }}
7972
- {{ pin_compatible('eigen', max_pin='x.x') }}
80-
- {{ pin_compatible('glpk', max_pin='x.x') }}
8173
- {{ pin_compatible('hdf5', max_pin='x.x') }}
8274
- {{ pin_compatible('bzip2', max_pin='x.x') }}
8375
- {{ pin_compatible('qt', max_pin='x.x') }}
8476
- {{ pin_compatible('libsvm', max_pin='x.x') }}
8577
- {{ pin_compatible('coinmp', max_pin='x.x') }}
86-
- {{ pin_compatible('sqlite', max_pin='x.x') }}
8778
- libopenms {{ version }}
8879

8980
- name: openms
@@ -105,27 +96,23 @@ outputs:
10596
- xerces-c
10697
- boost-cpp
10798
- eigen >=3.3.2
108-
- glpk
10999
- hdf5 >=1.10
110100
- bzip2
111101
- qt
112102
- libsvm
113103
- coinmp
114-
- sqlite
115104
run:
116105
- {{ pin_subpackage('libopenms', exact=True) }}
117106
- {{ pin_compatible('llvm-openmp', max_pin='x.x') }} # [osx]
118107
- {{ pin_compatible('zlib', max_pin='x.x') }}
119108
- {{ pin_compatible('xerces-c', max_pin='x.x') }}
120109
- {{ pin_compatible('boost-cpp', max_pin='x.x') }}
121110
- {{ pin_compatible('eigen', max_pin='x.x') }}
122-
- {{ pin_compatible('glpk', max_pin='x.x') }}
123111
- {{ pin_compatible('hdf5', max_pin='x.x') }}
124112
- {{ pin_compatible('bzip2', max_pin='x.x') }}
125113
- {{ pin_compatible('qt', max_pin='x.x') }}
126114
- {{ pin_compatible('libsvm', max_pin='x.x') }}
127115
- {{ pin_compatible('coinmp', max_pin='x.x') }}
128-
- {{ pin_compatible('sqlite', max_pin='x.x') }}
129116
test:
130117
commands:
131118
- OPENMS_DATA_PATH=${PREFIX}/share/OpenMS/ ${PREFIX}/bin/OpenMSInfo
@@ -139,9 +126,7 @@ outputs:
139126
requirements:
140127
run:
141128
- {{ pin_subpackage('openms', exact=True) }}
142-
- bumbershoot ==3_0_21142_0e4f4a4
143129
- comet-ms ==2019015
144-
- crux-toolkit ==3.2
145130
- fido ==1.0
146131
- luciphor2 ==2020_04_03
147132
- msgf_plus ==2021.03.22
@@ -156,7 +141,6 @@ outputs:
156141
# Test copied from openms output to make sure a test environment for this output is created.
157142
commands:
158143
- OPENMS_DATA_PATH=${PREFIX}/share/OpenMS/ ${PREFIX}/bin/OpenMSInfo
159-
- sirius --help
160144

161145
about:
162146
home: https://github.com/OpenMS/OpenMS

recipes/openms-meta/sirius-2.8.0.patch

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)