diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-xdot/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-xdot/package.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-xdot/package.py b/var/spack/repos/builtin/packages/py-xdot/package.py index 4549f80819..e7197bf731 100644 --- a/var/spack/repos/builtin/packages/py-xdot/package.py +++ b/var/spack/repos/builtin/packages/py-xdot/package.py @@ -27,6 +27,7 @@ class PyXdot(PythonPackage): depends_on('py-pygobject', type=('build', 'run')) depends_on('py-pycairo', type=('build', 'run')) depends_on('pango', type=('build', 'run')) + depends_on('harfbuzz', type=('build', 'run')) depends_on('atk', type=('build', 'run')) depends_on('gdk-pixbuf', type=('build', 'run')) depends_on('gtkplus', type=('build', 'run')) @@ -35,11 +36,12 @@ class PyXdot(PythonPackage): @run_after('install') def post_install(self): spec = self.spec - repo_paths = '%s:%s:%s:%s' % ( + repo_paths = '%s:%s:%s:%s:%s' % ( join_path(spec['pango'].prefix.lib, 'girepository-1.0'), join_path(spec['atk'].prefix.lib, 'girepository-1.0'), join_path(spec['gdk-pixbuf'].prefix.lib, 'girepository-1.0'), - join_path(spec['gtkplus'].prefix.lib, 'girepository-1.0')) + join_path(spec['gtkplus'].prefix.lib, 'girepository-1.0'), + join_path(spec['harfbuzz'].prefix.lib, 'girepository-1.0')) dst = join_path(python_platlib, 'xdot', '__init__.py') filter_file("import sys", "import sys\nimport os\nos.environ['GI_TYPELIB_PATH']" + @@ -51,6 +53,9 @@ class PyXdot(PythonPackage): def setup_run_environment(self, env): spec = self.spec env.prepend_path('GI_TYPELIB_PATH', + join_path(spec['harfbuzz'].prefix.lib, + 'girepository-1.0')) + env.prepend_path('GI_TYPELIB_PATH', join_path(spec['pango'].prefix.lib, 'girepository-1.0')) env.prepend_path('GI_TYPELIB_PATH', |