new package: py-reproject (#18641)
* new package: py-reproject add setuptools build/run dep to py-astropy-healpix * fixes * fix
This commit is contained in:
parent
85f7a8bf71
commit
a734dabf2b
3 changed files with 52 additions and 0 deletions
|
@ -16,6 +16,7 @@ class PyAstropyHealpix(PythonPackage):
|
|||
|
||||
version('0.5', sha256='5ae15da796a840f221fb83e25de791e827b6921bc21a365d99bc1a59c7c0cdad')
|
||||
|
||||
depends_on('py-setuptools', type=('build', 'run'))
|
||||
depends_on('python@3.6:', type=('build', 'run'))
|
||||
depends_on('py-astropy@2.0:', type=('build', 'run'))
|
||||
depends_on('py-numpy@1.11:', type=('build', 'run'))
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
# 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)
|
||||
|
||||
|
||||
class PyExtensionHelpers(PythonPackage):
|
||||
"""The extension-helpers package includes convenience helpers to
|
||||
assist with building Python packages with compiled C/Cython
|
||||
extensions. It is developed by the Astropy project but is intended
|
||||
to be general and usable by any Python package."""
|
||||
|
||||
homepage = 'https://github.com/astropy/astropy-helpers'
|
||||
url = 'https://pypi.io/packages/source/e/extension-helpers/extension-helpers-0.1.tar.gz'
|
||||
|
||||
version('0.1', sha256='ac8a6fe91c6d98986a51a9f08ca0c7945f8fd70d95b662ced4040ae5eb973882')
|
||||
|
||||
depends_on('python@3.6:', type=('build', 'run'))
|
||||
depends_on('py-setuptools@30.3:', type='build')
|
32
var/spack/repos/builtin/packages/py-reproject/package.py
Normal file
32
var/spack/repos/builtin/packages/py-reproject/package.py
Normal file
|
@ -0,0 +1,32 @@
|
|||
# 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)
|
||||
|
||||
|
||||
class PyReproject(PythonPackage):
|
||||
"""The reproject package is a Python package to reproject
|
||||
astronomical images using various techniques via a uniform
|
||||
interface. By reprojection, we mean the re-gridding of images from
|
||||
one world coordinate system to another (for example changing the
|
||||
pixel resolution, orientation, coordinate system). Currently, we
|
||||
have implemented reprojection of celestial images by interpolation
|
||||
(like SWARP), as well as by finding the exact overlap between
|
||||
pixels on the celestial sphere (like Montage). It can also
|
||||
reproject to/from HEALPIX projections by relying on the
|
||||
astropy-healpix package."""
|
||||
|
||||
homepage = 'https://reproject.readthedocs.io/'
|
||||
url = 'https://pypi.io/packages/source/r/reproject/reproject-0.7.1.tar.gz'
|
||||
|
||||
version('0.7.1', sha256='95c0fa49e6b4e36455b91fa09ad1b71b230c990ad91d948af67ea3509a1a4ccb')
|
||||
|
||||
depends_on('python@3.6:', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-setuptools-scm', type='build')
|
||||
depends_on('py-cython', type='build')
|
||||
depends_on('py-extension-helpers', type='build')
|
||||
depends_on('py-numpy@1.13:', type=('build', 'run'))
|
||||
depends_on('py-astropy@3.2:', type=('build', 'run'))
|
||||
depends_on('py-scipy@1.1:', type=('build', 'run'))
|
||||
depends_on('py-astropy-healpix@0.2:', type=('build', 'run'))
|
Loading…
Reference in a new issue