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[:]
This commit is contained in:
		 Kenneth Hoste
					Kenneth Hoste
				
			
				
					committed by
					
						 Todd Gamblin
						Todd Gamblin
					
				
			
			
				
	
			
			
			 Todd Gamblin
						Todd Gamblin
					
				
			
						parent
						
							fb98f9ee19
						
					
				
				
					commit
					90306cf415
				
			
							
								
								
									
										38
									
								
								var/spack/repos/builtin/packages/easybuild/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								var/spack/repos/builtin/packages/easybuild/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -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') | ||||||
| @@ -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') | ||||||
| @@ -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') | ||||||
| @@ -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) | ||||||
							
								
								
									
										35
									
								
								var/spack/repos/builtin/packages/py-vsc-base/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								var/spack/repos/builtin/packages/py-vsc-base/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -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')) | ||||||
							
								
								
									
										36
									
								
								var/spack/repos/builtin/packages/py-vsc-install/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								var/spack/repos/builtin/packages/py-vsc-install/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -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')) | ||||||
		Reference in New Issue
	
	Block a user