summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pyrect/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyrect/package.py b/var/spack/repos/builtin/packages/py-pyrect/package.py
new file mode 100644
index 0000000000..e77adbb17b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyrect/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 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 import *
+
+
+class PyPyrect(PythonPackage):
+ """PyRect is a simple module with a Rect class for
+ Pygame-like rectangular areas."""
+
+ homepage = "https://github.com/asweigart/pyrect"
+ pypi = "PyRect/PyRect-0.1.4.tar.gz"
+
+ version('0.1.4', sha256='3b2fa7353ce32a11aa6b0a15495968d2a763423c8947ae248b92c037def4e202')
+
+ depends_on('py-setuptools', type='build')