This removes: * Python 3 variants (VARIANT:=python3) * "for Python3" from package titles * Package selection condition from package dependencies, e.g. +PACKAGE_python3-six:python3-light replaced with +python3-light * "Default" package information sections, e.g. Package/python-six/Default removed and package details merged into Package/python3-six * "(Variant for Python3)" from package descriptions Signed-off-by: Jeffery To <jeffery.to@gmail.com>
42 lines
1.1 KiB
Makefile
42 lines
1.1 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:=pyodbc
|
|
PKG_VERSION:=4.0.26
|
|
PKG_RELEASE:=3
|
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
|
PKG_HASH:=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3
|
|
PKG_BUILD_DEPENDS:=python3 unixodbc
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
|
|
PKG_BUILD_DEPENDS:=unixodbc/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/uclibc++.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-pyodbc
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=python3-pyodbc
|
|
URL:=https://github.com/mkleehammer/pyodbc
|
|
DEPENDS:=+unixodbc +python3-light $(CXX_DEPENDS)
|
|
endef
|
|
|
|
define Package/python3-pyodbc/description
|
|
DB API Module for ODBC
|
|
|
|
A Python DB API 2 module for ODBC. This project provides an up-to-date,
|
|
convenient interface to ODBC using native data types like datetime and decimal.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-pyodbc))
|
|
$(eval $(call BuildPackage,python3-pyodbc))
|