forked from Lainports/freebsd-ports
pymssql 1.0.2 is known by its developers [1] to be broken with FreeTDS 0.91 and later. It should be upgraded to 2.x anyway for Python 3. The bug is that DB queries return no rows, and therefore it's unlikely to work for anyone. [1] http://pymssql.org/en/latest/faq.html#queries-return-no-rows Users should switch to using databases/py-pymssql instead. Expiration date is set to 2015-10-28. PR: 198719 Submitted by: bilbo@hobbiton.org
32 lines
861 B
Makefile
32 lines
861 B
Makefile
# Created by: Hye-Shik Chang <perky@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mssql
|
|
PORTVERSION= 1.0.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pymssql-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python database interface for simple MS-SQL access
|
|
|
|
BROKEN= Broken with current FreeTDS. Please use databases/py-pymssql instead
|
|
DEPRECATED= Broken with current FreeTDS. Please use databases/py-pymssql instead
|
|
EXPIRATION_DATE=2015-10-28
|
|
|
|
LICENSE= LGPL21 # or later
|
|
LICENSE_FILE= ${WRKSRC}/lgpl.txt
|
|
|
|
LIB_DEPENDS= libsybdb.so:${PORTSDIR}/databases/freetds
|
|
|
|
USES= dos2unix python:2
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
DOS2UNIX_FILES= mssqldbmodule.c
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so
|
|
|
|
.include <bsd.port.mk>
|