View | Details | Raw Unified | Return to bug 265537 | Differences between
and this patch

Collapse All | Expand All

(-)b/databases/py-sqlite3/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=	sqlite3
1
PORTNAME=	sqlite3
2
DISTVERSION=	${PYTHON_DISTVERSION}
2
DISTVERSION=	${PYTHON_DISTVERSION}
3
PORTREVISION=	7
3
PORTREVISION=	8
4
CATEGORIES=	databases python
4
CATEGORIES=	databases python
5
MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION}
5
MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION}
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)b/databases/py-sqlite3/files/setup3.py (-1 / +3 lines)
Lines 35-40 major, minor = map(int, platform.python_version_tuple()[:2]) Link Here
35
if (major, minor) <= (3, 10):
35
if (major, minor) <= (3, 10):
36
    sqlite_srcs.append('_sqlite/cache.c',)
36
    sqlite_srcs.append('_sqlite/cache.c',)
37
37
38
if (major, minor) >= (3, 11):
39
    sqlite_srcs.append('_sqlite/blob.c',)
40
38
try:
41
try:
39
    import ctypes
42
    import ctypes
40
    ctypes.CDLL('libsqlite3.so').sqlite3_load_extension
43
    ctypes.CDLL('libsqlite3.so').sqlite3_load_extension
41
- 

Return to bug 265537