summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-04-06 10:55:40 -0400
committerGitHub <noreply@github.com>2021-04-06 09:55:40 -0500
commita4c3bc9893b2f76f72e3dd1f98221a286285c2df (patch)
tree8f44567ffcaa1b6b3c29e0484ba54d6007fa44ad
parentb6668a1146af2e8b5306688fd3218c28d7066a9f (diff)
downloadspack-a4c3bc9893b2f76f72e3dd1f98221a286285c2df.tar.gz
spack-a4c3bc9893b2f76f72e3dd1f98221a286285c2df.tar.bz2
spack-a4c3bc9893b2f76f72e3dd1f98221a286285c2df.tar.xz
spack-a4c3bc9893b2f76f72e3dd1f98221a286285c2df.zip
New package: py-ilmbase (#22783)
* [py-ilmbase] created template * [py-ilmbase] added dependencies and configuration options as necessary * [py-ilmbase] added homepage and description removed fixmes * [py-ilmbase] shortened lines for flake8
-rw-r--r--var/spack/repos/builtin/packages/py-ilmbase/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ilmbase/package.py b/var/spack/repos/builtin/packages/py-ilmbase/package.py
new file mode 100644
index 0000000000..97e5246249
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ilmbase/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyIlmbase(AutotoolsPackage):
+ """The PyIlmBase libraries provides python bindings for the IlmBase libraries."""
+
+ homepage = "https://github.com/AcademySoftwareFoundation/openexr/tree/v2.3.0/PyIlmBase"
+ url = "https://github.com/AcademySoftwareFoundation/openexr/releases/download/v2.3.0/pyilmbase-2.3.0.tar.gz"
+
+ version('2.3.0', sha256='9c898bb16e7bc916c82bebdf32c343c0f2878fc3eacbafa49937e78f2079a425')
+
+ depends_on('ilmbase')
+ depends_on('boost+python')
+
+ # https://github.com/AcademySoftwareFoundation/openexr/issues/336
+ parallel = False
+
+ def configure_args(self):
+ spec = self.spec
+
+ args = [
+ '--with-boost-python-libname=boost_python{0}'.format(
+ spec['python'].version.up_to(2).joined)
+ ]
+
+ return args