New package: py-testfixtures (#20432)

* [py-testfixtures] copied from slpits

* [py-testfixtures] removed extends('python')

* [py-testfixtures] removed unnecessary dependencies
This commit is contained in:
Jen Herting 2021-01-07 13:29:33 -05:00 committed by GitHub
parent 1ada637613
commit b6e32a265b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# Copyright 2013-2020 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 PyTestfixtures(PythonPackage):
"""Testfixtures is a collection of helpers and mock objects that are useful
when writing automated tests in Python."""
homepage = "https://github.com/Simplistix/testfixtures"
url = "https://github.com/Simplistix/testfixtures/archive/6.16.0.zip"
version('6.16.0', sha256='6b5bbca4f7d5692ca4566c60c0383b121d9f1cfecbc3de8442c499a63c264eb8')
depends_on('py-setuptools', type='build')