File tree Expand file tree Collapse file tree 2 files changed +87
-0
lines changed
Expand file tree Collapse file tree 2 files changed +87
-0
lines changed Original file line number Diff line number Diff line change 1+ environment :
2+ matrix :
3+ - TARGET_ARCH : x64
4+ CONDA_PY : 27
5+ CONDA_INSTALL_LOCN : C:\\Miniconda-x64
6+
7+ - TARGET_ARCH : x64
8+ CONDA_PY : 36
9+ CONDA_INSTALL_LOCN : C:\\Miniconda36-x64
10+
11+ platform :
12+ - x64
13+
14+ install :
15+ # If there is a newer build queued for the same PR, cancel this one.
16+ # The AppVeyor 'rollout builds' option is supposed to serve the same
17+ # purpose but it is problematic because it tends to cancel builds pushed
18+ # directly to master instead of just PR builds (or the converse).
19+ - ps : if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
20+ https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
21+ Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
22+ throw "There are newer queued builds for this pull request, failing early." }
23+
24+ # Add path, activate `conda` and update conda.
25+ - cmd : set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"
26+ - cmd : call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
27+ - cmd : conda.exe config --set always_yes yes --set changeps1 no --set show_channel_urls true
28+ - cmd : conda.exe update conda
29+
30+ - cmd : set PYTHONUNBUFFERED=1
31+
32+ - cmd : conda.exe config --add channels conda-forge
33+ - cmd : conda.exe install conda-build
34+ - cmd : conda.exe info
35+
36+ # Skip .NET project specific build phase.
37+ build : off
38+
39+ test_script :
40+ - " conda build conda.recipe"
Original file line number Diff line number Diff line change 1+ package :
2+ name : sensorml2iso
3+ version : {{ GIT_DESCRIBE_TAG|replace("v","") }}
4+
5+ source :
6+ path : ../
7+
8+ build :
9+ script : python -m pip install --no-deps --ignore-installed .
10+ entry_points :
11+ - sensorml2iso = sensorml2iso.command_line:main
12+
13+ requirements :
14+ build :
15+ - python
16+ - pip
17+ run :
18+ - python
19+ - owslib
20+ - geopandas
21+ - jinja2
22+ - lxml
23+ - numpy
24+ - pandas
25+ - pyoos >=0.8.3
26+ - shapely
27+
28+ test :
29+ requires :
30+ - pytest
31+ imports :
32+ - sensorml2iso
33+ commands :
34+ - sensorml2iso -h
35+ - sensorml2iso -s http://data.nanoos.org/52nsos/sos/kvp
36+ - py.test -s -rxs -v sensorml2iso
37+
38+ about :
39+ home : https://github.com/ioos/sensorml2iso
40+ license : MIT
41+ license_file : LICENSE
42+ summary : ' Query an IOOS SOS service for active sensors and output ISO 19115-2-compliant xml.'
43+
44+ extra :
45+ recipe-maintainers :
46+ - mwengren
47+ - ocefpaf
You can’t perform that action at this time.
0 commit comments