blob: bf4bbe9832d6842feae10b5686e28ec2fe4cd14f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright 2013-2023 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.package import *
class PyBagit(PythonPackage):
"""bagit is a Python library and command line utility
for working with BagIt style packages.
"""
homepage = "https://libraryofcongress.github.io/bagit-python"
pypi = "bagit/bagit-1.8.1.tar.gz"
license("CC0-1.0")
version("1.8.1", sha256="37df1330d2e8640c8dee8ab6d0073ac701f0614d25f5252f9e05263409cee60c")
depends_on("python@2.7:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-setuptools-scm", type="build")
|