summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pypng/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pypng/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pypng/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pypng/package.py b/var/spack/repos/builtin/packages/py-pypng/package.py
new file mode 100644
index 0000000000..b23a7c4443
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pypng/package.py
@@ -0,0 +1,22 @@
+# 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 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")
+
+ version(
+ "0.20220715.0", sha256="739c433ba96f078315de54c0db975aee537cbc3e1d0ae4ed9aab0ca1e427e2c1"
+ )
+ version("0.0.20", sha256="1032833440c91bafee38a42c38c02d00431b24c42927feb3e63b104d8550170b")
+
+ depends_on("py-setuptools@35.0.2:", type="build")