summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-14 03:10:00 +0000
committerminskim <minskim@pkgsrc.org>2005-11-14 03:10:00 +0000
commit7afc15e8e13ace7156e7bb156970ce3d6db51665 (patch)
treed1b517507322a2e3fba58f45b22058cf90a25fc2 /databases
parentd5baf4103762f4eb0e5b6fe719f99a7e62dbc865 (diff)
downloadpkgsrc-7afc15e8e13ace7156e7bb156970ce3d6db51665.tar.gz
Import py-mssql from pkgsrc-wip. Packaged by Bartosz Kuzma.
This module provides access to MS SQL Servers from Python scripts. Features: - Multiple Query/Multiple Result - Not using Win32 ODBC (using MSSQL DB-LIB) - Supports "almost all" of the DB-API 2.0
Diffstat (limited to 'databases')
-rw-r--r--databases/py-mssql/DESCR6
-rw-r--r--databases/py-mssql/Makefile22
-rw-r--r--databases/py-mssql/PLIST5
-rw-r--r--databases/py-mssql/distinfo5
4 files changed, 38 insertions, 0 deletions
diff --git a/databases/py-mssql/DESCR b/databases/py-mssql/DESCR
new file mode 100644
index 00000000000..70f8fce9f55
--- /dev/null
+++ b/databases/py-mssql/DESCR
@@ -0,0 +1,6 @@
+This module provides access to MS SQL Servers from Python scripts.
+
+Features:
+ - Multiple Query/Multiple Result
+ - Not using Win32 ODBC (using MSSQL DB-LIB)
+ - Supports "almost all" of the DB-API 2.0
diff --git a/databases/py-mssql/Makefile b/databases/py-mssql/Makefile
new file mode 100644
index 00000000000..a95eecf06e9
--- /dev/null
+++ b/databases/py-mssql/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/14 03:10:00 minskim Exp $
+#
+
+DISTNAME= pymssql-0.7.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymssql/}
+
+MAINTAINER= bartosz@atom.eu.org
+HOMEPAGE= http://pymssql.sourceforge.net/
+COMMENT= Python interface to MS SQL
+
+BUILDLINK_DEPENDS.freetds+= freetds>=0.63
+
+PYTHON_VERSION_REQD= 24
+PYBINMODULE= yes
+PYDISTUTILSPKG= yes
+
+.include "../../databases/freetds/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-mssql/PLIST b/databases/py-mssql/PLIST
new file mode 100644
index 00000000000..a373cf7e01c
--- /dev/null
+++ b/databases/py-mssql/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/14 03:10:00 minskim Exp $
+${PYSITELIB}/_mssql.so
+${PYSITELIB}/pymssql.py
+${PYSITELIB}/pymssql.pyc
+${PYSITELIB}/pymssql.pyo
diff --git a/databases/py-mssql/distinfo b/databases/py-mssql/distinfo
new file mode 100644
index 00000000000..8cb8ac277c5
--- /dev/null
+++ b/databases/py-mssql/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/14 03:10:00 minskim Exp $
+
+SHA1 (pymssql-0.7.3.tar.gz) = 70407aa1620d5e820748e4ceb7339c6bbb206747
+RMD160 (pymssql-0.7.3.tar.gz) = 979e6477067a19d6be9432c20e47559e0d438e38
+Size (pymssql-0.7.3.tar.gz) = 18341 bytes