CGNS: Allow use of git branch versions (#10156)

* CGNS: Allow use of git branch versions

Add ability to use git `master` and `develop` branches of the CGNS library.  The `seacas` package sometimes needs to use the `master` or `develop` branch due to some new changes to the parallel I/O implementation in CGNS which has not yet been released.

* CGNS: Reorder to put newest version on top

Based on review comments, place newest version (develop) first in list.
This commit is contained in:
Greg Sjaardema 2018-12-19 19:02:24 -07:00 committed by Adam J. Stewart
parent 207c37759c
commit 93c491f729

View file

@ -13,7 +13,10 @@ class Cgns(CMakePackage):
homepage = "http://cgns.github.io/" homepage = "http://cgns.github.io/"
url = "https://github.com/CGNS/CGNS/archive/v3.3.0.tar.gz" url = "https://github.com/CGNS/CGNS/archive/v3.3.0.tar.gz"
git = "https://github.com/CGNS/CGNS"
version('develop', branch='develop')
version('master', branch='master')
version('3.3.1', '65c55998270c3e125e28ec5c3742e15d') version('3.3.1', '65c55998270c3e125e28ec5c3742e15d')
version('3.3.0', '64e5e8d97144c1462bee9ea6b2a81d7f') version('3.3.0', '64e5e8d97144c1462bee9ea6b2a81d7f')