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

Collapse All | Expand All

(-)databases/py-pymssql/Makefile (-1 / +7 lines)
Lines 18-23 Link Here
18
USES=		python
18
USES=		python
19
USE_PYTHON=	autoplist distutils cython
19
USE_PYTHON=	autoplist distutils cython
20
20
21
.include <bsd.port.pre.mk>
22
23
.if ${PYTHON_MAJOR_VER} == 3
24
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-pymssql.pyx
25
.endif
26
21
post-extract:
27
post-extract:
22
	@${RM} ${WRKSRC}/_mssql.c
28
	@${RM} ${WRKSRC}/_mssql.c
23
29
Lines 25-28 Link Here
25
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so \
31
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so \
26
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pymssql.so
32
		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pymssql.so
27
33
28
.include <bsd.port.mk>
34
.include <bsd.port.post.mk>
(-)databases/py-pymssql/files/extra-patch-pymssql.pyx (+9 lines)
Line 0 Link Here
1
--- pymssql.pyx.orig	2019-04-04 01:13:16 UTC
2
+++ pymssql.pyx
3
@@ -1,5 +1,6 @@
4
 """DB-SIG compliant module for communicating with MS SQL servers"""
5
 # pymssql.pyx
6
+# cython: language_level=3
7
 #
8
 #   Copyright (C) 2003 Joon-cheol Park <jooncheol@gmail.com>
9
 #                 2008 Andrzej Kukula <akukula@gmail.com>

Return to bug 236998