Commit Graph

7 Commits

Author SHA1 Message Date
Alexandru Ardelean 1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00
Daniel Golle d7253f8bcb pyodbc: update to version 4.0.21
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-07 01:30:02 +01:00
Daniel Golle 7a2623d12d pyodbc: use WORDS_BIGENDIAN instead of OS-specific defines
Python provides the WORDS_BIGENDIAN macro, use it to figure out the
native endian of the host.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-17 14:36:48 +02:00
Daniel Golle 667674731f pyodbc: really fix endianess of SQL_WCHAR
auto-endian auf UTF-16 doesn't work with all drivers, some fail to
interpret the byte-order-marking. Hence explicitely use UTF16BE on
big-endian systems and UTF16LE otherwise.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-16 11:58:31 +02:00
Daniel Golle 7b53052f4e
pyodbc: assume SQL_C_WCHAR is native endian
Bump PKG_REV and remove obsolete PKG_MD5SUM while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 16:50:06 +02:00
Alexandru Ardelean 316b41e856 pyodbc: fix python-pyodbc variant ; wasn't working
Python3 variant was working fine.

Also add add PACKAGE_python-pyodbc conditional depend for python packages

Otherwise, both Python & Python3 interpreters get built,
even tho only one variant is selected.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-07 18:14:22 +03:00
Daniel Golle 1aca235d44
python-pyodbc: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-01 19:46:55 +02:00