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.

42 lines
1.1 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.26
  7. PKG_RELEASE:=3
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3
  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)/uclibc++.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-pyodbc
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=python3-pyodbc
  24. URL:=https://github.com/mkleehammer/pyodbc
  25. DEPENDS:=+unixodbc +python3-light $(CXX_DEPENDS)
  26. endef
  27. define Package/python3-pyodbc/description
  28. DB API Module for ODBC
  29. A Python DB API 2 module for ODBC. This project provides an up-to-date,
  30. convenient interface to ODBC using native data types like datetime and decimal.
  31. endef
  32. $(eval $(call Py3Package,python3-pyodbc))
  33. $(eval $(call BuildPackage,python3-pyodbc))