From 48fba6e8e0698b59baa63f5580dab0f869377a1c Mon Sep 17 00:00:00 2001 From: Amir Mohammadi <183.amir@gmail.com> Date: Wed, 28 Sep 2016 23:35:08 +0200 Subject: [PATCH 1/3] compatible with anaconda=4.2.0 --- recipe/meta.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e7c0a3a3..be2357d7 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,6 @@ {% set version = "1.61.0" %} {% set filename = "boost_%s.tar.bz2" % version.replace(".", "_") %} +{% set build_number = "0" %} package: name: boost @@ -11,23 +12,24 @@ source: md5: 6095876341956f65f9d35939ccea1a9f build: - number: 2 + number: {{ build_number }} features: - vc9 # [win and py27] - vc10 # [win and py34] - vc14 # [win and py35] + string: icu54py{{ CONDA_PY }}_{{ build_number }} requirements: build: - python - - icu 56.* # [unix] - - bzip2 1.0.* # [unix] - - zlib 1.2.* + - icu 54.* # [unix] + - bzip2 # [unix] + - zlib 1.2* run: - python - - icu 56.* # [unix] - - zlib 1.2.* + - icu 54.* # [unix] + - zlib 1.2* test: commands: @@ -101,3 +103,4 @@ extra: - jakirkham - msarahan - ocefpaf + - 183amir From ccf96897c488c8fc3e63daf71d5564e2a3a1d5d7 Mon Sep 17 00:00:00 2001 From: Amir Mohammadi <183.amir@gmail.com> Date: Thu, 29 Sep 2016 15:41:09 +0200 Subject: [PATCH 2/3] rerender --- .travis.yml | 14 ++++++-------- README.md | 25 +++++++++++++++---------- appveyor.yml | 12 ++++-------- ci_support/run_docker_build.sh | 6 ++---- 4 files changed, 27 insertions(+), 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d99eead..8e66185e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ # This file was generated automatically from conda-smithy. To update this configuration, # update the conda-forge.yaml and/or the recipe/meta.yaml. -language: objective-c +language: generic + +os: osx env: matrix: @@ -28,16 +30,12 @@ install: bash $MINICONDA_FILE -b export PATH=/Users/travis/miniconda3/bin:$PATH - - conda config --set show_channel_urls true - conda update --yes conda - conda install --yes conda-build=1.20.0 jinja2 anaconda-client conda config --add channels conda-forge - + conda config --set show_channel_urls true + conda install --yes --quiet conda-forge-build-setup + source run_conda_forge_build_setup script: - conda build ./recipe -after_success: - - ./ci_support/upload_or_check_non_existence.py ./recipe conda-forge --channel=main diff --git a/README.md b/README.md index 85d08163..b74876bf 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ About conda-forge conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the -conda-forge GitHub organization. The conda-forge organization contains one repository +conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a *feedstock*. A feedstock is made up of a conda recipe (the instructions on what and how to build @@ -70,8 +70,8 @@ Terminology Current build status ==================== -Linux: [![Circle CI](https://circleci.com/gh/conda-forge/boost-feedstock.svg?style=svg)](https://circleci.com/gh/conda-forge/boost-feedstock) -OSX: [![TravisCI](https://travis-ci.org/conda-forge/boost-feedstock.svg?branch=master)](https://travis-ci.org/conda-forge/boost-feedstock) +Linux: [![Circle CI](https://circleci.com/gh/conda-forge/boost-feedstock.svg?style=shield)](https://circleci.com/gh/conda-forge/boost-feedstock) +OSX: [![TravisCI](https://travis-ci.org/conda-forge/boost-feedstock.svg?branch=master)](https://travis-ci.org/conda-forge/boost-feedstock) Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/conda-forge/boost-feedstock?svg=True)](https://ci.appveyor.com/project/conda-forge/boost-feedstock/branch/master) Current release info @@ -83,16 +83,21 @@ Downloads: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/boost/badg Updating boost-feedstock ======================== -If you would like to improve the boost recipe, please take the normal -route of forking this repository and submitting a PR. Upon submission, your changes will -be run on the appropriate platforms to give the reviewer an opportunity to confirm that the -changes result in a successful build. Once merged, the recipe will be re-built and uploaded -automatically to the conda-forge channel, whereupon they will be available for everybody to -install and use. +If you would like to improve the boost recipe or build a new +package version, please fork this repository and submit a PR. Upon submission, +your changes will be run on the appropriate platforms to give the reviewer an +opportunity to confirm that the changes result in a successful build. Once +merged, the recipe will be re-built and uploaded automatically to the +`conda-forge` channel, whereupon the built conda packages will be available for +everybody to install and use from the `conda-forge` channel. +Note that all branches in the conda-forge/boost-feedstock are +immediately built and any created packages are uploaded, so PRs should be based +on branches in forks and branches in the main repository should only be used to +build distinct package versions. In order to produce a uniquely identifiable distribution: * If the version of a package **is not** being increased, please add or increase - the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string). + the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string). * If the version of a package **is** being increased, please remember to return the [``build/number``](http://conda.pydata.org/docs/building/meta-yaml.html#build-number-and-string) back to 0. diff --git a/appveyor.yml b/appveyor.yml index fbfa9d3b..bd534b65 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ # This file was automatically generated by conda-smithy. To update a component of this # file, make changes to conda-forge.yaml and/or recipe/meta.yaml, and run -# "conda-smithy regenerate". +# "conda smithy rerender". environment: @@ -58,18 +58,14 @@ install: - cmd: rmdir C:\cygwin /s /q - appveyor DownloadFile "https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py" - cmd: python bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %TARGET_ARCH% %CONDA_PY:~0,1% --without-obvci - - cmd: set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts;%PATH% + - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat - cmd: set PYTHONUNBUFFERED=1 - cmd: conda config --set show_channel_urls true - cmd: conda install -c pelson/channel/development --yes --quiet obvious-ci - cmd: conda config --add channels conda-forge - - cmd: conda info - - cmd: conda install -n root --quiet --yes conda-build anaconda-client jinja2 setuptools - # Workaround for Python 3.4 and x64 bug in latest conda-build. - # FIXME: Remove once there is a release that fixes the upstream issue - # ( https://github.com/conda/conda-build/issues/895 ). - - cmd: if "%TARGET_ARCH%" == "x64" if "%CONDA_PY%" == "34" conda install conda-build=1.20.0 --yes + - cmd: conda install -n root --quiet --yes conda-forge-build-setup + - cmd: run_conda_forge_build_setup # Skip .NET project specific build phase. build: off diff --git a/ci_support/run_docker_build.sh b/ci_support/run_docker_build.sh index c8af2179..203b1fe5 100755 --- a/ci_support/run_docker_build.sh +++ b/ci_support/run_docker_build.sh @@ -14,7 +14,6 @@ config=$(cat < ~/.condarc # A lock sometimes occurs with incomplete builds. The lock file is stored in build_artefacts. conda clean --lock -conda update --yes --all -conda install --yes conda-build -conda info +conda install --yes --quiet conda-forge-build-setup +source run_conda_forge_build_setup # Embarking on 3 case(s). set -x From c251e3e90a75bf53aa4a1ee54e6d3c53da12b8cf Mon Sep 17 00:00:00 2001 From: Amir Mohammadi <183.amir@gmail.com> Date: Thu, 29 Sep 2016 16:55:56 +0200 Subject: [PATCH 3/3] Update pinnings [skip ci] --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index be2357d7..ed90d7c5 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -24,12 +24,12 @@ requirements: - python - icu 54.* # [unix] - bzip2 # [unix] - - zlib 1.2* + - zlib 1.2.* run: - python - icu 54.* # [unix] - - zlib 1.2* + - zlib 1.2.* test: commands: