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.
This commit is contained in:
parent
1de52c5fda
commit
3986e98799
4 changed files with 62 additions and 0 deletions
4
databases/py-postgresql/DESCR
Normal file
4
databases/py-postgresql/DESCR
Normal file
|
@ -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.
|
39
databases/py-postgresql/Makefile
Normal file
39
databases/py-postgresql/Makefile
Normal file
|
@ -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"
|
||||
|
15
databases/py-postgresql/PLIST
Normal file
15
databases/py-postgresql/PLIST
Normal file
|
@ -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
|
4
databases/py-postgresql/distinfo
Normal file
4
databases/py-postgresql/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue