mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add new port for py-mssql 0.5.1,
A simple database interface to MS-SQL for Python.
This commit is contained in:
parent
69c92320f8
commit
e0427d1526
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103007
@ -215,6 +215,7 @@
|
||||
SUBDIR += py-bsddb3
|
||||
SUBDIR += py-cdb
|
||||
SUBDIR += py-gdbm
|
||||
SUBDIR += py-mssql
|
||||
SUBDIR += py-oops
|
||||
SUBDIR += py-psycopg
|
||||
SUBDIR += py-pyPgSQL
|
||||
|
30
databases/py-mssql/Makefile
Normal file
30
databases/py-mssql/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# New ports collection makefile for: py-mssql
|
||||
# Date created: 5 March 2004
|
||||
# Whom: Hye-Shik Chang <perky@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mssql
|
||||
PORTVERSION= 0.5.1
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pymssql
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= pymssql-${PORTVERSION}
|
||||
|
||||
MAINTAINER= perky@FreeBSD.org
|
||||
COMMENT= Python database interface for simple MS-SQL access
|
||||
|
||||
LIB_DEPENDS= sybdb.4:${PORTSDIR}/databases/freetds-msdblib
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,#include.*malloc\.h.*,,g' \
|
||||
-e 's,/usr/local,${LOCALBASE},g' \
|
||||
${WRKSRC}/mssqldbmodule.c
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/py-mssql/distinfo
Normal file
2
databases/py-mssql/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (pymssql-0.5.1.tar.gz) = d700a3b26a49f7168a9e2b01a7817efd
|
||||
SIZE (pymssql-0.5.1.tar.gz) = 8110
|
4
databases/py-mssql/pkg-descr
Normal file
4
databases/py-mssql/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
PyMSSQL is a MS-SQL database adapter for the Python programming
|
||||
language. It was written from scratch using FreeTDS library.
|
||||
|
||||
WWW: http://pymssql.sourceforge.net/
|
4
databases/py-mssql/pkg-plist
Normal file
4
databases/py-mssql/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%PYTHON_SITELIBDIR%%/_mssql.so
|
||||
%%PYTHON_SITELIBDIR%%/pymssql.py
|
||||
%%PYTHON_SITELIBDIR%%/pymssql.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pymssql.pyo
|
Loading…
Reference in New Issue
Block a user