Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #500 from ocefpaf/default_proj
Browse files Browse the repository at this point in the history
Rename proj4 to proj.4
  • Loading branch information
ocefpaf committed Oct 11, 2015
2 parents fd24611 + 423e0e6 commit 9de9799
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 25 deletions.
12 changes: 5 additions & 7 deletions cartopy/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ source:
- cartopy.win.patch # [win]

build:
number: 1
number: 2

requirements:
build:
- python
- setuptools
- six
- numpy >=1.8,<1.10
- numpy
- cython
- proj4 ==4.9.1 # [win]
- proj4 # [not win]
- proj.4
- geos
# On OSX we need to effectively pin the geos version to the
# one used by the specific shapely being targeted (we're letting
Expand All @@ -36,9 +35,8 @@ requirements:
- nose
- pillow
- owslib
- numpy >=1.8,<1.10
- proj4 ==4.9.1 # [win]
- proj4 # [not win]
- numpy
- proj.4
- geos
- shapely >=1.5.9
- scipy
Expand Down
5 changes: 5 additions & 0 deletions cdo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@
--with-proj=$PREFIX

make

if [[ $(uname) == Linux ]]; then
make check
fi

make install
6 changes: 3 additions & 3 deletions cdo/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ source:
md5: bf0997bf20e812f35e10188a930e24e2

build:
number: 0
number: 1

requirements:
build:
- jasper # [not win]
- ecmwf_grib # [not win]
- libnetcdf
- proj4
- proj.4
run:
- jasper # [not win]
- ecmwf_grib # [not win]
- libnetcdf
- proj4
- proj.4

test:
commands:
Expand Down
7 changes: 7 additions & 0 deletions proj.4/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nmake /f makefile.vc

nmake INSTDIR=%LIBRARY_PREFIX% /f makefile.vc install-all
if errorlevel 1 exit 1

move %LIBRARY_PREFIX%\bin\*.* %PREFIX%
if errorlevel 1 exit 1
6 changes: 6 additions & 0 deletions proj4/build.sh → proj.4/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash

./configure --prefix=$PREFIX --without-jni

make

if [[ $(uname) == Linux ]]; then
make check
fi

make install
14 changes: 7 additions & 7 deletions proj4/meta.yaml → proj.4/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package:
name: proj4
version: "4.9.2"
name: proj.4
version: "4.9.1"

source:
fn: proj-4.9.2.tar.gz
url: http://download.osgeo.org/proj/proj-4.9.2.tar.gz
md5: 9843131676e31bbd903d60ae7dc76cf9
fn: proj-4.9.1.tar.gz
url: http://download.osgeo.org/proj/proj-4.9.1.tar.gz
md5: 3cbb2a964fd19a496f5f4265a717d31c

build:
number: 0
number: 1

requirements:
run:
Expand All @@ -17,8 +17,8 @@ requirements:

test:
commands:
- echo -117 30 | cs2cs +proj=latlong +datum=NAD27 +to +proj=latlong +datum=NAD83
- echo -105 40 | proj +proj=utm +zone=13 +ellps=WGS84
- echo -117 30 | cs2cs +proj=latlong +datum=NAD27 +to +proj=latlong +datum=NAD83

about:
home: http://trac.osgeo.org/proj/
Expand Down
8 changes: 0 additions & 8 deletions proj4/bld.bat

This file was deleted.

0 comments on commit 9de9799

Please sign in to comment.