From 5a55e78073672632aeaf6efe3982ea31a19ddff9 Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Fri, 6 May 2022 09:05:53 -0400 Subject: [PATCH] py-qrcode: new package (#30529) --- .../builtin/packages/py-qrcode/package.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-qrcode/package.py diff --git a/var/spack/repos/builtin/packages/py-qrcode/package.py b/var/spack/repos/builtin/packages/py-qrcode/package.py new file mode 100644 index 0000000000..24f09d8dd2 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-qrcode/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2022 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 PyQrcode(PythonPackage): + """Generate QR codes """ + + homepage = "https://github.com/lincolnloop/python-qrcode" + pypi = "qrcode/qrcode-7.3.1.tar.gz" + + maintainers = ['sethrj'] + + version('7.3.1', sha256='375a6ff240ca9bd41adc070428b5dfc1dcfbb0f2507f1ac848f6cded38956578') + + depends_on('python@3.6:', type=('build', 'run')) + + depends_on('py-setuptools', type='build') + + depends_on('py-pillow', type=('build', 'run')) + depends_on('py-typing-extensions', type=('build', 'run'))