Skip to content

Commit

Permalink
Merge pull request #13 from ocefpaf/rename_proj4_dep
Browse files Browse the repository at this point in the history
Rename proj4 dep
  • Loading branch information
ocefpaf authored Nov 2, 2016
2 parents 6d76a1f + a351972 commit 6cff7c6
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,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
12 changes: 11 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,18 @@ 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.
# This is required to handle a long path activation issue.
# Please see PR ( https://github.com/conda/conda/pull/3349 ).
- cmd: set "OLDPATH=%PATH%"
- cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"
- cmd: conda install --yes --quiet conda=4.1.12
- cmd: set "PATH=%OLDPATH%"
- cmd: set "OLDPATH="

- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: set PYTHONUNBUFFERED=1

Expand Down
93 changes: 49 additions & 44 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,59 +1,64 @@
{% set version = "4.3.0a" %}

package:
name: libspatialite
version: {{ version }}
name: libspatialite
version: {{ version }}

source:
fn: libspatialite-{{ version }}.tar.gz
url: http://www.gaia-gis.it/gaia-sins/libspatialite-{{ version }}.tar.gz
md5: 6b380b332c00da6f76f432b10a1a338c
patches:
# Skips 3 tests (check_extension, check_sql_stmt, and check_get_normal_zoom_extension_load) that are failing on OS X.
# Re-visit this once a new release is out.
- skip_failing_test.patch # [osx]
- makefile.vc.patch # [win]
- config-msvc.patch # [win]
- gg_extras.patch # [win]
fn: libspatialite-{{ version }}.tar.gz
url: http://www.gaia-gis.it/gaia-sins/libspatialite-{{ version }}.tar.gz
md5: 6b380b332c00da6f76f432b10a1a338c
patches:
# Skips 3 tests (check_extension, check_sql_stmt, and check_get_normal_zoom_extension_load) that are failing on OS X.
# Re-visit this once a new release is out.
- skip_failing_test.patch # [osx]
- makefile.vc.patch # [win]
- config-msvc.patch # [win]
- gg_extras.patch # [win]

build:
number: 10
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
- vc14 # [win and py35]
number: 11
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
- vc14 # [win and py35]

requirements:
build:
- python # [win]
- sqlite 3.13.*
- geos 3.4.*
- proj.4 4.9.3
- freexl
- zlib 1.2.*
- libxml2
- pkg-config # [not win]
run:
- sqlite 3.13.*
- geos 3.4.*
- proj.4 4.9.3
- freexl
- zlib 1.2.*
- libxml2
build:
- python # [win]
- sqlite 3.13.*
- geos 3.4.*
- proj4 4.9.3
- freexl
- zlib 1.2.*
- libxml2
- pkg-config # [not win]
- vc 9 # [win and py27]
- vc 10 # [win and py34]
- vc 14 # [win and py35]
run:
- sqlite 3.13.*
- geos 3.4.*
- proj4 4.9.3
- freexl
- zlib 1.2.*
- libxml2
- vc 9 # [win and py27]
- vc 10 # [win and py34]
- vc 14 # [win and py35]

test:
requires:
- python {{ environ['PY_VER'] + '*' }} # [win]
#commands:
#- conda inspect linkages -p $PREFIX libspatialite # [not win]
commands:
#- conda inspect linkages -p $PREFIX libspatialite # [not win]
#- conda inspect objects -p $PREFIX libspatialite # [osx]

about:
home: https://www.gaia-gis.it/fossil/libspatialite/index
license: LGPL-2.1
summary: 'Extend the SQLite core to support fully fledged Spatial SQL capabilities.'
home: https://www.gaia-gis.it/fossil/libspatialite/index
license: LGPL-2.1
summary: 'Extend the SQLite core to support fully fledged Spatial SQL capabilities.'

extra:
recipe-maintainers:
- danclewley
- gillins
- ocefpaf
recipe-maintainers:
- danclewley
- gillins
- ocefpaf

0 comments on commit 6cff7c6

Please sign in to comment.