
- Added a number of dependencies to python packages. - Python packages may still not build without some OS support. - Example: Numpy needs ATLAS, and will use a system ATLAS install. - Atlas requires turning off CPU throttling to build. - can't do this as a regular user -- how to build ATLAS with Spack - currnetly relying on a system ATLAS install.
16 lines
452 B
Python
16 lines
452 B
Python
from spack import *
|
|
|
|
class PyLibxml2(Package):
|
|
"""A Python wrapper around libxml2."""
|
|
homepage = "https://xmlsoft.org/python.html"
|
|
url = "ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.21.tar.gz"
|
|
|
|
version('2.6.21', '229dd2b3d110a77defeeaa73af83f7f3')
|
|
|
|
extends('python')
|
|
depends_on('libxml2')
|
|
depends_on('libxslt')
|
|
|
|
def install(self, spec, prefix):
|
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|