diff options
author | Kenneth Hoste <kenneth.hoste@ugent.be> | 2017-04-01 19:27:58 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-04-01 10:27:58 -0700 |
commit | 90306cf415ac1e8709efd3c3e1185c46ddb2c1f8 (patch) | |
tree | b93ee374f6a92070c158593fc43936c7a21eb490 /var | |
parent | fb98f9ee19a1ddcbde3a1447f8f847e5c1c62286 (diff) | |
download | spack-90306cf415ac1e8709efd3c3e1185c46ddb2c1f8.tar.gz spack-90306cf415ac1e8709efd3c3e1185c46ddb2c1f8.tar.bz2 spack-90306cf415ac1e8709efd3c3e1185c46ddb2c1f8.tar.xz spack-90306cf415ac1e8709efd3c3e1185c46ddb2c1f8.zip |
EasyBuild and dependencies (#3658)
* add packages for EasyBuild and dependencies
* fix remarks w.r.t. docstrings & download urls, make dependency specs stricter w.r.t. required versions
* fix easybuild-* dep specs, should be open-ended
* correct dep specs for easybuild and easybuild-easyconfigs using @3.1.2[:]
Diffstat (limited to 'var')
6 files changed, 221 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/easybuild/package.py b/var/spack/repos/builtin/packages/easybuild/package.py new file mode 100644 index 0000000000..156601ed65 --- /dev/null +++ b/var/spack/repos/builtin/packages/easybuild/package.py @@ -0,0 +1,38 @@ +############################################################################## +# Copyright (c) 2017, Kenneth Hoste +# +# This file is part of Spack. +# Created by Kenneth Hoste, kenneth.hoste@gmail.com +# +# 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 Easybuild(PythonPackage): + """EasyBuild is a software build and installation framework + for (scientific) software on HPC systems. + """ + + homepage = 'http://hpcugent.github.io/easybuild/' + url = 'https://pypi.io/packages/source/e/easybuild/easybuild-3.1.2.tar.gz' + + version('3.1.2', 'c2d901c2a71f51b24890fa69c3a46383') + + depends_on('py-easybuild-framework@3.1.2', when='@3.1.2', type='run') + depends_on('py-easybuild-easyblocks@3.1.2', when='@3.1.2', type='run') + depends_on('py-easybuild-easyconfigs@3.1.2', when='@3.1.2', type='run') diff --git a/var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py b/var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py new file mode 100644 index 0000000000..4b09c43621 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py @@ -0,0 +1,36 @@ +############################################################################## +# Copyright (c) 2017, Kenneth Hoste +# +# This file is part of Spack. +# Created by Kenneth Hoste, kenneth.hoste@gmail.com +# +# 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 PyEasybuildEasyblocks(PythonPackage): + """Collection of easyblocks for EasyBuild, a software build and + installation framework for (scientific) software on HPC systems. + """ + + homepage = 'http://hpcugent.github.io/easybuild/' + url = 'https://pypi.io/packages/source/e/easybuild-easyblocks/easybuild-easyblocks-3.1.2.tar.gz' + + version('3.1.2', 'be08da30c07e67ed3e136e8d38905fbc') + + depends_on('py-easybuild-framework@3.1:', when='@3.1', type='run') diff --git a/var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py b/var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py new file mode 100644 index 0000000000..bec9638708 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py @@ -0,0 +1,37 @@ +############################################################################## +# Copyright (c) 2017, Kenneth Hoste +# +# This file is part of Spack. +# Created by Kenneth Hoste, kenneth.hoste@gmail.com +# +# 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 PyEasybuildEasyconfigs(PythonPackage): + """Collection of easyconfig files for EasyBuild, a software build and + installation framework for (scientific) software on HPC systems. + """ + + homepage = 'http://hpcugent.github.io/easybuild/' + url = 'https://pypi.io/packages/source/e/easybuild-easyconfigs/easybuild-easyconfigs-3.1.2.tar.gz' + + version('3.1.2', '13a4a97fe8a5b9a94f885661cf497d13') + + depends_on('py-easybuild-framework@3.1:', when='@3.1', type='run') + depends_on('py-easybuild-easyblocks@3.1.2:', when='@3.1.2', type='run') diff --git a/var/spack/repos/builtin/packages/py-easybuild-framework/package.py b/var/spack/repos/builtin/packages/py-easybuild-framework/package.py new file mode 100644 index 0000000000..36605a6fd0 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-easybuild-framework/package.py @@ -0,0 +1,39 @@ +############################################################################## +# Copyright (c) 2017, Kenneth Hoste +# +# This file is part of Spack. +# Created by Kenneth Hoste, kenneth.hoste@gmail.com +# +# 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 PyEasybuildFramework(PythonPackage): + """The core of EasyBuild, a software build and installation framework + for (scientific) software on HPC systems. + """ + + homepage = 'http://hpcugent.github.io/easybuild/' + url = 'https://pypi.io/packages/source/e/easybuild-framework/easybuild-framework-3.1.2.tar.gz' + + version('3.1.2', '283bc5f6bdcb90016b32986d52fd04a8') + + depends_on('python@2.6:3.0', type='run') + depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-vsc-base@2.5.4:', when='@2.9:', type='run') + depends_on('py-vsc-install', type='run') # only required for tests (python -O -m test.framework.suite) diff --git a/var/spack/repos/builtin/packages/py-vsc-base/package.py b/var/spack/repos/builtin/packages/py-vsc-base/package.py new file mode 100644 index 0000000000..e5e23b0015 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-vsc-base/package.py @@ -0,0 +1,35 @@ +############################################################################## +# Copyright (c) 2017, Kenneth Hoste +# +# 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 PyVscBase(PythonPackage): + """Common Python libraries tools created by HPC-UGent""" + + homepage = 'https://github.com/hpcugent/vsc-base/' + url = 'https://pypi.io/packages/source/v/vsc-base/vsc-base-2.5.8.tar.gz' + + version('2.5.8', '57f3f49eab7aa15a96be76e6c89a72d8') + + depends_on('py-setuptools', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-vsc-install/package.py b/var/spack/repos/builtin/packages/py-vsc-install/package.py new file mode 100644 index 0000000000..452bf97992 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-vsc-install/package.py @@ -0,0 +1,36 @@ +############################################################################## +# Copyright (c) 2017, Kenneth Hoste +# +# This file is part of Spack. +# Created by Kenneth Hoste, kenneth.hoste@gmail.com +# +# 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 PyVscInstall(PythonPackage): + """Shared setuptools functions and classes + for Python libraries developed by HPC-UGent. + """ + + homepage = 'https://github.com/hpcugent/vsc-install/' + url = 'https://pypi.io/packages/source/v/vsc-install/vsc-install-0.10.25.tar.gz' + + version('0.10.25', 'd1b9453a75cb56dba0deb7a878047b51') + + depends_on('py-setuptools', type=('build', 'run')) |