Package/geopm (#7560)

* geopm: Added initial files for package geopm
and py-natsort dependency

* geopm: Updated variants for hwloc and mpi defaults

* geopm: Cleaned up unwanted hyphenation in description.

* geopm: updates according to change request.

* geopm: Updated minor change requests.

Clarification for ruby-ronn dependency included as a TODO.
This requires changes in the current configure and build process
which will be changed in a future version.

* geopm: changed to AutotoolsPackage and fixed hwloc

The changes for hwloc required to add a specific version bc of a
conflicting version of openmpi's hwloc dependency being below
1.99. This works but updates to this package should check if this
restriction is still required. (Thus TODO added)

* geopm: Added link dependencies (thanks for pointing this out).

Also removed empty line below class definition.

* geopm: Fixed depends_on according to package guide.

Removed wrong type 'run' and removed types for numactl, mpi and hwloc
to use default build & link type.

* geopm: Fixed and updated +doc dependencies

new pacakge ruby-ronn (package specified as in ruby-narray package)
Updated second +doc dependency doxygen.

* geopm: Changed args for Autotools specific feature.

Added enable_or_disable and with_or_without instead of if cascade.
Added overhead variant.
Also added missing dependency (default: build&link) for json-c).
This commit is contained in:
Matthias Maiterth
2018-04-17 14:51:56 +02:00
committed by Adam J. Stewart
parent 40f0305bfa
commit ed4d0c5a87
3 changed files with 181 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# 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/spack/spack
# Please also see the NOTICE and LICENSE files 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 PyNatsort(PythonPackage):
"""Simple yet flexible natural sorting in Python."""
homepage = "https://pypi.org/project/natsort/"
url = "https://github.com/SethMMorton/natsort/archive/5.2.0.zip"
version('5.2.0', '2ed2826550eef1f9ea3dd04f08b5da8b')
version('5.1.1', '0525d4897fc98f40df5cc5a4a05f3c82')
version('5.1.0', '518688548936d548775fb00afba999fb')
version('5.0.3', '11147d75693995a946656927df7617d0')
version('5.0.2', '1eb11a69086a5fb21d03f8189f1afed3')
version('5.0.1', 'ca21c728bb3dd5dcfb010fa50b9c5e3c')
version('5.0.0', 'fc7800fea50dcccbf8b116e1dff2ebf8')
version('4.0.4', '7478ba31ec7fe554fcbfda41bb01f5ef')
version('4.0.3', '2dc4fb1eb6ebfe4c9d95a12c2406df33')
version('4.0.1', '659cf6ce95951003de0c85fc80b9f135')
depends_on('py-setuptools', type=('build'))