From 7c14c86ffd5227527812294a0e1cffd7e67f404e Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 22 Nov 2021 02:45:30 -0600 Subject: py-laspy: add new package (#27576) --- var/spack/repos/builtin/packages/py-laspy/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-laspy/package.py diff --git a/var/spack/repos/builtin/packages/py-laspy/package.py b/var/spack/repos/builtin/packages/py-laspy/package.py new file mode 100644 index 0000000000..756ca9cc4e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-laspy/package.py @@ -0,0 +1,19 @@ +# 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 PyLaspy(PythonPackage): + """Native Python ASPRS LAS read/write library.""" + + homepage = "https://github.com/laspy/laspy" + pypi = "laspy/laspy-2.0.3.tar.gz" + + version('2.0.3', sha256='95c6367bc3a7c1e0d8dc118ae4a6b038bf9e8ad3e60741ecb8d59c36d32f822a') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-numpy', type=('build', 'run')) -- cgit v1.2.3-70-g09d2