py-patool: add new package (#24703)

This commit is contained in:
Manuela Kuhn 2021-07-05 12:44:59 +02:00 committed by GitHub
parent 1cb2855054
commit d764b776d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# 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 PyPatool(PythonPackage):
"""portable archive file manager"""
homepage = "http://wummel.github.io/patool/"
pypi = "patool/patool-1.12.tar.gz"
version('1.12', sha256='e3180cf8bfe13bedbcf6f5628452fca0c2c84a3b5ae8c2d3f55720ea04cb1097')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')