added py-dxchange and its dependencies dxfile,edffile,spefile,tifffile (#4534)
* added py-dxchange and its dependencies dxfile,edffile,spefile,tifffile * fixed https in homepage of py-dxfile
This commit is contained in:
parent
9b89272ae0
commit
229886aa8f
47
var/spack/repos/builtin/packages/py-dxchange/package.py
Normal file
47
var/spack/repos/builtin/packages/py-dxchange/package.py
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
##############################################################################
|
||||||
|
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||||
|
# Produced at the Lawrence Livermore National Laboratory.
|
||||||
|
#
|
||||||
|
# This file is part of Spack.
|
||||||
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||||
|
# LLNL-CODE-647188
|
||||||
|
#
|
||||||
|
# For details, see https://github.com/llnl/spack
|
||||||
|
# Please also see the LICENSE file for our notice and the LGPL.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License (as
|
||||||
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||||
|
# conditions of the GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyDxchange(PythonPackage):
|
||||||
|
"""DXchange provides an interface with tomoPy and raw tomographic data
|
||||||
|
collected at different synchrotron facilities."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/data-exchange/dxchange"
|
||||||
|
url = "https://github.com/data-exchange/dxchange/archive/v0.1.2.tar.gz"
|
||||||
|
|
||||||
|
version('0.1.2', '36633bb67a1e7d1fb60c2300adbcbab3')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
depends_on('py-numpy', type='run')
|
||||||
|
depends_on('py-scipy', type='run')
|
||||||
|
depends_on('py-h5py', type='run')
|
||||||
|
depends_on('py-six', type='run')
|
||||||
|
depends_on('py-netcdf4', type='run')
|
||||||
|
depends_on('py-spefile', type='run')
|
||||||
|
depends_on('py-edffile', type='run')
|
||||||
|
depends_on('py-tifffile', type='run')
|
||||||
|
depends_on('py-dxfile', type='run')
|
38
var/spack/repos/builtin/packages/py-dxfile/package.py
Normal file
38
var/spack/repos/builtin/packages/py-dxfile/package.py
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
##############################################################################
|
||||||
|
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||||
|
# Produced at the Lawrence Livermore National Laboratory.
|
||||||
|
#
|
||||||
|
# This file is part of Spack.
|
||||||
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||||
|
# LLNL-CODE-647188
|
||||||
|
#
|
||||||
|
# For details, see https://github.com/llnl/spack
|
||||||
|
# Please also see the LICENSE file for our notice and the LGPL.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License (as
|
||||||
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||||
|
# conditions of the GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyDxfile(PythonPackage):
|
||||||
|
"""Scientific Data Exchange [A1] is a set of guidelines for storing scientific
|
||||||
|
data and metadata in a Hierarchical Data Format 5 [B6] file."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/data-exchange/dxfile"
|
||||||
|
url = "https://github.com/data-exchange/dxfile/archive/v0.4.tar.gz"
|
||||||
|
|
||||||
|
version('0.4', '0402cd38aefdfd5ce92feb43dda18947')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
depends_on('py-h5py', type='run')
|
40
var/spack/repos/builtin/packages/py-edffile/package.py
Normal file
40
var/spack/repos/builtin/packages/py-edffile/package.py
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
##############################################################################
|
||||||
|
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||||
|
# Produced at the Lawrence Livermore National Laboratory.
|
||||||
|
#
|
||||||
|
# This file is part of Spack.
|
||||||
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||||
|
# LLNL-CODE-647188
|
||||||
|
#
|
||||||
|
# For details, see https://github.com/llnl/spack
|
||||||
|
# Please also see the LICENSE file for our notice and the LGPL.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License (as
|
||||||
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||||
|
# conditions of the GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyEdffile(PythonPackage):
|
||||||
|
"""Generic class for Edf files manipulation."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaIO/EdfFile.py"
|
||||||
|
url = "https://github.com/conda-forge/edffile-feedstock.git"
|
||||||
|
|
||||||
|
version('5.0.0', git='https://github.com/conda-forge/edffile-feedstock.git',
|
||||||
|
commit='be5ab4199db9f8209c59e31874934b8536b52301')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
depends_on('py-numpy', type=('build', 'run'))
|
||||||
|
|
||||||
|
build_directory = 'recipe/src'
|
41
var/spack/repos/builtin/packages/py-spefile/package.py
Normal file
41
var/spack/repos/builtin/packages/py-spefile/package.py
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
##############################################################################
|
||||||
|
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||||
|
# Produced at the Lawrence Livermore National Laboratory.
|
||||||
|
#
|
||||||
|
# This file is part of Spack.
|
||||||
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||||
|
# LLNL-CODE-647188
|
||||||
|
#
|
||||||
|
# For details, see https://github.com/llnl/spack
|
||||||
|
# Please also see the LICENSE file for our notice and the LGPL.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License (as
|
||||||
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||||
|
# conditions of the GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class PySpefile(PythonPackage):
|
||||||
|
"""Reader for SPE files part of pyspec a set of python routines for data
|
||||||
|
analysis of x-ray scattering experiments"""
|
||||||
|
|
||||||
|
homepage = "https://github.com/conda-forge/spefile-feedstock"
|
||||||
|
url = "https://github.com/conda-forge/spefile-feedstock.git"
|
||||||
|
|
||||||
|
version('1.6', git='https://github.com/conda-forge/spefile-feedstock.git',
|
||||||
|
commit='24394e066da8dee5e7608f556ca0203c9db217f9')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
depends_on('py-numpy', type='run')
|
||||||
|
|
||||||
|
build_directory = 'recipe/src'
|
37
var/spack/repos/builtin/packages/py-tifffile/package.py
Normal file
37
var/spack/repos/builtin/packages/py-tifffile/package.py
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
##############################################################################
|
||||||
|
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||||
|
# Produced at the Lawrence Livermore National Laboratory.
|
||||||
|
#
|
||||||
|
# This file is part of Spack.
|
||||||
|
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||||
|
# LLNL-CODE-647188
|
||||||
|
#
|
||||||
|
# For details, see https://github.com/llnl/spack
|
||||||
|
# Please also see the LICENSE file for our notice and the LGPL.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License (as
|
||||||
|
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||||
|
# conditions of the GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
##############################################################################
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
|
class PyTifffile(PythonPackage):
|
||||||
|
"""Read and write image data from and to TIFF files."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/blink1073/tifffile"
|
||||||
|
url = "https://pypi.io/packages/source/t/tifffile/tifffile-0.12.1.tar.gz"
|
||||||
|
|
||||||
|
version('0.12.1', '8a8afa74dd0df7915ac376a6cd7eeffc')
|
||||||
|
|
||||||
|
depends_on('py-setuptools', type='build')
|
||||||
|
depends_on('py-numpy@1.8.2:', type=('build', 'run'))
|
Loading…
Reference in New Issue
Block a user