Files
packages/lang/python/python-pyodbc/Makefile
Alexandru Ardelean a7e01c91b6 treewide: add me as co-maintainer to Jeffery's packages
Add 'Alexandru Ardelean <ardeleanalex@gmail.com>' as co-maintainer
alongside Jeffery To <jeffery.to@gmail.com> for all packages where
Jeffery To is listed as maintainer.

Supersedes PR: https://github.com/openwrt/packages/pull/28429

We can have another PR where Jeffery removes himself later.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-03-13 19:04:53 +02:00

43 lines
1.2 KiB
Makefile

# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-pyodbc
PKG_VERSION:=5.0.1
PKG_RELEASE:=1
PYPI_NAME:=pyodbc
PKG_HASH:=03d7d0b04d5a9156099ce8d03e92f3956783746fa9234eb6f5b5cfc12b645011
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
# for odbc_config
PKG_BUILD_DEPENDS:=unixodbc/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-pyodbc
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=DB API module for ODBC
URL:=https://github.com/mkleehammer/pyodbc
DEPENDS:=+python3-light +python3-decimal +python3-uuid +libodbc +libstdcpp
endef
define Package/python3-pyodbc/description
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.
endef
$(eval $(call Py3Package,python3-pyodbc))
$(eval $(call BuildPackage,python3-pyodbc))
# no src package - the module does not contain any Python code