py-qrcode: new package (#30529)
This commit is contained in:
parent
c1007efe5a
commit
5a55e78073
1 changed files with 24 additions and 0 deletions
24
var/spack/repos/builtin/packages/py-qrcode/package.py
Normal file
24
var/spack/repos/builtin/packages/py-qrcode/package.py
Normal 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'))
|
Loading…
Reference in a new issue