New package: py-pynisher (#28052)
* [py-pynisher] created template * [py-pynisher] - Added homepage - Added description - Removed fixmes - added dependencies
This commit is contained in:
parent
43aeb4e48e
commit
e76de4138e
1 changed files with 20 additions and 0 deletions
20
var/spack/repos/builtin/packages/py-pynisher/package.py
Normal file
20
var/spack/repos/builtin/packages/py-pynisher/package.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class PyPynisher(PythonPackage):
|
||||
"""A small Python library to limit the resources used by a
|
||||
function by executing it inside a subprocess."""
|
||||
|
||||
homepage = "https://github.com/automl/pynisher"
|
||||
pypi = "pynisher/pynisher-0.6.4.tar.gz"
|
||||
|
||||
version('0.6.4', sha256='111d91aad471375c0509a912415ff90053ef909100facf412511383af107c124')
|
||||
|
||||
depends_on('python@3.6:', type=('build', 'run'))
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-psutil', type=('build', 'run'))
|
Loading…
Reference in a new issue