Update totalview package.py with new version and maintainer (#30341)

* Update totalview package.py with new version and maintainer

* Update totalview/package.py version order

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
David 2022-05-05 09:37:56 -06:00 committed by GitHub
parent a15a69a769
commit faeffdfaf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ class Totalview(Package):
be downloaded as a resource."""
homepage = "https://www.roguewave.com/products-services/totalview"
maintainers = ['nicholas-sly']
maintainers = ['dshrader']
manual_download = True
license_required = True
license_comment = '#'
@ -30,6 +30,8 @@ class Totalview(Package):
# As the install of Totalview is via multiple tarballs, the base install
# will be the documentation. The architecture-specific tarballs are added
# as resources dependent on the specific architecture used.
version('2021.1.16',
sha256='4c51c7b6ab6b6afa7635ba2e9fc3b0ef833806f775a0ad0da26b13d6320625dd')
version('2019.2.18',
sha256='09e5c554032af945f8cf147dd548421267e50e906cc9686fb5cd0e8e63fcf650')
@ -57,6 +59,24 @@ class Totalview(Package):
destination='.',
sha256='c0e4dbf145312fc7143ad0b7e9474e653933581990e0b9d07237c73dbdff8365',
when='@2019.2.18 target=ppc64le:')
resource(
name='x86_64',
url='totalview_{0}_linux_x86-64.tar'.format(version),
destination='.',
sha256='129e991d3ce4df9f9f04adbf79b62d3c2706d7732ec305f3d3c97a6b4d1f5a13',
when='@2021.1.16 target=x86_64:')
resource(
name='aarch64',
url='totalview_{0}_linux_arm64.tar'.format(version),
destination='.',
sha256='d559c0e090b2a6b935986324a2f1b20c02c5a2991432b8305952c120db41cdb5',
when='@2021.1.16 target=aarch64:')
resource(
name='ppcle',
url='totalview_{0}_linux_powerle.tar'.format(version),
destination='.',
sha256='88c6bf82bd0807f826e2920967b288ac40e9bc56554e55966dfea793bc9c2b0a',
when='@2021.1.16 target=ppcle:')
def url_for_version(self, version):
return "file://{0}/totalview.{1}-doc.tar".format(os.getcwd(), version)
@ -64,8 +84,7 @@ def url_for_version(self, version):
def setup_run_environment(self, env):
env.prepend_path('PATH',
join_path(self.prefix, 'toolworks',
'totalview.{0}'.format(self.version), 'bin')
)
'totalview.{0}'.format(self.version), 'bin'))
env.prepend_path('TVROOT',
join_path(self.prefix, 'toolworks',
'totalview.{0}'.format(self.version)))