Skip to content

Commit d856a1e

Browse files
Christopher WoodsChristopher Woods
authored andcommitted
Merge branch 'devel' of https://github.com/michellab/Sire into devel
2 parents a5fd825 + 1c3df5d commit d856a1e

6 files changed

Lines changed: 98 additions & 7 deletions

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.event_name == 'pull_request'
3737
- name: Setup Conda
3838
shell: bash -l {0}
39-
run: conda install -y conda-build anaconda-client
39+
run: conda install -y -c conda-forge conda-build anaconda-client
4040
- name: Update Conda recipe
4141
run: Sire/actions/update_recipe.sh
4242
env:

actions/upload_package.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,23 @@ fi
2929

3030
# Upload the packages to the michellab channel on Anaconda Cloud.
3131

32-
# Label release packages with main and dev so that dev is at least as new as main.
33-
# Uncomment the libcpuid package upload as and when there are new releases.
32+
# Label release packages with main and dev so that dev is at least
33+
# as new as main.
3434
if [ "$LABEL" = "main" ]; then
3535
anaconda \
3636
--token "$ANACONDA_TOKEN" upload \
3737
--user michellab \
3838
--label main \
3939
--label dev \
4040
--force \
41-
"$CONDA_BLD"/"$OS"/sire-*
42-
# "$CONDA_BLD"/"$OS"/libcpuid-*
41+
"$CONDA_BLD"/"$OS"/*.bz2
4342
else
4443
anaconda \
4544
--token "$ANACONDA_TOKEN" upload \
4645
--user michellab \
4746
--label dev \
4847
--force \
49-
"$CONDA_BLD"/"$OS"/sire-*
50-
# "$CONDA_BLD"/"$OS"/libcpuid-*
48+
"$CONDA_BLD"/"$OS"/*.bz2
5149
fi
5250

5351
echo "Package uploaded!"

recipes/fkcombu/LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2018, Takeshi Kawabata
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright notice,
7+
this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright notice,
9+
this list of conditions and the following disclaimer in the documentation
10+
and/or other materials provided with the distribution.
11+
* Neither the name of the Institute for Protein Research, Osaka University
12+
nor the names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL Takeshi Kawabata BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

recipes/fkcombu/build.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
if [ "$(uname)" == "Linux" ]; then
6+
# Update the C compiler on Linux.
7+
sed -i "s#gcc#$CC#g" Makefile.fkcombu
8+
else
9+
# Ignore implicit function declaration errors on macOS.
10+
sed -i.bak -e "s#Wall#Wno-implicit-function-declaration#g" Makefile.fkcombu
11+
fi
12+
13+
# Build FKCOMBU.
14+
make -f Makefile.fkcombu
15+
16+
# Copy the FKCOMBU executable to the bin directory.
17+
mkdir ${PREFIX}/bin
18+
cp -a ../fkcombu ${PREFIX}/bin

recipes/fkcombu/meta.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{% set name = "fkcombu" %}
2+
{% set version = "2020.04.14" %}
3+
4+
package:
5+
name: {{ name }}
6+
version: {{ version }}
7+
8+
source:
9+
url: https://pdbj.org/kcombu/cgi-bin/dwnld_src_file.cgi?filename=kcombu-src-20200414.tar.gz
10+
sha256: 2394029273667260817ff14ff0ed9e38cd3fd9f0756a48456c55a53c47a39d75
11+
12+
build:
13+
number: 0
14+
15+
requirements:
16+
build:
17+
- {{ compiler('c') }}
18+
- make
19+
20+
test:
21+
commands:
22+
- test -f $PREFIX/bin/fkcombu
23+
24+
about:
25+
home: https://pdbj.org/kcombu/doc/README_fkcombu.html
26+
license: BSD-3-Clause
27+
license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE'
28+
summary: A tool for flexible transformation of a target molecule onto a reference molecule.
29+
dev_url: https://pdbj.org/kcombu/doc/README_fkcombu.html
30+
doc_url: https://pdbj.org/kcombu/doc/README_fkcombu.html
31+
description: A tool for flexible transformation of a target molecule onto a reference molecule.
32+
33+
extra:
34+
recipe-maintainers:
35+
- lohedges

recipes/sire/template.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@ requirements:
3232
- qt
3333
- tbb-devel
3434
- tbb
35+
# Add BioSimSpace run dependencies so Sire dependencies
36+
# are resolved in a compatible way.
37+
- configargparse
38+
- fkcombu
39+
- mdtraj
40+
- mdanalysis
41+
- nglview
42+
- openff-toolkit-base
43+
- parmed
44+
- pydot
45+
- pygtail
46+
- pypdb
47+
- pytest
48+
- pyyaml
49+
- rdkit
50+
- watchdog
3551
run:
3652
- boost
3753
- gsl

0 commit comments

Comments
 (0)