Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Commit

Permalink
pycsw added
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Mar 23, 2015
1 parent 026aa0f commit bd67241
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 0 deletions.
77 changes: 77 additions & 0 deletions pycsw/.binstar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@

## The package attribure specifies a binstar package namespace to build the package to.
## This can be specified here or on the command line
package: pycsw

## You can also specify the account to upload to,
## you must be an admin of that account, this
## defaults to your user account
user: birdhouse

#===============================================================================
# Build Matrix Options
# Thes options may be a single item, a list or empty
# The resulting number of builds is [platform * engine * env]
#===============================================================================

## The platforms to build on.
## platform defaults to linux-64
# platform:
# - linux-64
# - linux-32
## The engine are the inital conda packages you want to run with
# engine:
# - python=2
# - python=3
## The env param is an environment variable list
# engine:
# - MY_ENV=A CC=gcc
# - MY_ENV=B

#===============================================================================
# Scrip options
# Thes options may be broken out into the before_script, script and after_script
# or not, that is up to you
#===============================================================================

## Run before the script
before_script:
- conda update -n root conda-build
- conda config --add channels https://conda.binstar.org/birdhouse
## Put your main computations here!
script:
- conda build .
## This will run after the script regardless of the result of script
## BINSTAR_BUILD_RESULT=[succcess|failure]
# after_script:
# - echo "The build was a $BINSTAR_BUILD_RESULT" | tee artifact1.txt
## This will be run only after a successfull build
# after_success:
# - echo "after_success!"
## This will be run only after a build failure
# after_failure:
# - echo "after_failure!"

#===============================================================================
# Build Results
# Build results are split into two categories: artifacts and targets
# You may omit either key and stiff have a successfull build
# They may be a string, list and contain any bash glob
#===============================================================================

## Build Artifacts: upload anything you want!
## Your build artifacts will be put into the website
## http://artifacts.build.binstar.info/USERNAME/PACKGE_NAME/BUILD_NO
## You can store all logs or any derived data here
## Remember, the site http://artifacts.build.binstar.info is NOT secure and does not
## require a user to log in to view
# build_artifacts:
# - *.log

## Build Targets: Upload these files to your binstar package
## build targets may be a list of files (globs allows) to upload
## The special build targets 'conda' and 'pypi' may be used to
## upload conda builds
## e.g. conda is an alias for /opt/anaconda/conda-bld/<os-arch>/*.tar.bz2
build_targets:
- conda
8 changes: 8 additions & 0 deletions pycsw/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1

:: Add more build steps here, if they are necessary.

:: See
:: http://docs.continuum.io/conda/build.html
:: for a list of environment variables that are set during the build process.
9 changes: 9 additions & 0 deletions pycsw/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

$PYTHON setup.py install

# Add more build steps here, if they are necessary.

# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
74 changes: 74 additions & 0 deletions pycsw/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
package:
name: pycsw
version: "1.10.1"

source:
fn: pycsw-1.10.1.tar.gz
url: https://pypi.python.org/packages/source/p/pycsw/pycsw-1.10.1.tar.gz
md5: f13152c4b2d28cc86c1b946d39d74d30
# patches:
# List any patch files here
# - fix.patch

# build:
# preserve_egg_dir: True
# entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - pycsw = pycsw:main
#
# Would create an entry point called pycsw that calls pycsw.main()


# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
# number: 1

requirements:
build:
- python
- geolinks
- lxml
- owslib
- pyproj
- shapely
- psycopg2
- sqlalchemy


run:
- python
- geolinks
- lxml
- owslib
- pyproj
- shapely
- psycopg2
- sqlalchemy

test:
# Python imports
imports:
- pycsw

# commands:
# You can put test commands to be run here. Use this to test that the
# entry points work.


# You can also put a file called run_test.py in the recipe that will be run
# at test time.

# requires:
# Put any additional test requirements here. For example
# - nose

about:
home: http://pycsw.org/
license: MIT License
summary: 'pycsw is an OGC CSW server implementation written in Python'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

0 comments on commit bd67241

Please sign in to comment.