summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-calver/package.py
blob: c8d669a056cf33bd8efe6d3ad24d33af94fa6e6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 PyCalver(PythonPackage):
    """The calver package is a setuptools extension for automatically
    defining your Python package version as a calendar version."""

    homepage = "https://github.com/di/calver"
    pypi = "calver/calver-2022.6.26.tar.gz"

    version("2022.6.26", sha256="e05493a3b17517ef1748fbe610da11f10485faa7c416b9d33fd4a52d74894f8b")

    depends_on("py-setuptools", type="build")