summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pypng/package.py
blob: b0f7092fe56062a4dc94ecb517b6a8d5215a4779 (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-2024 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 PyPypng(PythonPackage):
    """PyPNG allows PNG image files to be read and written using pure Python."""

    homepage = "https://gitlab.com/drj11/pypng"
    pypi = "pypng/pypng-0.0.20.tar.gz"

    maintainers("snehring")

    license("MIT")

    version(
        "0.20220715.0", sha256="739c433ba96f078315de54c0db975aee537cbc3e1d0ae4ed9aab0ca1e427e2c1"
    )
    version("0.0.20", sha256="1032833440c91bafee38a42c38c02d00431b24c42927feb3e63b104d8550170b")

    depends_on("py-setuptools@35.0.2:", type="build")