summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authordarcy <darcy@pkgsrc.org>2004-08-30 08:33:34 +0000
committerdarcy <darcy@pkgsrc.org>2004-08-30 08:33:34 +0000
commit3986e9879940bb3c684320a9d4a80a400c4ac548 (patch)
tree65054463a3c6d80cf34a57f96aecdfeaa46cb903 /databases
parent1de52c5fda3e3b07f77ce028376a98aae0b70de7 (diff)
downloadpkgsrc-3986e9879940bb3c684320a9d4a80a400c4ac548.tar.gz
Recreate files for py-postgresql. PyGreSQL has been moved back out of the
PostgreSQL tree and I have released this version that is no longer tied to a specific version of PostgreSQL.
Diffstat (limited to 'databases')
-rw-r--r--databases/py-postgresql/DESCR4
-rw-r--r--databases/py-postgresql/Makefile39
-rw-r--r--databases/py-postgresql/PLIST15
-rw-r--r--databases/py-postgresql/distinfo4
4 files changed, 62 insertions, 0 deletions
diff --git a/databases/py-postgresql/DESCR b/databases/py-postgresql/DESCR
new file mode 100644
index 00000000000..4a9c558b4ab
--- /dev/null
+++ b/databases/py-postgresql/DESCR
@@ -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 --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
new file mode 100644
index 00000000000..1d5d6f097e3
--- /dev/null
+++ b/databases/py-postgresql/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.36 2004/08/30 08:33:34 darcy Exp $
+
+DISTNAME= PyGreSQL-3.5
+PKGNAME= ${PYPKGPREFIX}-postgresql-3.5
+CATEGORIES= databases python
+MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= darcy@NetBSD.org
+HOMEPAGE= http://www.PyGreSQL.org/
+COMMENT= Python interface to PostgreSQL
+
+MAKE_ENV+= MANDIR=${LOCALBASE}/man
+MAKE_ENV+= BINDIR=${LOCALBASE}/bin
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+
+MAKEFILE= GNUmakefile
+MAKE_ENV+= INSTALLED_LIBPQ=1
+#MAKEFLAGS+= PYTHON_VERSION=${PYVERSSUFFIX}
+
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
+
+PYDISTUTILSPKG= yes
+PYBINMODULE= yes
+DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ for inst_file in ${WRKSRC}/tutorial/*.py; do \
+ ${INSTALL_DATA} $${inst_file} ${DOCDIR}/tutorial; \
+ done
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/databases/py-postgresql/PLIST b/databases/py-postgresql/PLIST
new file mode 100644
index 00000000000..130d8cf2f95
--- /dev/null
+++ b/databases/py-postgresql/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.6 2004/08/30 08:33:34 darcy Exp $
+${PYSITELIB}/_pg.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
diff --git a/databases/py-postgresql/distinfo b/databases/py-postgresql/distinfo
new file mode 100644
index 00000000000..5361130eb8d
--- /dev/null
+++ b/databases/py-postgresql/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.6 2004/08/30 08:33:34 darcy Exp $
+
+SHA1 (PyGreSQL-3.5.tgz) = b55e448540ec7a360720dfaf11d1f7d4c119a4d4
+Size (PyGreSQL-3.5.tgz) = 44884 bytes