From dee2259f3ab29388eff2b627355818be231d1c03 Mon Sep 17 00:00:00 2001 From: healther Date: Tue, 28 Feb 2017 19:56:36 +0100 Subject: [PATCH] add package py-saga-python and dependencies (#3267) * add package py-saga-python and dependencies * fixed url and dependencies --- .../builtin/packages/py-colorama/package.py | 36 +++++++++++++++++ .../builtin/packages/py-netifaces/package.py | 36 +++++++++++++++++ .../packages/py-radical-utils/package.py | 39 +++++++++++++++++++ .../packages/py-saga-python/package.py | 38 ++++++++++++++++++ 4 files changed, 149 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-colorama/package.py create mode 100644 var/spack/repos/builtin/packages/py-netifaces/package.py create mode 100644 var/spack/repos/builtin/packages/py-radical-utils/package.py create mode 100644 var/spack/repos/builtin/packages/py-saga-python/package.py diff --git a/var/spack/repos/builtin/packages/py-colorama/package.py b/var/spack/repos/builtin/packages/py-colorama/package.py new file mode 100644 index 0000000000..82938cfdb5 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-colorama/package.py @@ -0,0 +1,36 @@ +############################################################################## +# 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 PyColorama(PythonPackage): + """Cross-platform colored terminal text.""" + + homepage = "https://github.com/tartley/colorama" + url = "https://pypi.io/packages/source/c/colorama/colorama-0.3.7.tar.gz" + + version('0.3.7', '349d2b02618d3d39e5c6aede36fe3c1a') + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-netifaces/package.py b/var/spack/repos/builtin/packages/py-netifaces/package.py new file mode 100644 index 0000000000..3229af495f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-netifaces/package.py @@ -0,0 +1,36 @@ +############################################################################## +# 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 PyNetifaces(PythonPackage): + """Portable network interface information""" + + homepage = "https://bitbucket.org/al45tair/netifaces" + url = "https://pypi.io/packages/source/n/netifaces/netifaces-0.10.5.tar.gz" + + version('0.10.5', '5b4d1f1310ed279e6df27ef3a9b71519') + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-radical-utils/package.py b/var/spack/repos/builtin/packages/py-radical-utils/package.py new file mode 100644 index 0000000000..fc3d8452b4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-radical-utils/package.py @@ -0,0 +1,39 @@ +############################################################################## +# 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 PyRadicalUtils(PythonPackage): + """Shared code and tools for various RADICAL Projects""" + + homepage = "http://radical.rutgers.edu" + url = "https://pypi.io/packages/source/r/radical.utils/radical.utils-0.45.tar.gz" + + version('0.45', 'c0bec2a0951b0dc990366d82e78e65fe') + version('0.41.1', '923446539545dc157768026c957cecb2') + + depends_on('py-setuptools', type='build') + depends_on('py-colorama', type=('build', 'run')) + depends_on('py-netifaces', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-saga-python/package.py b/var/spack/repos/builtin/packages/py-saga-python/package.py new file mode 100644 index 0000000000..48f6237b6e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-saga-python/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 PySagaPython(PythonPackage): + """A light-weight access layer for distributed computing infrastructure""" + + homepage = "http://radical.rutgers.edu" + url = "https://pypi.io/packages/source/s/saga-python/saga-python-0.41.3.tar.gz" + + version('0.41.3', '3f92e16a53635ffe529fca4bae3b705d') + + depends_on('py-setuptools', type='build') + depends_on('py-apache-libcloud', type=('build', 'run')) + depends_on('py-radical-utils', type=('build', 'run'))