update to py3-odbc-4.0.35

This commit is contained in:
sthen 2022-12-21 12:54:56 +00:00
parent 4f202a84e0
commit b7785a648d
3 changed files with 19 additions and 20 deletions

View File

@ -1,34 +1,33 @@
COMMENT = ODBC bindings for Python
COMMENT= ODBC bindings for Python
MODPY_EGG_VERSION = 4.0.34
DISTNAME = pyodbc-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
REVISION = 1
MODPY_EGG_VERSION= 4.0.35
DISTNAME= pyodbc-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES = databases
CATEGORIES= databases
HOMEPAGE = https://github.com/mkleehammer/pyodbc
HOMEPAGE= https://github.com/mkleehammer/pyodbc
# MIT
PERMIT_PACKAGE = Yes
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} ${MODPY_WANTLIB}
WANTLIB += iodbc m pthread
COMPILER = base-clang ports-gcc
COMPILER= base-clang ports-gcc
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
NO_TEST = Yes
NO_TEST= Yes
LIB_DEPENDS = databases/iodbc
LIB_DEPENDS= databases/iodbc
CFLAGS += -fPIC -I${LOCALBASE}/include -L${LOCALBASE}/lib -Wno-deprecated-register
CFLAGS+= -fPIC -I${LOCALBASE}/include -L${LOCALBASE}/lib -Wno-deprecated-register
FLAVORS = python3
FLAVOR = python3
FLAVORS= python3
FLAVOR= python3
post-install:
mv ${PREFIX}/pyodbc.pyi ${WRKINST}${MODPY_SITEPKG}

View File

@ -1,2 +1,2 @@
SHA256 (pyodbc-4.0.34.tar.gz) = fqeGlTK5a41Smx8I6oV2X5TffkpY6Wiy+NRVNGoD5Fw=
SIZE (pyodbc-4.0.34.tar.gz) = 271337
SHA256 (pyodbc-4.0.35.tar.gz) = krmvSOi5KEVbyLlL89oFdR+uwJMqEe7iN8GJxtQ55cg=
SIZE (pyodbc-4.0.35.tar.gz) = 273300

View File

@ -1,7 +1,7 @@
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -237,7 +237,7 @@ def get_compiler_settings(version_str):
@@ -242,7 +242,7 @@ def get_compiler_settings(version_str):
# settings['define_macros'].append(('SQL_WCHART_CONVERT', '1'))
# What is the proper way to detect iODBC, MyODBC, unixODBC, etc.?