diff --git a/.travis.yml b/.travis.yml index 8b53a4f..e1c9f12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 9e309d2..5952400 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 112a181..18561f9 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -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