blob: 1f883fc6285f447a4d5128a5497b406d1e72a2f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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.3.0
PKG_RELEASE:=1
PYPI_NAME:=pyodbc
PKG_HASH:=2fe0e063d8fb66efd0ac6dc39236c4de1a45f17c33eaded0d553d21c199f4d05
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
# for odbc_config
PKG_BUILD_DEPENDS:= \
python-setuptools/host \
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
|