py-qrcode: new package (#30529)

This commit is contained in:
Seth R. Johnson 2022-05-06 09:05:53 -04:00 committed by GitHub
parent c1007efe5a
commit 5a55e78073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))