summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-outdated/package.py
blob: e1699dbd9ada09b2a12fa605d5878f8d7d032193 (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
25
# 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 PyOutdated(PythonPackage):
    """This is a mini-library which, given a package name and a version, checks if
    it's the latest version available on PyPI."""

    homepage = "http://github.com/alexmojaki/outdated"
    pypi = "outdated/outdated-0.2.2.tar.gz"

    maintainers("meyersbs")

    license("MIT")

    version("0.2.2", sha256="4b7fdec88e36711120d096d485fc4d5035e4e5ffbd907cf3a6ce2af43058b970")

    depends_on("py-setuptools@44:", type=("build", "run"))
    depends_on("py-setuptools-scm@3.4.3:+toml", type="build")
    depends_on("py-littleutils", type=("build", "run"))
    depends_on("py-requests", type=("build", "run"))