You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
954 B

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=python-qrcode
  7. PKG_VERSION:=7.3.1
  8. PKG_RELEASE:=1
  9. PYPI_NAME:=qrcode
  10. PKG_HASH:=375a6ff240ca9bd41adc070428b5dfc1dcfbb0f2507f1ac848f6cded38956578
  11. PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
  12. PKG_LICENSE:=BSD-3-Clause
  13. PKG_LICENSE_FILES:=LICENSE
  14. include ../pypi.mk
  15. include $(INCLUDE_DIR)/package.mk
  16. include ../python3-package.mk
  17. define Package/python3-qrcode
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. SUBMENU:=Python
  21. TITLE:=QR Code image generator
  22. URL:=https://github.com/lincolnloop/python-qrcode
  23. DEPENDS:= \
  24. +python3 \
  25. +python3-setuptools \
  26. +python3-pillow
  27. endef
  28. define Package/python3-qrcode/description
  29. Pure python QR Code generator
  30. endef
  31. $(eval $(call Py3Package,python3-qrcode))
  32. $(eval $(call BuildPackage,python3-qrcode))
  33. $(eval $(call BuildPackage,python3-qrcode-src))