Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename proj4 dep #19

Merged
merged 3 commits into from
Nov 2, 2016
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ os: osx
osx_image: beta-xcode6.1

env:
matrix:

- CONDA_NPY=110 CONDA_PY=27
- CONDA_NPY=111 CONDA_PY=27
- CONDA_NPY=110 CONDA_PY=34
- CONDA_NPY=111 CONDA_PY=34
- CONDA_NPY=110 CONDA_PY=35
- CONDA_NPY=111 CONDA_PY=35
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "zyaZK3IiU8K8yNnSQpKnUA7IW8dhL/fm1WHur7uPRbqN7m2HGFOHk/h6QWcpFgeQh/OOW4e2vGyDFFZ7DiU9xI7AdqeDrAMkV6aB44gGSdtfgFq07uszC3qS/i1uPDVJ9QsaNA8ZPMGW7Yx2VglZwu3nqUvS6DO1irXSyTjwokPHkq9ko8CyYavYYx+oFAJH2nYKa/K48QrJDIMymbRmKYlxCDBssvPtmUQHhxluWW3EXX0dr4wAD1YsCok2yt/31hKuDytq5yMe69WysglJrkvxxY31y5vmSoeSyFHxRQ1LUZNsSkVx5V4NCqbu7VRFokblzMCOayALsJOibaF2saW4pAk17fZdDF/GhkDiC9k7nUS8e+xgLAE3eMyWPf939UScb4yer0AIIIgnEMLeNG40sN3rgn0wnY+4N7qiDvUSxE8JBcxJYhW9Iu8sOa0Gv2bfcf9huoxRPxcXTkRNMY9YwPwzys4xGRHF6uI5QazOd0m1nYZO75So5WHK2PMGYOy9aS2iJixPVhctZ8YMBqt78kN9hLkjfUCk9T2Hscni6I4waoFvWbArGKL5blEpBex3Yf/3Op53JZ90YnginDCLaxonCahiJhy7O6ot7DwTAcRWsKPqFILkLNnXV6ybnfSP7o/Dr965JqxKxWrZOMBIxjkmjvzBhtKFyJkQcHs="
Expand All @@ -28,9 +20,9 @@ before_install:

install:
- |
MINICONDA_URL="http://repo.continuum.io/miniconda"
MINICONDA_URL="https://repo.continuum.io/miniconda"
MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"
curl -O "${MINICONDA_URL}/${MINICONDA_FILE}"
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash $MINICONDA_FILE -b

source /Users/travis/miniconda3/bin/activate root
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Package license: GNU LGPL

Feedstock license: BSD 3-Clause

Summary: A library providing cartographic tools for python
Summary: A library providing cartographic tools for python.



Expand Down
46 changes: 1 addition & 45 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,52 +20,8 @@ environment:

matrix:
- TARGET_ARCH: x86
CONDA_NPY: 110
CONDA_PY: 27

- TARGET_ARCH: x64
CONDA_NPY: 110
CONDA_PY: 27

- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 27

- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 27

- TARGET_ARCH: x86
CONDA_NPY: 110
CONDA_PY: 34

- TARGET_ARCH: x64
CONDA_NPY: 110
CONDA_PY: 34

- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 34

- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 34

- TARGET_ARCH: x86
CONDA_NPY: 110
CONDA_PY: 35

- TARGET_ARCH: x64
CONDA_NPY: 110
CONDA_PY: 35

- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 35

- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 35


# We always use a 64-bit machine, but can build x86 distributions
Expand All @@ -86,7 +42,7 @@ install:

# Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)
- cmd: rmdir C:\cygwin /s /q
- appveyor DownloadFile "https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py"
- appveyor DownloadFile "https://raw.githubusercontent.com/conda-forge/conda-smithy/e976c7e84bb3c4846e7562afd1a42c4b535b51f5/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

# Add a hack to switch to `conda` version `4.1.12` before activating.
Expand Down
41 changes: 1 addition & 40 deletions ci_support/run_docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,46 +41,7 @@ conda clean --lock
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup

# Embarking on 6 case(s).
set -x
export CONDA_NPY=110
export CONDA_PY=27
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1

set -x
export CONDA_NPY=111
export CONDA_PY=27
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1

set -x
export CONDA_NPY=110
export CONDA_PY=34
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1

set -x
export CONDA_NPY=111
export CONDA_PY=34
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1

set -x
export CONDA_NPY=110
export CONDA_PY=35
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1

set -x
export CONDA_NPY=111
export CONDA_PY=35
set +x
# Embarking on 1 case(s).
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
EOF
100 changes: 49 additions & 51 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,66 +1,64 @@
{% set version = "0.14.3" %}

package:
name: cartopy
version: {{ version }}
name: cartopy
version: {{ version }}

source:
fn: cartopy-{{ version }}.tar.gz
url: https://github.com/SciTools/cartopy/archive/v{{ version }}.tar.gz
sha256: dce1c68fb4b3846e9d5e04c73ac12dd9b5bbdeee84e9819cddbb32d63b4dd426
patches:
- cartopy.win.patch # [win]
fn: cartopy-{{ version }}.tar.gz
url: https://github.com/SciTools/cartopy/archive/v{{ version }}.tar.gz
sha256: dce1c68fb4b3846e9d5e04c73ac12dd9b5bbdeee84e9819cddbb32d63b4dd426
patches:
- cartopy.win.patch # [win]

build:
number: 2
number: 3

requirements:
build:
- python
- setuptools
- six
- numpy x.x
- cython
- proj.4 4.9.3
- geos 3.4.*
# On OSX We need to effectively pin the geos version to the
# one used by the specific shapely being targetted (we're letting
# conda's package solver will deal with that).
- shapely >=1.5.6
- owslib
- pyshp
- pyepsg
- msinttypes # [win]
run:
- python
- six
- mock
- nose
- pillow
- owslib
- numpy x.x
- proj.4 4.9.3
- shapely >=1.5.6
- scipy
- pyshp
- matplotlib
- pyepsg
build:
- python
- setuptools
- six
- numpy x.x
- cython
- proj4 4.9.3
- geos 3.4.*
- shapely >=1.5.6
- owslib
- pyshp
- pyepsg
- msinttypes # [win]
run:
- python
- six
- mock
- nose
- pillow
- owslib
- numpy x.x
- proj4 4.9.3
- shapely >=1.5.6
- scipy
- pyshp
- matplotlib
- pyepsg

test:
imports:
- cartopy
- cartopy.mpl.geoaxes
- cartopy.crs
#commands:
#- conda inspect linkages -p $PREFIX cartopy # [not win]
imports:
- cartopy
- cartopy.mpl.geoaxes
- cartopy.crs
commands:
#- conda inspect linkages -p $PREFIX cartopy # [not win]
#- conda inspect objects -p $PREFIX cartopy # [osx]

about:
home: http://scitools.org.uk/cartopy
license: GNU LGPL
summary: A library providing cartographic tools for python
home: http://scitools.org.uk/cartopy
license: GNU LGPL
summary: 'A library providing cartographic tools for python.'

extra:
recipe-maintainers:
- marqh
- ocefpaf
- pelson
recipe-maintainers:
- marqh
- ocefpaf
- pelson