blob: 1df73c9419fbfa6b90e14594a83ff301449b22cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2013-2024 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.package import *
class PyPivy(PythonPackage):
"""Python bindings to coin3d"""
homepage = "https://github.com/coin3d/pivy"
url = "https://github.com/coin3d/pivy/archive/refs/tags/0.6.8.tar.gz"
license("0BSD")
version("0.6.8", sha256="c443dd7dd724b0bfa06427478b9d24d31e0c3b5138ac5741a2917a443b28f346")
depends_on("coin3d")
depends_on("py-setuptools", type="build")
depends_on("cmake@3.18:", type="build")
depends_on("swig", type="build")
def patch(self):
# https://github.com/coin3d/pivy/issues/93
filter_file(
"project(pivy_cmake_setup NONE)",
"project(pivy_cmake_setup)",
"distutils_cmake/CMakeLists.txt",
string=True,
)
|