New package: py-pynisher (#28052)

* [py-pynisher] created template

* [py-pynisher]

- Added homepage
- Added description
- Removed fixmes
- added dependencies
This commit is contained in:
Jen Herting 2021-12-16 15:21:45 -05:00 committed by GitHub
parent 43aeb4e48e
commit e76de4138e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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'))