summaryrefslogtreecommitdiff
path: root/databases/kinterbasdb
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-12-04 06:42:39 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-12-04 06:42:39 +0000
commit082b4d1b5fe3c8664fc2cfa6a81ff8007b2d6ebf (patch)
treebe2ce3c82e1044227f28dc8b2cb46c67de8d7b10 /databases/kinterbasdb
parentFix bug wich prevents game variation selection from cli for (diff)
Add databases/kinterbasdb, a Python module to access the Firebird
(Interbase (TM) relational database. Note: there seems to be no way around the portlint gripe. Further note: this port won't install correctly until the underlying Firebird DB is upgraded to get rid of its FORBIDDEN state, but first things first. (The was one of the oldest "new ports" PRs in the system, predating the breakage). PR: ports/30823 Submitted by: Dmytro Rud <unixoid@yahoo.com>
Notes
Notes: svn path=/head/; revision=94879
Diffstat (limited to 'databases/kinterbasdb')
-rw-r--r--databases/kinterbasdb/Makefile31
-rw-r--r--databases/kinterbasdb/distinfo1
-rw-r--r--databases/kinterbasdb/files/patch-_kinterbasdb_constants.c22
-rw-r--r--databases/kinterbasdb/pkg-descr7
-rw-r--r--databases/kinterbasdb/pkg-plist50
5 files changed, 111 insertions, 0 deletions
diff --git a/databases/kinterbasdb/Makefile b/databases/kinterbasdb/Makefile
new file mode 100644
index 000000000000..b1f877b3839c
--- /dev/null
+++ b/databases/kinterbasdb/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: kinterbasdb
+# Date created: 19 November 2003
+# Whom: Dmytro Rud <rud@cs.uni-magdeburg.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kinterbasdb
+PORTVERSION= 3.1
+VERSIONSUFFIX= _pre6
+CATEGORIES= python databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= kinterbasdb
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}${VERSIONSUFFIX}-src
+
+MAINTAINER= rud@cs.uni-magdeburg.de
+COMMENT= Python extension for Firebird/Interbase(R) relational databases
+
+LIB_DEPENDS= gds.1:${PORTSDIR}/databases/firebird
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py:${PORTSDIR}/lang/py-mx-base
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}${VERSIONSUFFIX}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+USE_PYTHON_PREFIX= yes
+
+PLIST_SUB= INSTALLDIR=lib/${PYTHON_VERSION}/site-packages/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/databases/kinterbasdb/distinfo b/databases/kinterbasdb/distinfo
new file mode 100644
index 000000000000..f655915a2b45
--- /dev/null
+++ b/databases/kinterbasdb/distinfo
@@ -0,0 +1 @@
+MD5 (kinterbasdb-3.1_pre6-src.tar.gz) = 60776283a744b87dc4e04c06f526657c
diff --git a/databases/kinterbasdb/files/patch-_kinterbasdb_constants.c b/databases/kinterbasdb/files/patch-_kinterbasdb_constants.c
new file mode 100644
index 000000000000..83002fdac6de
--- /dev/null
+++ b/databases/kinterbasdb/files/patch-_kinterbasdb_constants.c
@@ -0,0 +1,22 @@
+--- _kinterbasdb_constants.c.dist Wed Dec 3 00:07:47 2003
++++ _kinterbasdb_constants.c Wed Dec 3 00:09:09 2003
+@@ -45,8 +45,8 @@
+ ** The point of SET_TPB_CONST is to enter into dict d the equivalent of the
+ ** Python string '\020', when passed the name and value of isc_some_dumb_const.
+ */
+-#define SET_TPB_CONST(name, value) \
+- convArray[0] = (char) value; \
++#define SET_TPB_CONST(name, value) \
++ convArray[0] = (char) value; \
+ PyDict_SetItemString(d, name, PyString_FromStringAndSize(convArray, 1));
+
+ /* 2003.02.20: added isc_tpb_version3: */
+@@ -85,7 +85,7 @@
+ static void _init_kidb_ibase_header_constants_database_info(PyObject *d) {
+ /* SET_INT_CONST is just a shortcut for entering database info constants into
+ ** dict d. */
+-#define SET_INT_CONST(name, value) \
++#define SET_INT_CONST(name, value) \
+ PyDict_SetItemString(d, name, PyInt_FromLong(value));
+
+ SET_INT_CONST("isc_info_db_id", isc_info_db_id);
diff --git a/databases/kinterbasdb/pkg-descr b/databases/kinterbasdb/pkg-descr
new file mode 100644
index 000000000000..7f8e6766067c
--- /dev/null
+++ b/databases/kinterbasdb/pkg-descr
@@ -0,0 +1,7 @@
+KinterbasDB Python module is a client part for the Interbase
+(Firebird) SQL Server. It enables you to store, retrieve and handle
+relational data in Interbase within Python program. It provides the
+functionality to execute SQL statements, control transactions, to use
+special data types and supports Python DB API 2.0 specifications.
+
+WWW: http://sourceforge.net/projects/kinterbasdb/
diff --git a/databases/kinterbasdb/pkg-plist b/databases/kinterbasdb/pkg-plist
new file mode 100644
index 000000000000..8cea58bc0f50
--- /dev/null
+++ b/databases/kinterbasdb/pkg-plist
@@ -0,0 +1,50 @@
+%%INSTALLDIR%%/__init__.py
+%%INSTALLDIR%%/__init__.pyc
+%%INSTALLDIR%%/__init__.pyo
+%%INSTALLDIR%%/_kinterbasdb.so
+%%INSTALLDIR%%/_kiservices.so
+%%INSTALLDIR%%/k_exceptions.py
+%%INSTALLDIR%%/k_exceptions.pyc
+%%INSTALLDIR%%/k_exceptions.pyo
+%%INSTALLDIR%%/services.py
+%%INSTALLDIR%%/services.pyc
+%%INSTALLDIR%%/services.pyo
+%%INSTALLDIR%%/typeconv_23plus.py
+%%INSTALLDIR%%/typeconv_23plus.pyc
+%%INSTALLDIR%%/typeconv_23plus.pyo
+%%INSTALLDIR%%/typeconv_backcompat.py
+%%INSTALLDIR%%/typeconv_backcompat.pyc
+%%INSTALLDIR%%/typeconv_backcompat.pyo
+%%INSTALLDIR%%/typeconv_datetime_mx.py
+%%INSTALLDIR%%/typeconv_datetime_mx.pyc
+%%INSTALLDIR%%/typeconv_datetime_mx.pyo
+%%INSTALLDIR%%/typeconv_datetime_naked.py
+%%INSTALLDIR%%/typeconv_datetime_naked.pyc
+%%INSTALLDIR%%/typeconv_datetime_naked.pyo
+%%INSTALLDIR%%/typeconv_datetime_stdlib.py
+%%INSTALLDIR%%/typeconv_datetime_stdlib.pyc
+%%INSTALLDIR%%/typeconv_datetime_stdlib.pyo
+%%INSTALLDIR%%/typeconv_fixed_fixedpoint.py
+%%INSTALLDIR%%/typeconv_fixed_fixedpoint.pyc
+%%INSTALLDIR%%/typeconv_fixed_fixedpoint.pyo
+%%INSTALLDIR%%/typeconv_fixed_stdlib.py
+%%INSTALLDIR%%/typeconv_fixed_stdlib.pyc
+%%INSTALLDIR%%/typeconv_fixed_stdlib.pyo
+%%INSTALLDIR%%/typeconv_naked.py
+%%INSTALLDIR%%/typeconv_naked.pyc
+%%INSTALLDIR%%/typeconv_naked.pyo
+%%INSTALLDIR%%/typeconv_util_isinstance.py
+%%INSTALLDIR%%/typeconv_util_isinstance.pyc
+%%INSTALLDIR%%/typeconv_util_isinstance.pyo
+%%INSTALLDIR%%/docs/Python-DB-API-2.0.html
+%%INSTALLDIR%%/docs/changelog.txt
+%%INSTALLDIR%%/docs/global.css
+%%INSTALLDIR%%/docs/index.html
+%%INSTALLDIR%%/docs/installation-binary.html
+%%INSTALLDIR%%/docs/installation-source.html
+%%INSTALLDIR%%/docs/license.txt
+%%INSTALLDIR%%/docs/links.html
+%%INSTALLDIR%%/docs/usage.html
+%%INSTALLDIR%%/docs/w3c.png
+@dirrm %%INSTALLDIR%%/docs
+@dirrm %%INSTALLDIR%%