Skip to content

Commit

Permalink
Merge pull request #12 from ocefpaf/pin_proj4
Browse files Browse the repository at this point in the history
Pin proj4
  • Loading branch information
ocefpaf authored Oct 8, 2016
2 parents f963766 + 88c5284 commit 6d76a1f
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 151 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yaml and/or the recipe/meta.yaml.
# update the conda-forge.yml and/or the recipe/meta.yaml.

language: objective-c
language: generic

os: osx
osx_image: beta-xcode6.1

env:
global:
Expand All @@ -22,7 +25,7 @@ install:
curl -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash $MINICONDA_FILE -b
export PATH=/Users/travis/miniconda3/bin:$PATH
source /Users/travis/miniconda3/bin/activate root
conda config --add channels conda-forge
conda config --set show_channel_urls true
conda install --yes --quiet conda-forge-build-setup
Expand All @@ -31,6 +34,4 @@ install:
script:
- conda build ./recipe

after_success:

- ./ci_support/upload_or_check_non_existence.py ./recipe conda-forge --channel=main
- upload_or_check_non_existence ./recipe conda-forge --channel=main
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,26 @@ Summary: Extend the SQLite core to support fully fledged Spatial SQL capabilitie
Installing libspatialite
========================

Installing libspatialite from the conda-forge channel can be achieved by adding conda-forge to your channels with:
Installing `libspatialite` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:

```
conda config --add channels conda-forge
```

Once the conda-forge channel has been enabled, libspatialite can be installed with:
Once the `conda-forge` channel has been enabled, `libspatialite` can be installed with:

```
conda install libspatialite
```

It is possible to list all of the versions of libspatialite available on your platform with:
It is possible to list all of the versions of `libspatialite` available on your platform with:

```
conda search libspatialite --channel conda-forge
```



About conda-forge
=================

Expand All @@ -51,8 +52,8 @@ packages to the [conda-forge](https://anaconda.org/conda-forge)

To manage the continuous integration and simplify feedstock maintenance
[conda-smithy](http://github.com/conda-forge/conda-smithy) has been developed.
Using the ``conda-forge.yml`` within this repository, it is possible to regenerate all of
this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy regenerate``.
Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of
this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``.


Terminology
Expand All @@ -70,7 +71,7 @@ Terminology
Current build status
====================

Linux: [![Circle CI](https://circleci.com/gh/conda-forge/libspatialite-feedstock.svg?style=svg)](https://circleci.com/gh/conda-forge/libspatialite-feedstock)
Linux: [![Circle CI](https://circleci.com/gh/conda-forge/libspatialite-feedstock.svg?style=shield)](https://circleci.com/gh/conda-forge/libspatialite-feedstock)
OSX: [![TravisCI](https://travis-ci.org/conda-forge/libspatialite-feedstock.svg?branch=master)](https://travis-ci.org/conda-forge/libspatialite-feedstock)
Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/conda-forge/libspatialite-feedstock?svg=True)](https://ci.appveyor.com/project/conda-forge/libspatialite-feedstock/branch/master)

Expand All @@ -83,12 +84,17 @@ Downloads: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/libspatial
Updating libspatialite-feedstock
================================

If you would like to improve the libspatialite recipe, please take the normal
route of forking this repository and submitting a PR. Upon submission, your changes will
be run on the appropriate platforms to give the reviewer an opportunity to confirm that the
changes result in a successful build. Once merged, the recipe will be re-built and uploaded
automatically to the conda-forge channel, whereupon they will be available for everybody to
install and use.
If you would like to improve the libspatialite recipe or build a new
package version, please fork this repository and submit a PR. Upon submission,
your changes will be run on the appropriate platforms to give the reviewer an
opportunity to confirm that the changes result in a successful build. Once
merged, the recipe will be re-built and uploaded automatically to the
`conda-forge` channel, whereupon the built conda packages will be available for
everybody to install and use from the `conda-forge` channel.
Note that all branches in the conda-forge/libspatialite-feedstock are
immediately built and any created packages are uploaded, so PRs should be based
on branches in forks and branches in the main repository should only be used to
build distinct package versions.

In order to produce a uniquely identifiable distribution:
* If the version of a package **is not** being increased, please add or increase
Expand Down
5 changes: 2 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was automatically generated by conda-smithy. To update a component of this
# file, make changes to conda-forge.yaml and/or recipe/meta.yaml, and run
# file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run
# "conda smithy rerender".

environment:
Expand Down Expand Up @@ -73,5 +73,4 @@ build: off
test_script:
- "%CMD_IN_ENV% conda build recipe --quiet"
deploy_script:

- 'python ci_support\upload_or_check_non_existence.py .\recipe conda-forge --channel=main'
- cmd: upload_or_check_non_existence .\recipe conda-forge --channel=main
27 changes: 27 additions & 0 deletions ci_support/checkout_merge_commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash


# Update PR refs for testing.
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
then
FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/head:pr/${CIRCLE_PR_NUMBER}/head"
FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge"
fi

# Retrieve the refs.
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
then
git fetch -u origin ${FETCH_REFS}
fi

# Checkout the PR merge ref.
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
then
git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge"
fi

# Check for merge conflicts.
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
then
git branch --merged | grep "pr/${CIRCLE_PR_NUMBER}/head" > /dev/null
fi
2 changes: 1 addition & 1 deletion ci_support/run_docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ source run_conda_forge_build_setup
# Embarking on 1 case(s).
conda build /recipe_root --quiet || exit 1
/feedstock_root/ci_support/upload_or_check_non_existence.py /recipe_root conda-forge --channel=main || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
EOF
124 changes: 0 additions & 124 deletions ci_support/upload_or_check_non_existence.py

This file was deleted.

4 changes: 4 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
checkout:
post:
- ./ci_support/checkout_merge_commit.sh

machine:
services:
- docker
Expand Down
10 changes: 5 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ source:
- gg_extras.patch # [win]

build:
number: 9
number: 10
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
Expand All @@ -28,24 +28,24 @@ requirements:
- python # [win]
- sqlite 3.13.*
- geos 3.4.*
- proj.4
- proj.4 4.9.3
- freexl
- zlib 1.2.*
- libxml2
- pkg-config # [not win]
run:
- sqlite 3.13.*
- geos 3.4.*
- proj.4
- proj.4 4.9.3
- freexl
- zlib 1.2.*
- libxml2

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

about:
home: https://www.gaia-gis.it/fossil/libspatialite/index
Expand Down

0 comments on commit 6d76a1f

Please sign in to comment.