py-openmesh: new package (#35907)
* py-openmesh: new package * Update var/spack/repos/builtin/packages/py-openmesh/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
81765e0278
commit
a2423f5736
1 changed files with 25 additions and 0 deletions
25
var/spack/repos/builtin/packages/py-openmesh/package.py
Normal file
25
var/spack/repos/builtin/packages/py-openmesh/package.py
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Copyright 2013-2023 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 PyOpenmesh(PythonPackage):
|
||||||
|
"""A versatile halfedge-based data structure for representing and
|
||||||
|
manipulating polygon meshes"""
|
||||||
|
|
||||||
|
homepage = "https://www.graphics.rwth-aachen.de:9000/OpenMesh/openmesh-python"
|
||||||
|
pypi = "openmesh/openmesh-1.1.3.tar.gz"
|
||||||
|
|
||||||
|
version("1.2.1", sha256="6fd3fa41a68148e4a7523f562426aa9758bf65ccc6642abcf79c37bae9c6af3c")
|
||||||
|
version("1.1.3", sha256="c1d24abc85b7b518fe619639f89750bf19ed3b8938fed4dd739a72f1e6f8b0f6")
|
||||||
|
|
||||||
|
depends_on("py-setuptools", type="build")
|
||||||
|
depends_on("py-setuptools-scm", type="build")
|
||||||
|
depends_on("cmake@3.1:", when="@1.1.3 platform=windows", type="build")
|
||||||
|
depends_on("cmake@3.3.0:", when="@1.2.2 platform=windows", type="build")
|
||||||
|
depends_on("cmake", type="build")
|
||||||
|
|
||||||
|
depends_on("py-numpy", type=("build", "run"))
|
Loading…
Reference in a new issue