Unbreak after update py-sphinx.

Noticed nigel@ and naddy@.

ok nigel@, ajocoutot@
This commit is contained in:
shadchin 2016-04-16 16:35:59 +00:00
parent 4ec5a97611
commit 83b2c42829

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.51 2016/04/15 08:53:49 shadchin Exp $
# $OpenBSD: Makefile,v 1.52 2016/04/16 16:35:59 shadchin Exp $
COMMENT = Python interface to MySQL
MODPY_EGG_VERSION = 1.2.5
DISTNAME = MySQL-python-${MODPY_EGG_VERSION}
PKGNAME = py-mysql-${MODPY_EGG_VERSION}
REVISION = 3
REVISION = 4
CATEGORIES = databases
@ -37,7 +37,9 @@ post-extract:
DOCSRC = ${WRKSRC}/doc
post-build:
cd ${DOCSRC} && ${LOCALBASE}/bin/sphinx-build -N . _build/html
${MODPY_CMD} build_ext --inplace
cd ${DOCSRC} && PYTHONPATH=${WRKSRC} \
${LOCALBASE}/bin/sphinx-build -N . _build/html
DOCS = ${PREFIX}/share/doc/py-mysql