diff --git a/.ci_support/linux_.yaml b/.ci_support/linux_.yaml new file mode 100644 index 0000000..682cb6c --- /dev/null +++ b/.ci_support/linux_.yaml @@ -0,0 +1,2 @@ +c_compiler: +- toolchain_c diff --git a/.circleci/build_steps.sh b/.circleci/build_steps.sh new file mode 100755 index 0000000..ac29892 --- /dev/null +++ b/.circleci/build_steps.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here +# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent +# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also +# benefit from the improvement. + +set -xeuo pipefail +export PYTHONUNBUFFERED=1 + +cat >~/.condarc < /dev/null && docker-machine active > /dev/null; then - HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) + export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) fi -rm -f "$FEEDSTOCK_ROOT/build_artifacts/conda-forge-build-done" +ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" -cat << EOF | docker run -i \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root \ - -e CONFIG="$CONFIG" \ - -e HOST_USER_ID="${HOST_USER_ID}" \ - -a stdin -a stdout -a stderr \ - condaforge/linux-anvil \ - bash || exit 1 - -set -e -set +x -export BINSTAR_TOKEN=${BINSTAR_TOKEN} -set -x -export PYTHONUNBUFFERED=1 - -echo "$config" > ~/.condarc -# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artifacts. -conda clean --lock - -conda install --yes --quiet conda-forge-ci-setup=1 -source run_conda_forge_build_setup - -conda build /home/conda/recipe_root -m /home/conda/feedstock_root/.ci_support/${CONFIG}.yaml --quiet || exit 1 -upload_or_check_non_existence /home/conda/recipe_root loopbio --channel=main -m /home/conda/feedstock_root/.ci_support/${CONFIG}.yaml || exit 1 - -touch /home/conda/feedstock_root/build_artifacts/conda-forge-build-done -EOF +if [ -z "$CONFIG" ]; then + echo "Need to set CONFIG env variable" + exit 1 +fi -# double-check that the build got to the end -# see https://github.com/conda-forge/conda-smithy/pull/337 -# for a possible fix -set -x -test -f "$FEEDSTOCK_ROOT/build_artifacts/conda-forge-build-done" || exit 1 +mkdir -p "$ARTIFACTS" +DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" +rm -f "$DONE_CANARY" + +docker run -it \ + -v "${RECIPE_ROOT}":/home/conda/recipe_root \ + -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root \ + -e CONFIG \ + -e BINSTAR_TOKEN \ + -e HOST_USER_ID \ + condaforge/linux-anvil \ + bash \ + /home/conda/feedstock_root/.circleci/build_steps.sh + +# verify that the end of the script was reached +test -f "$DONE_CANARY" \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8c34e9e..fc95334 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,46 +1,25 @@ + +Issue: - -Example (code snippet, shell command, or screenshot): - -
- - - -
- -
-Environment (`conda env export`): -
-
- +
+Environment (conda list):
-```yaml -name: test -channels: -- conda-forge -- defaults -dependencies: -# Please fill these in. :) -- ``` +$ conda list +```
-
-Details about `conda` and system (`conda info`): -
-
- +
+Details about conda and system ( conda info ):
``` $ conda info ``` -
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index f82ff19..dcfbaec 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,17 +1,18 @@ + +Checklist * [ ] Used a fork of the feedstock to propose changes -* [ ] Bump the build number (if the version is unchanged) +* [ ] Bumped the build number (if the version is unchanged) * [ ] Reset the build number to `0` (if the version changed) -* [ ] [Re-render]( https://conda-forge.org/docs/conda_smithy.html#how-to-re-render ) with the latest `conda-smithy` -* [ ] Ensure the license file is being packaged. +* [ ] [Re-rendered]( https://conda-forge.org/docs/conda_smithy.html#how-to-re-render ) with the latest `conda-smithy` (`@conda-forge-admin, please rerender`) +* [ ] Ensured the license file is being packaged. + - - + diff --git a/README.md b/README.md index 5275648..64f6d96 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ Current build status Current release info ==================== -[![Conda Downloads](https://img.shields.io/conda/dn/loopbio/libjpeg-turbo.svg)](https://anaconda.org/loopbio/libjpeg-turbo) -[![Conda Version](https://img.shields.io/conda/vn/loopbio/libjpeg-turbo.svg)](https://anaconda.org/loopbio/libjpeg-turbo) -[![Conda Platforms](https://img.shields.io/conda/pn/loopbio/libjpeg-turbo.svg)](https://anaconda.org/loopbio/libjpeg-turbo) +| Name | Downloads | Version | Platforms | +| --- | --- | --- | --- | +| [![Conda Recipe](https://img.shields.io/badge/recipe-libjpeg--turbo-green.svg)](https://anaconda.org/loopbio/libjpeg-turbo) | [![Conda Downloads](https://img.shields.io/conda/dn/loopbio/libjpeg-turbo.svg)](https://anaconda.org/loopbio/libjpeg-turbo) | [![Conda Version](https://img.shields.io/conda/vn/loopbio/libjpeg-turbo.svg)](https://anaconda.org/loopbio/libjpeg-turbo) | [![Conda Platforms](https://img.shields.io/conda/pn/loopbio/libjpeg-turbo.svg)](https://anaconda.org/loopbio/libjpeg-turbo) | Installing libjpeg-turbo ========================