added several modules
This commit is contained in:
parent
7992f415fe
commit
9fa489b7f2
13
var/spack/packages/py-cython/package.py
Normal file
13
var/spack/packages/py-cython/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PyCython(Package):
|
||||
"""The Cython compiler for writing C extensions for the Python language."""
|
||||
homepage = "https://pypi.python.org/pypi/cython"
|
||||
url = "https://pypi.python.org/packages/source/C/Cython/Cython-0.21.2.tar.gz"
|
||||
|
||||
version('0.21.2', 'd21adb870c75680dc857cd05d41046a4')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
13
var/spack/packages/py-dateutil/package.py
Normal file
13
var/spack/packages/py-dateutil/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PyDateutil(Package):
|
||||
"""Extensions to the standard Python datetime module."""
|
||||
homepage = "https://pypi.python.org/pypi/dateutil"
|
||||
url = "https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.4.0.tar.gz"
|
||||
|
||||
version('2.4.0', '75714163bb96bedd07685cdb2071b8bc')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
13
var/spack/packages/py-epydoc/package.py
Normal file
13
var/spack/packages/py-epydoc/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PyEpydoc(Package):
|
||||
"""Epydoc is a tool for generating API documentation documentation for Python modules, based on their docstrings."""
|
||||
homepage = "https://pypi.python.org/pypi/epydoc"
|
||||
url = "https://pypi.python.org/packages/source/e/epydoc/epydoc-3.0.1.tar.gz"
|
||||
|
||||
version('3.0.1', '36407974bd5da2af00bf90ca27feeb44')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
14
var/spack/packages/py-ipython/package.py
Normal file
14
var/spack/packages/py-ipython/package.py
Normal file
@ -0,0 +1,14 @@
|
||||
from spack import *
|
||||
|
||||
class PyIpython(Package):
|
||||
"""IPython provides a rich toolkit to help you make the most out of using Python interactively."""
|
||||
homepage = "https://pypi.python.org/pypi/ipython"
|
||||
url = "https://pypi.python.org/packages/source/i/ipython/ipython-2.3.1.tar.gz"
|
||||
|
||||
version('2.3.1', '2b7085525dac11190bfb45bb8ec8dcbf')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-pygments')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
20
var/spack/packages/py-matplotlib/package.py
Normal file
20
var/spack/packages/py-matplotlib/package.py
Normal file
@ -0,0 +1,20 @@
|
||||
from spack import *
|
||||
|
||||
class PyMatplotlib(Package):
|
||||
"""Python plotting package."""
|
||||
homepage = "https://pypi.python.org/pypi/matplotlib"
|
||||
url = "https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.2.tar.gz"
|
||||
|
||||
version('1.4.2', '7d22efb6cce475025733c50487bd8898')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-pyside')
|
||||
depends_on('py-ipython')
|
||||
depends_on('py-pyparsing')
|
||||
depends_on('py-six')
|
||||
depends_on('py-dateutil')
|
||||
depends_on('py-pytz')
|
||||
depends_on('py-nose')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
14
var/spack/packages/py-numpy/package.py
Normal file
14
var/spack/packages/py-numpy/package.py
Normal file
@ -0,0 +1,14 @@
|
||||
from spack import *
|
||||
|
||||
class PyNumpy(Package):
|
||||
"""array processing for numbers, strings, records, and objects."""
|
||||
homepage = "https://pypi.python.org/pypi/numpy"
|
||||
url = "https://pypi.python.org/packages/source/n/numpy/numpy-1.9.1.tar.gz"
|
||||
|
||||
version('1.9.1', '78842b73560ec378142665e712ae4ad9')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-nose')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
13
var/spack/packages/py-pexpect/package.py
Normal file
13
var/spack/packages/py-pexpect/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PyPexpect(Package):
|
||||
"""Pexpect allows easy control of interactive console applications."""
|
||||
homepage = "https://pypi.python.org/pypi/pexpect"
|
||||
url = "https://pypi.python.org/packages/source/p/pexpect/pexpect-3.3.tar.gz"
|
||||
|
||||
version('3.3', '0de72541d3f1374b795472fed841dce8')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
14
var/spack/packages/py-pygments/package.py
Normal file
14
var/spack/packages/py-pygments/package.py
Normal file
@ -0,0 +1,14 @@
|
||||
from spack import *
|
||||
|
||||
class PyPygments(Package):
|
||||
"""Pygments is a syntax highlighting package written in Python."""
|
||||
homepage = "https://pypi.python.org/pypi/pygments"
|
||||
url = "https://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.1.tar.gz"
|
||||
|
||||
version('2.0.1', 'e0daf4c14a4fe5b630da765904de4d6c')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-setuptools')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
13
var/spack/packages/py-pyparsing/package.py
Normal file
13
var/spack/packages/py-pyparsing/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PyPyparsing(Package):
|
||||
"""A Python Parsing Module."""
|
||||
homepage = "https://pypi.python.org/pypi/pyparsing"
|
||||
url = "https://pypi.python.org/packages/source/p/pyparsing/pyparsing-2.0.3.tar.gz"
|
||||
|
||||
version('2.0.3', '0fe479be09fc2cf005f753d3acc35939')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
18
var/spack/packages/py-pyside/package.py
Normal file
18
var/spack/packages/py-pyside/package.py
Normal file
@ -0,0 +1,18 @@
|
||||
from spack import *
|
||||
import spack.package
|
||||
import os
|
||||
|
||||
class PyPyside(Package):
|
||||
"""array processing for numbers, strings, records, and objects."""
|
||||
homepage = "https://pypi.python.org/pypi/pyside"
|
||||
url = "https://pypi.python.org/packages/source/P/PySide/PySide-1.2.2.tar.gz"
|
||||
|
||||
version('1.2.2', 'c45bc400c8a86d6b35f34c29e379e44d')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
qmake_path = '/usr/lib64/qt4/bin/qmake'
|
||||
if not os.path.exists(qmake_path):
|
||||
raise spack.package.InstallError("Failed to find qmake in %s" % qmake_path)
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix, '--qmake=%s' % qmake_path)
|
13
var/spack/packages/py-pytz/package.py
Normal file
13
var/spack/packages/py-pytz/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PyPytz(Package):
|
||||
"""World timezone definitions, modern and historical."""
|
||||
homepage = "https://pypi.python.org/pypi/pytz"
|
||||
url = "https://pypi.python.org/packages/source/p/pytz/pytz-2014.10.tar.gz"
|
||||
|
||||
version('2014.10', 'eb1cb941a20c5b751352c52486aa1dd7')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
15
var/spack/packages/py-scipy/package.py
Normal file
15
var/spack/packages/py-scipy/package.py
Normal file
@ -0,0 +1,15 @@
|
||||
from spack import *
|
||||
|
||||
class PyScipy(Package):
|
||||
"""Scientific Library for Python."""
|
||||
homepage = "https://pypi.python.org/pypi/scipy"
|
||||
url = "https://pypi.python.org/packages/source/s/scipy/scipy-0.15.0.tar.gz"
|
||||
|
||||
version('0.15.0', '639112f077f0aeb6d80718dc5019dc7a')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-nose')
|
||||
depends_on('py-numpy')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
13
var/spack/packages/py-six/package.py
Normal file
13
var/spack/packages/py-six/package.py
Normal file
@ -0,0 +1,13 @@
|
||||
from spack import *
|
||||
|
||||
class PySix(Package):
|
||||
"""Python 2 and 3 compatibility utilities."""
|
||||
homepage = "https://pypi.python.org/pypi/six"
|
||||
url = "https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz"
|
||||
|
||||
version('1.9.0', '476881ef4012262dfc8adc645ee786c4')
|
||||
|
||||
extends('python')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
18
var/spack/packages/py-virtualenv/package.py
Normal file
18
var/spack/packages/py-virtualenv/package.py
Normal file
@ -0,0 +1,18 @@
|
||||
from spack import *
|
||||
import shutil
|
||||
|
||||
class PyVirtualenv(Package):
|
||||
"""virtualenv is a tool to create isolated Python environments."""
|
||||
homepage = "http://virtualenv.readthedocs.org/projects/virtualenv/"
|
||||
url = "https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz"
|
||||
|
||||
version('1.11.6', 'f61cdd983d2c4e6aeabb70b1060d6f49')
|
||||
|
||||
extends('python')
|
||||
|
||||
def clean(self):
|
||||
if os.path.exists('build'):
|
||||
shutil.rmtree('build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
python('setup.py', 'install', '--prefix=%s' % prefix)
|
Loading…
Reference in New Issue
Block a user