flake 8 fixes for cairo, freetype, and harfbuzz

This commit is contained in:
Gregory L. Lee 2016-06-20 20:21:10 -07:00
parent 4041f45b6c
commit 8f3954c1bd
3 changed files with 8 additions and 4 deletions

View File

@ -24,8 +24,10 @@
############################################################################## ##############################################################################
from spack import * from spack import *
class Cairo(Package): class Cairo(Package):
"""Cairo is a 2D graphics library with support for multiple output devices.""" """Cairo is a 2D graphics library with support for multiple output
devices."""
homepage = "http://cairographics.org" homepage = "http://cairographics.org"
url = "http://cairographics.org/releases/cairo-1.14.0.tar.xz" url = "http://cairographics.org/releases/cairo-1.14.0.tar.xz"
@ -35,11 +37,11 @@ class Cairo(Package):
depends_on("glib") depends_on("glib")
depends_on("pixman") depends_on("pixman")
depends_on("freetype") depends_on("freetype")
depends_on("fontconfig@2.10.91:") # Require newer version of fontconfig. depends_on("fontconfig@2.10.91:") # Require newer version of fontconfig.
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix, configure("--prefix=%s" % prefix,
"--disable-trace", # can cause problems with libiberty "--disable-trace", # can cause problems with libiberty
"--enable-tee") "--enable-tee")
make() make()
make("install") make("install")

View File

@ -24,12 +24,13 @@
############################################################################## ##############################################################################
from spack import * from spack import *
class Freetype(Package): class Freetype(Package):
"""Font package""" """Font package"""
homepage = "http://http://www.freetype.org" homepage = "http://http://www.freetype.org"
url = "http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.gz" url = "http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.gz"
version('2.5.3' , 'cafe9f210e45360279c730d27bf071e9') version('2.5.3', 'cafe9f210e45360279c730d27bf071e9')
depends_on('libpng') depends_on('libpng')

View File

@ -24,6 +24,7 @@
############################################################################## ##############################################################################
from spack import * from spack import *
class Harfbuzz(Package): class Harfbuzz(Package):
"""The Harfbuzz package contains an OpenType text shaping engine.""" """The Harfbuzz package contains an OpenType text shaping engine."""
homepage = "http://www.freedesktop.org/wiki/Software/HarfBuzz/" homepage = "http://www.freedesktop.org/wiki/Software/HarfBuzz/"