From 43f14cdc84e7af380f03b43054033d7306c39199 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Tue, 26 Aug 2014 13:12:56 -0500 Subject: [PATCH] Add uritemplate.py and github3.py --- github3.py/bld.bat | 8 +++++ github3.py/build.sh | 9 ++++++ github3.py/meta.yaml | 68 ++++++++++++++++++++++++++++++++++++++++ uritemplate.py/bld.bat | 8 +++++ uritemplate.py/build.sh | 9 ++++++ uritemplate.py/meta.yaml | 59 ++++++++++++++++++++++++++++++++++ 6 files changed, 161 insertions(+) create mode 100644 github3.py/bld.bat create mode 100644 github3.py/build.sh create mode 100644 github3.py/meta.yaml create mode 100644 uritemplate.py/bld.bat create mode 100644 uritemplate.py/build.sh create mode 100644 uritemplate.py/meta.yaml diff --git a/github3.py/bld.bat b/github3.py/bld.bat new file mode 100644 index 000000000..87b1481d7 --- /dev/null +++ b/github3.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. diff --git a/github3.py/build.sh b/github3.py/build.sh new file mode 100644 index 000000000..4d7fc032b --- /dev/null +++ b/github3.py/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. diff --git a/github3.py/meta.yaml b/github3.py/meta.yaml new file mode 100644 index 000000000..7ee6a166f --- /dev/null +++ b/github3.py/meta.yaml @@ -0,0 +1,68 @@ +package: + name: github3.py + version: !!str 0.9.1 + +source: + fn: github3.py-0.9.1.tar.gz + url: https://pypi.python.org/packages/source/g/github3.py/github3.py-0.9.1.tar.gz + md5: 021890b36a21cf7d05c2ec8c7608eee9 +# 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 + # + # - github3.py = github3.py:main + # + # Would create an entry point called github3.py that calls github3.py.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 + - requests >=2.0 + - uritemplate.py >=0.2.0 + + run: + - python + - requests >=2.0 + - uritemplate.py >=0.2.0 + +test: + # Python imports + imports: + - github3 + - github3.gists + - github3.issues + - github3.repos + - github3.search + + #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://github3py.readthedocs.org + license: BSD + summary: 'Python wrapper for the GitHub API(http://developer.github.com/v3)' + +# See +# http://docs.continuum.io/conda/build.html for +# more information about meta.yaml diff --git a/uritemplate.py/bld.bat b/uritemplate.py/bld.bat new file mode 100644 index 000000000..87b1481d7 --- /dev/null +++ b/uritemplate.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. diff --git a/uritemplate.py/build.sh b/uritemplate.py/build.sh new file mode 100644 index 000000000..4d7fc032b --- /dev/null +++ b/uritemplate.py/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. diff --git a/uritemplate.py/meta.yaml b/uritemplate.py/meta.yaml new file mode 100644 index 000000000..b4b06b671 --- /dev/null +++ b/uritemplate.py/meta.yaml @@ -0,0 +1,59 @@ +package: + name: uritemplate.py + version: !!str 0.3.0 + +source: + fn: uritemplate.py-0.3.0.tar.gz + url: https://pypi.python.org/packages/source/u/uritemplate.py/uritemplate.py-0.3.0.tar.gz + md5: 4dd14904ba502c6ff8d6276e004404de +# 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 + # + # - uritemplate.py = uritemplate.py:main + # + # Would create an entry point called uritemplate.py that calls uritemplate.py.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 + + run: + - python + +test: + # Python imports + imports: + - uritemplate + + #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://uritemplate.readthedocs.org + license: BSD + summary: 'URI templates' + +# See +# http://docs.continuum.io/conda/build.html for +# more information about meta.yaml