Add dependencies and finish the py-tornado package.

This adds the following packages:

 py-backports-shutil-get-terminal-size  py-nbformat
 py-backports-ssl-match-hostname        py-pathlib2
 py-entrypoints                         py-pickleshare
 py-futures                             py-pip
 py-ipykernel                           py-prompt-toolkit
 py-ipython-genutils                    py-ptyprocess
 py-ipywidgets                          py-simplegeneric
 py-jupyter-client                      py-singledispatch
 py-jupyter-console                     py-terminado
 py-jupyter-core                        py-traitlets
 py-jupyter-notebook                    py-wcwidth
 py-monotonic                           py-widgetsnbextension
 py-nbconvert
This commit is contained in:
Matthew Krafczyk
2016-11-11 22:16:30 -05:00
committed by Todd Gamblin
parent 6a5185a2a7
commit 8c650303ff
34 changed files with 1199 additions and 25 deletions

View File

@@ -33,11 +33,17 @@ class PyTornado(Package):
url = "https://github.com/tornadoweb/tornado/archive/v4.4.0.tar.gz"
version('4.4.0', 'c28675e944f364ee96dda3a8d2527a87ed28cfa3')
extends('python')
depends_on('py-setuptools', type='build')
depends_on('py-backports-abc')
depends_on('py-certifi')
# requirements from setup.py
depends_on('py-backports-ssl-match-hostname', when='^python@:2.7.8')
depends_on('py-singledispatch', when='^python@:3.3')
depends_on('py-certifi', when='^python@:3.3')
depends_on('py-backports-abc@0.4:', when='^python@:3.4')
def install(self, spec, prefix):
setup_py('build')
setup_py('install', '--prefix={0}'.format(prefix))