pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-postgresql73 reimport of py-postgresql as...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ad968631efc
branches: trunk
changeset: 478495:9ad968631efc
user: recht <recht%pkgsrc.org@localhost>
date: Sat Jul 24 22:26:44 2004 +0000
description:
reimport of py-postgresql as py-postgresql73
Note: This package should probably replaced by a PyGreSQL package.
PyGreSQL is a python module that interfaces to a PostgreSQL database. It
embeds the PostgreSQL query library to allow easy use of the powerful
PostgreSQL features from a Python script. This also includes support for
the Python DB-API.
diffstat:
databases/py-postgresql73/DESCR | 4 ++++
databases/py-postgresql73/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
databases/py-postgresql73/PLIST | 15 +++++++++++++++
3 files changed, 57 insertions(+), 0 deletions(-)
diffs (69 lines):
diff -r a97f6eb55f28 -r 9ad968631efc databases/py-postgresql73/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-postgresql73/DESCR Sat Jul 24 22:26:44 2004 +0000
@@ -0,0 +1,4 @@
+PyGreSQL is a python module that interfaces to a PostgreSQL database. It
+embeds the PostgreSQL query library to allow easy use of the powerful
+PostgreSQL features from a Python script. This also includes support for
+the Python DB-API.
diff -r a97f6eb55f28 -r 9ad968631efc databases/py-postgresql73/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-postgresql73/Makefile Sat Jul 24 22:26:44 2004 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:26:44 recht Exp $
+
+PKGNAME= ${PYPKGPREFIX}-postgresql73-3.3
+CATEGORIES= databases python
+
+MAINTAINER= darcy%NetBSD.org@localhost
+COMMENT= Python interface to PostgreSQL
+
+USE_BUILDLINK3= yes
+
+.include "../postgresql73/Makefile.common"
+
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ARGS+= --with-python-compile
+CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+
+MAKEFILE= GNUmakefile
+MAKE_ENV+= INSTALLED_LIBPQ=1
+MAKEFLAGS+= PYTHON_VERSION=${PYVERSSUFFIX}
+
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
+
+BUILD_DIRS= ${WRKSRC}/src/interfaces/python
+DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ for file in ${WRKSRC}/src/interfaces/python/tutorial/*.py; do \
+ ${INSTALL_DATA} $${file} ${DOCDIR}/tutorial; \
+ done
+
+.include "../postgresql73-lib/buildlink3.mk"
+.include "../../time/py-mxDateTime/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r a97f6eb55f28 -r 9ad968631efc databases/py-postgresql73/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-postgresql73/PLIST Sat Jul 24 22:26:44 2004 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:26:44 recht Exp $
+${PYSITELIB}/_pgmodule.so
+${PYSITELIB}/pg.py
+${PYSITELIB}/pg.pyc
+${PYSITELIB}/pg.pyo
+${PYSITELIB}/pgdb.py
+${PYSITELIB}/pgdb.pyc
+${PYSITELIB}/pgdb.pyo
+share/doc/${PYPKGPREFIX}-postgresql/README
+share/doc/${PYPKGPREFIX}-postgresql/tutorial/advanced.py
+share/doc/${PYPKGPREFIX}-postgresql/tutorial/basics.py
+share/doc/${PYPKGPREFIX}-postgresql/tutorial/func.py
+share/doc/${PYPKGPREFIX}-postgresql/tutorial/syscat.py
+@dirrm share/doc/${PYPKGPREFIX}-postgresql/tutorial
+@dirrm share/doc/${PYPKGPREFIX}-postgresql
Home |
Main Index |
Thread Index |
Old Index