Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
Merge pull request #62 from ContinuumIO/recipes
Browse files Browse the repository at this point in the history
Add Topik and prereq conda recipes
  • Loading branch information
msarahan committed Nov 30, 2015
2 parents 6b11e30 + f315bec commit fc4d2b5
Show file tree
Hide file tree
Showing 59 changed files with 828 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conda-recipes/elasticsearch-py/bld.bat
@@ -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.
3 changes: 3 additions & 0 deletions conda-recipes/elasticsearch-py/build.sh
@@ -0,0 +1,3 @@
#!/bin/bash

$PYTHON setup.py install
25 changes: 25 additions & 0 deletions conda-recipes/elasticsearch-py/meta.yaml
@@ -0,0 +1,25 @@
package:
name: elasticsearch-py
version: 1.7.0

source:
git_url: https://github.com/elastic/elasticsearch-py
git_tag: 1.7.0

requirements:
build:
- python
- setuptools
- urllib3

run:
- python
- urllib3

test:
imports:
- elasticsearch

about:
home: http://elasticsearch-py.readthedocs.org/en/master/
license: Apache 2.0
8 changes: 8 additions & 0 deletions conda-recipes/funcy/bld.bat
@@ -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.
3 changes: 3 additions & 0 deletions conda-recipes/funcy/build.sh
@@ -0,0 +1,3 @@
#!/bin/bash

$PYTHON setup.py install
23 changes: 23 additions & 0 deletions conda-recipes/funcy/meta.yaml
@@ -0,0 +1,23 @@
package:
name: funcy
version: 1.6

source:
git_url: https://github.com/Suor/funcy
git_tag: 1.6

requirements:
build:
- python
- setuptools

run:
- python

test:
imports:
- funcy

about:
home: https://github.com/Suor/funcy
license: BSD
8 changes: 8 additions & 0 deletions conda-recipes/httpretty/bld.bat
@@ -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.
3 changes: 3 additions & 0 deletions conda-recipes/httpretty/build.sh
@@ -0,0 +1,3 @@
#!/bin/bash
echo urllib3 > requirements.txt
$PYTHON setup.py install
26 changes: 26 additions & 0 deletions conda-recipes/httpretty/meta.yaml
@@ -0,0 +1,26 @@
package:
name: httpretty
version: 0.8.10

source:
fn: httpretty-0.8.10.tar.gz
url: https://pypi.python.org/packages/source/h/httpretty/httpretty-0.8.10.tar.gz
md5: 9c130b16726cbf85159574ae5761bce7

requirements:
build:
- python
- setuptools
- urllib3

run:
- python
- urllib3

test:
imports:
- httpretty

about:
home: https://github.com/gabrielfalcao/HTTPretty
license: BSD
8 changes: 8 additions & 0 deletions conda-recipes/ijson/bld.bat
@@ -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.
3 changes: 3 additions & 0 deletions conda-recipes/ijson/build.sh
@@ -0,0 +1,3 @@
#!/bin/bash

$PYTHON setup.py install
23 changes: 23 additions & 0 deletions conda-recipes/ijson/meta.yaml
@@ -0,0 +1,23 @@
package:
name: ijson
version: 2.2

source:
git_url: https://github.com/isagalaev/ijson
git_tag: 2.2

requirements:
build:
- python
- setuptools

run:
- python

test:
imports:
- ijson

about:
home: https://github.com/isagalaev/ijson
license: BSD
8 changes: 8 additions & 0 deletions conda-recipes/jsonpickle/bld.bat
@@ -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.
3 changes: 3 additions & 0 deletions conda-recipes/jsonpickle/build.sh
@@ -0,0 +1,3 @@
#!/bin/bash

$PYTHON setup.py install
23 changes: 23 additions & 0 deletions conda-recipes/jsonpickle/meta.yaml
@@ -0,0 +1,23 @@
package:
name: jsonpickle
version: 0.9.2

source:
git_url: https://github.com/jsonpickle/jsonpickle
git_tag: v0.9.2

requirements:
build:
- python
- setuptools

run:
- python

test:
imports:
- jsonpickle

about:
home: https://github.com/jsonpickle/jsonpickle
license: BSD
19 changes: 19 additions & 0 deletions conda-recipes/liblinear/bld.bat
@@ -0,0 +1,19 @@
set INCLUDE=%INCLUDE%;%LIBRARY_INC%
set LIB=%LIB%;%LIBRARY_LIB%
set LIBPATH=%LIBPATH%;%LIBRARY_LIB%

REM Build step
nmake /f Makefile.vc
if errorlevel 1 exit 1

REM Install step
copy libtiff\libtiff.dll %LIBRARY_BIN%\
if errorlevel 1 exit 1
copy libtiff\libtiff.lib %LIBRARY_LIB%\
if errorlevel 1 exit 1
copy libtiff\libtiff.lib %LIBRARY_LIB%\tiff.lib
if errorlevel 1 exit 1
copy libtiff\libtiff_i.lib %LIBRARY_LIB%\
if errorlevel 1 exit 1
xcopy libtiff\*.h %LIBRARY_INC%\
if errorlevel 1 exit 1
5 changes: 5 additions & 0 deletions conda-recipes/liblinear/build.sh
@@ -0,0 +1,5 @@
#!/bin/bash

make lib
mkdir $PREFIX/lib
mv liblinear* $PREFIX/lib/
11 changes: 11 additions & 0 deletions conda-recipes/liblinear/meta.yaml
@@ -0,0 +1,11 @@
package:
name: liblinear
version: 210

source:
git_url: https://github.com/cjlin1/liblinear/
git_rev: v210

about:
home: https://www.csie.ntu.edu.tw/~cjlin/liblinear/
license: modified BSD
19 changes: 19 additions & 0 deletions conda-recipes/libsvm/bld.bat
@@ -0,0 +1,19 @@
set INCLUDE=%INCLUDE%;%LIBRARY_INC%
set LIB=%LIB%;%LIBRARY_LIB%
set LIBPATH=%LIBPATH%;%LIBRARY_LIB%

REM Build step
nmake /f Makefile.vc
if errorlevel 1 exit 1

REM Install step
copy libtiff\libtiff.dll %LIBRARY_BIN%\
if errorlevel 1 exit 1
copy libtiff\libtiff.lib %LIBRARY_LIB%\
if errorlevel 1 exit 1
copy libtiff\libtiff.lib %LIBRARY_LIB%\tiff.lib
if errorlevel 1 exit 1
copy libtiff\libtiff_i.lib %LIBRARY_LIB%\
if errorlevel 1 exit 1
xcopy libtiff\*.h %LIBRARY_INC%\
if errorlevel 1 exit 1
5 changes: 5 additions & 0 deletions conda-recipes/libsvm/build.sh
@@ -0,0 +1,5 @@
#!/bin/bash

make lib
mkdir $PREFIX/lib
mv libsvm* $PREFIX/lib/
27 changes: 27 additions & 0 deletions conda-recipes/libsvm/enable_zip.patch
@@ -0,0 +1,27 @@
From d196e78c60f4b471a40bff85aec40b1ca2f03e51 Mon Sep 17 00:00:00 2001
From: Mark Wiebe <mwwiebe@gmail.com>
Date: Sat, 1 Sep 2012 22:50:53 -0700
Subject: [PATCH] 'b'


diff --git nmake.opt nmake.opt
index c136c36..df324a3 100644
--- nmake.opt
+++ nmake.opt
@@ -63,10 +63,10 @@ LOGLUV_SUPPORT = 1
# Uncomment and edit following lines to enable ZIP support
# (required for Deflate compression and Pixar log-format)
#
-#ZIP_SUPPORT = 1
+ZIP_SUPPORT = 1
#ZLIBDIR = d:/projects/zlib-1.2.1
-#ZLIB_INCLUDE = -I$(ZLIBDIR)
-#ZLIB_LIB = $(ZLIBDIR)/zlib.lib
+ZLIB_INCLUDE =
+ZLIB_LIB = zlibstatic.lib

#
# Uncomment and edit following lines to enable ISO JBIG support
--
1.7.8.msysgit.0

11 changes: 11 additions & 0 deletions conda-recipes/libsvm/meta.yaml
@@ -0,0 +1,11 @@
package:
name: libsvm
version: 320

source:
git_url: https://github.com/cjlin1/libsvm/
git_rev: v320

about:
home: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
license: modified BSD
8 changes: 8 additions & 0 deletions conda-recipes/nltk/bld.bat
@@ -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-recipes/nltk/build.sh
@@ -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.
46 changes: 46 additions & 0 deletions conda-recipes/nltk/meta.yaml
@@ -0,0 +1,46 @@
package:
name: nltk
version: 3.0.5

source:
git_url: https://github.com/nltk/nltk
git_tag: 3.0.5

requirements:
build:
- python
- setuptools
- pyyaml
- six

run:
- python
- pyyaml
- six

test:
# Python imports
imports:
- nltk
- nltk.inference
- nltk.sem
- nltk.cluster
- nltk.stem
- nltk.metrics
- nltk.test
- nltk.corpus
- nltk.app
- nltk.draw
- nltk.ccg
- nltk.classify
- nltk.tag
- nltk.corpus.reader
- nltk.parse
- nltk.chat
- nltk.misc
- nltk.chunk
- nltk.tokenize

about:
home: http://nltk.org/
license: Apache Software License
8 changes: 8 additions & 0 deletions conda-recipes/pattern/bld.bat
@@ -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.
3 changes: 3 additions & 0 deletions conda-recipes/pattern/build.sh
@@ -0,0 +1,3 @@
#!/bin/bash

$PYTHON setup.py install

0 comments on commit fc4d2b5

Please sign in to comment.