1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/databases/py-pyodbc/Makefile
Wen Heping b907645f59 databases/py-pyodbc: Update to 5.0.1 and fix build with python-3.11
PR:		275494
Approved by:	portmgr(blanket, fix build)
2024-01-21 08:06:34 +00:00

24 lines
542 B
Makefile

PORTNAME= pyodbc
PORTVERSION= 5.0.1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rob.kruus@gmail.com
COMMENT= ODBC connections for python
WWW= https://github.com/mkleehammer/pyodbc
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libodbc.so:databases/unixODBC
BUILD_DEPENDS= unixODBC>=2.2.14:databases/unixODBC
USES= localbase python
USE_PYTHON= autoplist distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyodbc*.so
.include <bsd.port.mk>