Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Renamed proj4 to proj.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Oct 11, 2015
1 parent cea5abe commit ed67c60
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 28 deletions.
10 changes: 5 additions & 5 deletions cartopy/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ source:
- cartopy.win.patch # [win]

build:
number: 0 # [not linux]
number: 1 # [linux]
number: 1 # [not linux]
number: 2 # [linux]

requirements:
build:
Expand All @@ -21,7 +21,7 @@ requirements:
# We must bake the numpy version into the build string.
- numpy *
- cython
- proj4
- proj.4
- geos
# On OSX We need to effectively pin the geos version to the
# one used by the specific shapely being targetted (we're letting
Expand All @@ -30,7 +30,7 @@ requirements:
- owslib
- pyshp
- pyepsg

run:
- python
- six
Expand All @@ -39,7 +39,7 @@ requirements:
- pillow
- owslib
- numpy
- proj4
- proj.4
- shapely >=1.5.6
- scipy
- pyshp
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
26 changes: 26 additions & 0 deletions proj.4/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package:
name: proj.4
version: "4.9.1"

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

build:
number: 1

requirements:
run:
# The VS version is important. See # https://github.com/SciTools/conda-recipes-scitools/issues/94.
- python # [win]

test:
commands:
- 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/
license: MIT
summary: 'Cartographic projection software'
3 changes: 0 additions & 3 deletions proj4/bld.bat

This file was deleted.

20 changes: 0 additions & 20 deletions proj4/meta.yaml

This file was deleted.

0 comments on commit ed67c60

Please sign in to comment.