Skip to content

Commit

Permalink
flake 8 fixes for cairo, freetype, and harfbuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
lee218llnl committed Jun 21, 2016
1 parent 14e0897 commit f7f9f9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions var/spack/repos/builtin/packages/cairo/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
##############################################################################
from spack import *


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"
url = "http://cairographics.org/releases/cairo-1.14.0.tar.xz"

Expand All @@ -35,11 +37,11 @@ class Cairo(Package):
depends_on("glib")
depends_on("pixman")
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):
configure("--prefix=%s" % prefix,
"--disable-trace", # can cause problems with libiberty
"--disable-trace", # can cause problems with libiberty
"--enable-tee")
make()
make("install")
3 changes: 2 additions & 1 deletion var/spack/repos/builtin/packages/freetype/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
##############################################################################
from spack import *


class Freetype(Package):
"""Font package"""
homepage = "http://http://www.freetype.org"
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')

Expand Down
1 change: 1 addition & 0 deletions var/spack/repos/builtin/packages/harfbuzz/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
##############################################################################
from spack import *


class Harfbuzz(Package):
"""The Harfbuzz package contains an OpenType text shaping engine."""
homepage = "http://www.freedesktop.org/wiki/Software/HarfBuzz/"
Expand Down

0 comments on commit f7f9f9b

Please sign in to comment.