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
1.0 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=pyodbc
  6. PKG_VERSION:=4.0.30
  7. PKG_RELEASE:=2
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=852b5deeeb3366af8b4408efed993501708be45d221881bce60c9aac54be726a
  10. PKG_BUILD_DEPENDS:=python3 unixodbc
  11. PKG_LICENSE:=MIT
  12. PKG_LICENSE_FILES:=LICENSE.txt
  13. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  14. PKG_BUILD_DEPENDS:=unixodbc/host
  15. include ../pypi.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../python3-package.mk
  18. define Package/python3-pyodbc
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. SUBMENU:=Python
  22. TITLE:=python3-pyodbc
  23. URL:=https://github.com/mkleehammer/pyodbc
  24. DEPENDS:=+unixodbc +python3-light +libstdcpp
  25. endef
  26. define Package/python3-pyodbc/description
  27. DB API Module for ODBC
  28. A Python DB API 2 module for ODBC. This project provides an up-to-date,
  29. convenient interface to ODBC using native data types like datetime and decimal.
  30. endef
  31. $(eval $(call Py3Package,python3-pyodbc))
  32. $(eval $(call BuildPackage,python3-pyodbc))