Skip to content

Commit

Permalink
added pykafka, librdkafka, and other deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sstirlin committed Dec 15, 2015
1 parent 020c07c commit 318f9b1
Show file tree
Hide file tree
Showing 10 changed files with 259 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kazoo-2.2.1/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 kazoo-2.2.1/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.
67 changes: 67 additions & 0 deletions kazoo-2.2.1/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
package:
name: kazoo
version: "2.2.1"

source:
fn: kazoo-2.2.1.tar.gz
url: https://pypi.python.org/packages/source/k/kazoo/kazoo-2.2.1.tar.gz
md5: 93e7087abf992325d34bd014c189a8f1
# 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
#
# - kazoo = kazoo:main
#
# Would create an entry point called kazoo that calls kazoo.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
- six

run:
- python
- six

test:
# Python imports
imports:
- kazoo
- kazoo.handlers
- kazoo.protocol
- kazoo.recipe
- kazoo.testing
- kazoo.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:
# Put any additional test requirements here. For example
# - nose

about:
home: https://kazoo.readthedocs.org
license: Apache Software License
summary: 'Higher Level Zookeeper Client'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
5 changes: 5 additions & 0 deletions librdkafka-0.8.6/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

./configure --prefix=$PREFIX
make
make install
19 changes: 19 additions & 0 deletions librdkafka-0.8.6/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package:
name: librdkafka
version: 0.8.6

source:
fn: 0.8.6.tar.gz
url: https://github.com/edenhill/librdkafka/archive/0.8.6.tar.gz

build:
number: 0

requirements:
build:

run:

about:
home: https://github.com/edenhill/librdkafka
license: BSD
9 changes: 9 additions & 0 deletions pykafka-2.1.1/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

CPPFLAGS="-I$PREFIX/include -L$PREFIX/lib" $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.
63 changes: 63 additions & 0 deletions pykafka-2.1.1/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
package:
name: pykafka
version: "2.1.1"

source:
fn: 2.1.1.tar.gz
url: https://github.com/Parsely/pykafka/archive/2.1.1.tar.gz
# 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
#
# - python-snappy = python-snappy:main
#
# Would create an entry point called python-snappy that calls python-snappy.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
- librdkafka
- tabulate
- kazoo

run:
- python
- librdkafka
- tabulate
- kazoo

test:
# Python imports
imports:
- pykafka

# 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://github.com/Parsely/pykafka
license: Apache License 2.0
summary: 'Python library to talk to Kafka topics'

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

source:
fn: tabulate-0.7.5.tar.gz
url: https://pypi.python.org/packages/source/t/tabulate/tabulate-0.7.5.tar.gz
md5: 576e1f063b8e74dbfeda02d978564987
# 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
#
# - tabulate = tabulate:main
#
# Would create an entry point called tabulate that calls tabulate.main()

- tabulate = tabulate:_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:
- tabulate

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

- tabulate --help

# 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://bitbucket.org/astanin/python-tabulate
license: MIT License
summary: 'Pretty-print tabular data'

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

0 comments on commit 318f9b1

Please sign in to comment.