openpbs: add provider, new version, new name (#25429)
This commit is contained in:
parent
8d881cb7ee
commit
2965c501a5
@ -9,17 +9,15 @@
|
|||||||
|
|
||||||
|
|
||||||
class Openpbs(AutotoolsPackage):
|
class Openpbs(AutotoolsPackage):
|
||||||
"""PBS Professional software optimizes job scheduling and workload
|
"""OpenPBS software optimizes job scheduling and workload
|
||||||
management in high-performance computing (HPC) environments - clusters,
|
management in high-performance computing (HPC) environments - clusters,
|
||||||
clouds, and supercomputers - improving system efficiency and people's
|
clouds, and supercomputers - improving system efficiency and people's
|
||||||
productivity."""
|
productivity."""
|
||||||
|
|
||||||
# TODO: update the description and the homepage url once the renaming is
|
homepage = "https://www.openpbs.org"
|
||||||
# finished: http://community.pbspro.org/t/openpbs-and-version-20-0/2075
|
|
||||||
|
|
||||||
homepage = "https://www.pbspro.org"
|
|
||||||
url = "https://github.com/openpbs/openpbs/archive/v19.1.3.tar.gz"
|
url = "https://github.com/openpbs/openpbs/archive/v19.1.3.tar.gz"
|
||||||
|
|
||||||
|
version('20.0.1', sha256='685a4abcea92bf518df02b544d25e237ae8cef76f86525f7bf3554812e9f50fa')
|
||||||
version('19.1.3', sha256='6e9d2614f839ff3d91d0ace3de04752b7c075da60c72fe6def76437aa05c9857')
|
version('19.1.3', sha256='6e9d2614f839ff3d91d0ace3de04752b7c075da60c72fe6def76437aa05c9857')
|
||||||
|
|
||||||
depends_on('autoconf', type='build')
|
depends_on('autoconf', type='build')
|
||||||
@ -33,7 +31,8 @@ class Openpbs(AutotoolsPackage):
|
|||||||
depends_on('ssmtp', type=('build', 'run'))
|
depends_on('ssmtp', type=('build', 'run'))
|
||||||
depends_on('xauth', type=('build', 'run'))
|
depends_on('xauth', type=('build', 'run'))
|
||||||
|
|
||||||
depends_on('python@2.6:2.7', type=('build', 'link', 'run'))
|
depends_on('python@3.5:3.9', type=('build', 'link', 'run'), when='@20:')
|
||||||
|
depends_on('python@2.6:2.7', type=('build', 'link', 'run'), when='@:19')
|
||||||
|
|
||||||
depends_on('libx11')
|
depends_on('libx11')
|
||||||
depends_on('libice')
|
depends_on('libice')
|
||||||
@ -64,6 +63,9 @@ class Openpbs(AutotoolsPackage):
|
|||||||
# Link to the dynamic library of Python instead of the static one.
|
# Link to the dynamic library of Python instead of the static one.
|
||||||
patch('python.patch')
|
patch('python.patch')
|
||||||
|
|
||||||
|
# Provides PBS functionality
|
||||||
|
provides('pbs')
|
||||||
|
|
||||||
def autoreconf(self, spec, prefix):
|
def autoreconf(self, spec, prefix):
|
||||||
Executable('./autogen.sh')()
|
Executable('./autogen.sh')()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user