2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=python-qrcode
13 PKG_HASH
:=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369
15 PKG_MAINTAINER
:=Eneas U de Queiroz
<cotequeiroz@gmail.com
>
16 PKG_LICENSE
:=BSD-3-Clause
17 PKG_LICENSE_FILES
:=LICENSE
20 include $(INCLUDE_DIR
)/package.mk
21 include ..
/python-package.mk
22 include ..
/python3-package.mk
24 define Package
/python-qrcode
/Default
28 TITLE
:=QR Code image generator
29 URL
:=https
://github.com
/lincolnloop
/python-qrcode
32 define Package
/python-qrcode
33 $(call Package
/python-qrcode
/Default
)
35 +PACKAGE_python-qrcode
:python \
36 +PACKAGE_python-qrcode
:python-setuptools \
37 +PACKAGE_python-qrcode
:python-six \
38 +PACKAGE_python-qrcode
:python-pillow
42 define Package
/python-qrcode
/description
43 Pure python QR Code generator
46 define Package
/python3-qrcode
47 $(call Package
/python-qrcode
/Default
)
49 +PACKAGE_python3-qrcode
:python3 \
50 +PACKAGE_python3-qrcode
:python3-setuptools \
51 +PACKAGE_python3-qrcode
:python3-six \
52 +PACKAGE_python3-qrcode
:python3-pillow
56 define Package
/python3-qrcode
/description
57 $(call Package
/python-qrcode
/description
)
62 $(eval
$(call PyPackage
,python-qrcode
))
63 $(eval
$(call BuildPackage
,python-qrcode
))
64 $(eval
$(call BuildPackage
,python-qrcode-src
))
66 $(eval
$(call Py3Package
,python3-qrcode
))
67 $(eval
$(call BuildPackage
,python3-qrcode
))
68 $(eval
$(call BuildPackage
,python3-qrcode-src
))