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.30
  7. PKG_RELEASE:=1
  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)/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))