summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-05-14 22:06:23 -0400
committerGitHub <noreply@github.com>2021-05-14 21:06:23 -0500
commit42a77a1ff6c07f293e825d36c15364b17f91a984 (patch)
tree224c8a60eb53e59e91f72bf09616c81815fc19e5 /var
parent89140857899c6a54df7e1bde6298df766493afe2 (diff)
downloadspack-42a77a1ff6c07f293e825d36c15364b17f91a984.tar.gz
spack-42a77a1ff6c07f293e825d36c15364b17f91a984.tar.bz2
spack-42a77a1ff6c07f293e825d36c15364b17f91a984.tar.xz
spack-42a77a1ff6c07f293e825d36c15364b17f91a984.zip
New package: py-pyrect (#23634)
* [py-pyrect] created template * [py-pyrect] depends on setuptools * [py-pyrect] Final cleanup - added homepage - added description - removed fixmes
Diffstat (limited to 'var')
-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')