Skip to content

Commit

Permalink
Merge pull request #13 from bioconda/ct-add-urllib3
Browse files Browse the repository at this point in the history
adding urllib3
  • Loading branch information
tomkinsc committed Oct 7, 2015
2 parents f88957c + 2a6239c commit 6b5a415
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recipes/urllib3/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 recipes/urllib3/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.
68 changes: 68 additions & 0 deletions recipes/urllib3/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
package:
name: urllib3
version: "1.12"

source:
fn: urllib3-1.12.tar.gz
url: https://pypi.python.org/packages/source/u/urllib3/urllib3-1.12.tar.gz
md5: befd9dbb2c373681bd88710ba96abbdb
# 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
#
# - urllib3 = urllib3:main
#
# Would create an entry point called urllib3 that calls urllib3.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:
- urllib3
- urllib3.contrib
- urllib3.packages
- urllib3.packages.ssl_match_hostname
- urllib3.util

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

about:
home: http://urllib3.readthedocs.org/
license: MIT License
summary: 'HTTP library with thread-safe connection pooling, file post, and more.'

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

0 comments on commit 6b5a415

Please sign in to comment.