python libraries, libedit, and ninja
A pile of libraries and tools, libedit is actually important as a replacement of readline for non-GPL projects. Also ninja may be worthwhile for some of the larger CMake projects, like llvm/clang.
This commit is contained in:
parent
8726d2fe2e
commit
31f674da3c
6 changed files with 98 additions and 0 deletions
14
var/spack/packages/libedit/package.py
Normal file
14
var/spack/packages/libedit/package.py
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
class Libedit(Package):
|
||||||
|
"""An autotools compatible port of the NetBSD editline library"""
|
||||||
|
homepage = "http://thrysoee.dk/editline/"
|
||||||
|
url = "http://thrysoee.dk/editline/libedit-20150325-3.1.tar.gz"
|
||||||
|
|
||||||
|
version('3.1', '43cdb5df3061d78b5e9d59109871b4f6', url="http://thrysoee.dk/editline/libedit-20150325-3.1.tar.gz")
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
configure('--prefix=%s' % prefix)
|
||||||
|
|
||||||
|
make()
|
||||||
|
make("install")
|
22
var/spack/packages/ninja/package.py
Normal file
22
var/spack/packages/ninja/package.py
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
from spack import *
|
||||||
|
import os
|
||||||
|
|
||||||
|
class Ninja(Package):
|
||||||
|
""" A small, fast Make alternative """
|
||||||
|
homepage = "https://martine.github.io/ninja/"
|
||||||
|
url = "https://github.com/martine/ninja/archive/v1.6.0.tar.gz"
|
||||||
|
|
||||||
|
version('1.6.0', '254133059f2da79d8727f654d7198f43')
|
||||||
|
|
||||||
|
extends('python')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
sh = which('sh')
|
||||||
|
python('configure.py', '--bootstrap')
|
||||||
|
|
||||||
|
cp = which('cp')
|
||||||
|
|
||||||
|
bindir = os.path.join(prefix, 'bin')
|
||||||
|
mkdir(bindir)
|
||||||
|
cp('-a', '-t', bindir, 'ninja')
|
||||||
|
cp('-ra', 'misc', prefix)
|
15
var/spack/packages/py-blessings/package.py
Normal file
15
var/spack/packages/py-blessings/package.py
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
class PyBlessings(Package):
|
||||||
|
"""A nicer, kinder way to write to the terminal """
|
||||||
|
homepage = "https://github.com/erikrose/blessings"
|
||||||
|
url = "https://pypi.python.org/packages/source/b/blessings/blessings-1.6.tar.gz"
|
||||||
|
|
||||||
|
version('1.6', '4f552a8ebcd4982693c92571beb99394')
|
||||||
|
|
||||||
|
depends_on('py-setuptools')
|
||||||
|
|
||||||
|
extends("python")
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|
16
var/spack/packages/py-coverage/package.py
Normal file
16
var/spack/packages/py-coverage/package.py
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
class PyCoverage(Package):
|
||||||
|
""" Testing coverage checker for python """
|
||||||
|
# FIXME: add a proper url for your package's homepage here.
|
||||||
|
homepage = "http://nedbatchelder.com/code/coverage/"
|
||||||
|
url = "https://pypi.python.org/packages/source/c/coverage/coverage-4.0a6.tar.gz"
|
||||||
|
|
||||||
|
version('4.0a6', '1bb4058062646148965bef0796b61efc')
|
||||||
|
|
||||||
|
depends_on('py-setuptools')
|
||||||
|
|
||||||
|
extends('python')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|
15
var/spack/packages/py-tappy/package.py
Normal file
15
var/spack/packages/py-tappy/package.py
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
class PyTappy(Package):
|
||||||
|
"""Python TAP interface module for unit tests"""
|
||||||
|
homepage = "https://github.com/mblayman/tappy"
|
||||||
|
# base https://pypi.python.org/pypi/cffi
|
||||||
|
url = "https://pypi.python.org/packages/source/t/tap.py/tap.py-1.6.tar.gz"
|
||||||
|
|
||||||
|
version('1.6', 'c8bdb93ad66e05f939905172a301bedf')
|
||||||
|
|
||||||
|
extends('python')
|
||||||
|
depends_on('py-setuptools')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|
16
var/spack/packages/py-urwid/package.py
Normal file
16
var/spack/packages/py-urwid/package.py
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
class PyUrwid(Package):
|
||||||
|
"""A full-featured console UI library"""
|
||||||
|
homepage = "http://urwid.org/"
|
||||||
|
url = "https://pypi.python.org/packages/source/u/urwid/urwid-1.3.0.tar.gz"
|
||||||
|
|
||||||
|
version('1.3.0', 'a989acd54f4ff1a554add464803a9175')
|
||||||
|
|
||||||
|
depends_on('py-setuptools')
|
||||||
|
|
||||||
|
extends("python")
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|
||||||
|
|
Loading…
Reference in a new issue