diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-12-29 01:39:45 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 08:39:45 +0100 |
commit | 08ba1148e24aeda325da1f53f1636095fda3fffb (patch) | |
tree | 8cb3f934b4c8fcb87b51aaa1d8e79714c04304ee | |
parent | 747f7decc43f5053846b2e36c367f8f210510ed3 (diff) | |
download | spack-08ba1148e24aeda325da1f53f1636095fda3fffb.tar.gz spack-08ba1148e24aeda325da1f53f1636095fda3fffb.tar.bz2 spack-08ba1148e24aeda325da1f53f1636095fda3fffb.tar.xz spack-08ba1148e24aeda325da1f53f1636095fda3fffb.zip |
py-pygeos: add new package at v0.8 (#20594)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pygeos/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pygeos/package.py b/var/spack/repos/builtin/packages/py-pygeos/package.py new file mode 100644 index 0000000000..33225252da --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pygeos/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2020 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 PyPygeos(PythonPackage): + """PyGEOS is a C/Python library with vectorized geometry functions. + + The geometry operations are done in the open-source geometry library GEOS. + PyGEOS wraps these operations in NumPy ufuncs providing a performance + improvement when operating on arrays of geometries.""" + + homepage = "https://github.com/pygeos/pygeos" + url = "https://pypi.io/packages/source/p/pygeos/pygeos-0.8.tar.gz" + + maintainers = ['adamjstewart'] + + version('0.8', sha256='45b7e1aaa5fc9ff53565ef089fb75c53c419ace8cee18385ec1d7c1515c17cbc') + + depends_on('python@3:', type=('build', 'link', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.10:', type=('build', 'link', 'run')) + depends_on('geos@3.5:') |