2017-07-01 18:29:20 +02:00
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2023-10-30 13:02:46 +01:00
|
|
|
PKG_NAME:=python-pyodbc
|
|
|
|
PKG_VERSION:=5.0.1
|
|
|
|
PKG_RELEASE:=1
|
2017-07-01 18:29:20 +02:00
|
|
|
|
2023-10-30 13:02:46 +01:00
|
|
|
PYPI_NAME:=pyodbc
|
|
|
|
PKG_HASH:=03d7d0b04d5a9156099ce8d03e92f3956783746fa9234eb6f5b5cfc12b645011
|
2023-05-27 08:29:12 +02:00
|
|
|
|
2017-07-01 18:29:20 +02:00
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
2023-06-26 08:28:51 +02:00
|
|
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
2017-07-01 18:29:20 +02:00
|
|
|
|
2023-10-30 13:02:46 +01:00
|
|
|
# for odbc_config
|
2019-03-02 23:10:26 +01:00
|
|
|
PKG_BUILD_DEPENDS:=unixodbc/host
|
|
|
|
|
2019-10-20 21:03:12 +02:00
|
|
|
include ../pypi.mk
|
2017-07-01 18:29:20 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-01-10 08:56:52 +01:00
|
|
|
include ../python3-package.mk
|
2017-07-01 18:29:20 +02:00
|
|
|
|
2020-04-21 19:27:50 +02:00
|
|
|
define Package/python3-pyodbc
|
2017-07-01 18:29:20 +02:00
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
SUBMENU:=Python
|
2023-10-30 13:02:46 +01:00
|
|
|
TITLE:=DB API module for ODBC
|
2020-04-21 19:27:50 +02:00
|
|
|
URL:=https://github.com/mkleehammer/pyodbc
|
2023-10-30 13:02:46 +01:00
|
|
|
DEPENDS:=+python3-light +python3-decimal +python3-uuid +libodbc +libstdcpp
|
2017-07-01 18:29:20 +02:00
|
|
|
endef
|
|
|
|
|
2020-04-01 16:21:16 +02:00
|
|
|
define Package/python3-pyodbc/description
|
2023-10-30 13:02:46 +01:00
|
|
|
pyodbc is an open source Python module that makes accessing ODBC
|
|
|
|
databases simple. It implements the DB API 2.0 specification but is
|
|
|
|
packed with even more Pythonic convenience.
|
2017-07-01 18:29:20 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-pyodbc))
|
|
|
|
$(eval $(call BuildPackage,python3-pyodbc))
|
2023-10-30 13:02:46 +01:00
|
|
|
# no src package - the module does not contain any Python code
|