python-pyqrcode: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov 2017-01-26 16:52:03 +01:00 committed by Thomas Petazzoni
parent b1c510fe3f
commit f1b2fc9bb3
4 changed files with 29 additions and 0 deletions

View File

@ -766,6 +766,7 @@ menu "External python modules"
source "package/python-pyparsing/Config.in"
source "package/python-pyparted/Config.in"
source "package/python-pypcap/Config.in"
source "package/python-pyqrcode/Config.in"
source "package/python-pyqt/Config.in"
source "package/python-pyqt5/Config.in"
source "package/python-pyratemp/Config.in"

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_PYQRCODE
bool "python-pyqrcode"
select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON_CODECSCJK if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_CODECSCJK if BR2_PACKAGE_PYTHON3 # runtime
help
A QR code generator written purely in Python with SVG, EPS,
PNG and terminal output.
https://github.com/mnooner256/pyqrcode

View File

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/pyqrcode/json, sha256 locally computed
md5 371f29f4b03bd2830c6e0319258b1259 PyQRCode-1.2.1.tar.gz
sha256 fdbf7634733e56b72e27f9bce46e4550b75a3a2c420414035cae9d9d26b234d5 PyQRCode-1.2.1.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-pyqrcode
#
################################################################################
PYTHON_PYQRCODE_VERSION = 1.2.1
PYTHON_PYQRCODE_SOURCE = PyQRCode-$(PYTHON_PYQRCODE_VERSION).tar.gz
PYTHON_PYQRCODE_SITE = https://pypi.python.org/packages/37/61/f07226075c347897937d4086ef8e55f0a62ae535e28069884ac68d979316
PYTHON_PYQRCODE_SETUP_TYPE = setuptools
PYTHON_PYQRCODE_LICENSE = BSD-3c
PYTHON_PYQRCODE_LICENSE_FILES = setup.py
$(eval $(python-package))