Skip to content

Commit

Permalink
BLD: Added conda recipes for new requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank authored and Jean Bredeche committed Apr 4, 2016
1 parent be4dcb2 commit 6e8acce
Show file tree
Hide file tree
Showing 6 changed files with 160 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conda/intervaltree/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/intervaltree/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.
64 changes: 64 additions & 0 deletions conda/intervaltree/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
package:
name: intervaltree
version: "2.1.0"

source:
fn: intervaltree-2.1.0.tar.gz
url: https://pypi.python.org/packages/source/i/intervaltree/intervaltree-2.1.0.tar.gz
md5: 33bef3448aaf30b78aa093dc7c315c2c
# 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
#
# - intervaltree = intervaltree:main
#
# Would create an entry point called intervaltree that calls intervaltree.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
- sortedcontainers

run:
- python
- sortedcontainers

test:
# Python imports
imports:
- intervaltree

# 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:
- pytest
# Put any additional test requirements here. For example
# - nose

about:
home: https://github.com/chaimleib/intervaltree
license: Apache Software License
summary: 'Editable interval tree data structure for Python 2 and 3'

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

source:
fn: sortedcontainers-1.4.4.tar.gz
url: https://pypi.python.org/packages/source/s/sortedcontainers/sortedcontainers-1.4.4.tar.gz
md5: 456638aea9f8f705bd2e3c891c402023
# 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
#
# - sortedcontainers = sortedcontainers:main
#
# Would create an entry point called sortedcontainers that calls sortedcontainers.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

test:
# Python imports
imports:
- sortedcontainers

# 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:
# - tox
# Put any additional test requirements here. For example
# - nose

about:
home: http://www.grantjenks.com/docs/sortedcontainers/
license: Apache Software License
summary: 'Python Sorted Container Types: SortedList, SortedDict, and SortedSet'

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

0 comments on commit 6e8acce

Please sign in to comment.