Skip to content

Commit

Permalink
BLD: Added conda recipes for bcolz
Browse files Browse the repository at this point in the history
and its dependency, setuptools_scm

bcolz was generated with skeleton and modified for cython, numpy, tests
  • Loading branch information
richafrank committed Feb 19, 2016
1 parent c0ad640 commit 931ee8a
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conda/bcolz/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 conda/bcolz/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

$PYTHON setup.py install --single-version-externally-managed --record=record.txt

# 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.
68 changes: 68 additions & 0 deletions conda/bcolz/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
package:
name: bcolz
version: "0.12.1"

source:
fn: bcolz-0.12.1.tar.gz
url: https://pypi.python.org/packages/source/b/bcolz/bcolz-0.12.1.tar.gz
md5: 43deb659e1f926976be3850e01844360
# patches:
# List any patch files here
# - fix.patch

# build:
# noarch_python: True
# preserve_egg_dir: True
# entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - bcolz = bcolz:main
#
# Would create an entry point called bcolz that calls bcolz.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
- setuptools
- numpy x.x
- setuptools_scm
- cython ==0.22.1

run:
- python
- numpy x.x

test:
# Python imports
imports:
- bcolz
# - bcolz.tests

# 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:
# - mock
# - unittest2 ; python_version < 2.7
# Put any additional test requirements here. For example
# - nose

about:
home: https://github.com/Blosc/bcolz
license: BSD License
summary: 'columnar and compressed data containers.'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
8 changes: 8 additions & 0 deletions conda/setuptools_scm/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 conda/setuptools_scm/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.
62 changes: 62 additions & 0 deletions conda/setuptools_scm/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
package:
name: setuptools_scm
version: "1.10.1"

source:
fn: setuptools_scm-1.10.1.tar.bz2
url: https://pypi.python.org/packages/source/s/setuptools_scm/setuptools_scm-1.10.1.tar.bz2
md5: 99823e2cd564b996f18820a065f0a974
# patches:
# List any patch files here
# - fix.patch

build:
# noarch_python: True
preserve_egg_dir: True
# entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - setuptools_scm = setuptools_scm:main
#
# Would create an entry point called setuptools_scm that calls setuptools_scm.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
- setuptools

run:
- python
- setuptools

test:
# Python imports
imports:
- setuptools_scm

# 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: https://github.com/pypa/setuptools_scm/
license: MIT License
summary: 'the blessed package to manage your versions by scm tags'

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

0 comments on commit 931ee8a

Please sign in to comment.