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.

47 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.9.3
  10. PKG_RELEASE:=2
  11. PYPI_NAME:=PyMySQL
  12. PKG_HASH:=d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7
  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. VARIANT:=python3
  28. endef
  29. define Package/python3-pymysql/config
  30. source "$(SOURCE)/Config.in"
  31. endef
  32. define Package/python3-pymysql/description
  33. This package contains a pure-Python MySQL client library, based on PEP 249.
  34. endef
  35. $(eval $(call Py3Package,python3-pymysql))
  36. $(eval $(call BuildPackage,python3-pymysql))
  37. $(eval $(call BuildPackage,python3-pymysql-src))