summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorStas Sergienko <ssergien@anl.gov>2017-06-19 16:26:37 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2017-06-19 16:26:37 -0500
commit229886aa8fa90a49b48f6bae30b5e383c65e1554 (patch)
tree73df754e61c8818de0cf1da207bd8efd568a1fa0 /var
parent9b89272ae08b1606144149a17686e29739d286a4 (diff)
downloadspack-229886aa8fa90a49b48f6bae30b5e383c65e1554.tar.gz
spack-229886aa8fa90a49b48f6bae30b5e383c65e1554.tar.bz2
spack-229886aa8fa90a49b48f6bae30b5e383c65e1554.tar.xz
spack-229886aa8fa90a49b48f6bae30b5e383c65e1554.zip
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
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-dxchange/package.py47
-rw-r--r--var/spack/repos/builtin/packages/py-dxfile/package.py38
-rw-r--r--var/spack/repos/builtin/packages/py-edffile/package.py40
-rw-r--r--var/spack/repos/builtin/packages/py-spefile/package.py41
-rw-r--r--var/spack/repos/builtin/packages/py-tifffile/package.py37
5 files changed, 203 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-dxchange/package.py b/var/spack/repos/builtin/packages/py-dxchange/package.py
new file mode 100644
index 0000000000..7c745c348f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dxchange/package.py
@@ -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')
diff --git a/var/spack/repos/builtin/packages/py-dxfile/package.py b/var/spack/repos/builtin/packages/py-dxfile/package.py
new file mode 100644
index 0000000000..c0942ddc98
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dxfile/package.py
@@ -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')
diff --git a/var/spack/repos/builtin/packages/py-edffile/package.py b/var/spack/repos/builtin/packages/py-edffile/package.py
new file mode 100644
index 0000000000..02422dedff
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-edffile/package.py
@@ -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'
diff --git a/var/spack/repos/builtin/packages/py-spefile/package.py b/var/spack/repos/builtin/packages/py-spefile/package.py
new file mode 100644
index 0000000000..6279391bbd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-spefile/package.py
@@ -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'
diff --git a/var/spack/repos/builtin/packages/py-tifffile/package.py b/var/spack/repos/builtin/packages/py-tifffile/package.py
new file mode 100644
index 0000000000..4412352db1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-tifffile/package.py
@@ -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'))