Enable the python query server, enable regress interactively and bump package.

This commit is contained in:
fgsch 2009-11-03 00:37:41 +00:00
parent 20eb3476c5
commit e495deb5b8
3 changed files with 25 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2009/08/01 03:20:19 fgsch Exp $
# $OpenBSD: Makefile,v 1.4 2009/11/03 00:37:41 fgsch Exp $
COMMENT = Python library for working with CouchDB
MODPY_EGG_VERSION = 0.6
DISTNAME = CouchDB-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
PKGNAME = py-${DISTNAME}p0
CATEGORIES = databases devel
@ -22,9 +22,21 @@ MODULES = lang/python
RUN_DEPENDS = ::www/py-httplib2 \
::devel/py-simplejson
REGRESS_DEPENDS = ::databases/apache-couchdb \
:${PKGNAME}:${BASE_PKGPATH}
MODPY_SETUPTOOLS = Yes
NO_REGRESS = Yes
# To run the tests, start apache-couchdb using the default configuration.
# Alternatively, the tests will use the COUCHDB_URI environment variable
# to connect to the database.
REGRESS_IS_INTERACTIVE = Yes
post-install:
$(INSTALL_DATA_DIR) ${PREFIX}/share/examples/py-couchdb
${SUBST_CMD} -c ${FILESDIR}/python.ini \
${PREFIX}/share/examples/py-couchdb/python.ini
@chown ${SHAREOWN}:${SHAREGRP} \
${PREFIX}/share/examples/py-couchdb/python.ini
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
; $OpenBSD: python.ini,v 1.1 2009/11/03 00:37:41 fgsch Exp $
[query_servers]
python = ${TRUEPREFIX}/bin/couchpy

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2009/08/01 03:20:19 fgsch Exp $
@comment $OpenBSD: PLIST,v 1.3 2009/11/03 00:37:41 fgsch Exp $
bin/couchdb-dump
bin/couchdb-load
bin/couchdb-replicate
@ -37,3 +37,8 @@ lib/python${MODPY_VERSION}/site-packages/couchdb/tools/replication_helper_test.p
lib/python${MODPY_VERSION}/site-packages/couchdb/tools/replication_helper_test.pyc
lib/python${MODPY_VERSION}/site-packages/couchdb/view.py
lib/python${MODPY_VERSION}/site-packages/couchdb/view.pyc
share/examples/py-couchdb/
share/examples/py-couchdb/python.ini
@sample ${SYSCONFDIR}/couchdb/
@sample ${SYSCONFDIR}/couchdb/local.d/
@sample ${SYSCONFDIR}/couchdb/local.d/python.ini