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.

46 lines
1.2 KiB

  1. #
  2. # Copyright (C) Alexandru Ardelean <ardeleanalex@gmail.com>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=pymysql
  9. PKG_VERSION:=0.10.1
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=PyMySQL
  12. PKG_HASH:=263040d2779a3b84930f7ac9da5132be0fefcd6f453a885756656103f8ee1fdd
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_CONFIG_DEPENDS:=CONFIG_PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-pymysql
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Pure Python MySQL Client
  25. URL:=https://pymysql.readthedocs.io/
  26. DEPENDS:=+python3 +PYTHON3_PYMYSQL_SHA_PASSWORD_SUPPORT:python3-cryptography
  27. endef
  28. define Package/python3-pymysql/config
  29. source "$(SOURCE)/Config.in"
  30. endef
  31. define Package/python3-pymysql/description
  32. This package contains a pure-Python MySQL client library, based on PEP 249.
  33. endef
  34. $(eval $(call Py3Package,python3-pymysql))
  35. $(eval $(call BuildPackage,python3-pymysql))
  36. $(eval $(call BuildPackage,python3-pymysql-src))