summaryrefslogtreecommitdiff
path: root/textproc/py-sphinx
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-10-17 22:14:44 +0000
committerwiz <wiz@pkgsrc.org>2012-10-17 22:14:44 +0000
commit14a58ba056a47ed9ad2aa13b874063789b7a2192 (patch)
tree55ed1ebd7dd441970d91172f6d6adb58038f39c4 /textproc/py-sphinx
parent3916d5bdbc8243c652a85c0e442e7f48f55bf9be (diff)
downloadpkgsrc-14a58ba056a47ed9ad2aa13b874063789b7a2192.tar.gz
Use REPLACE_PYTHON to fix /usr/bin/env usage.
Allow python-3.x. Bump PKGREVISION.
Diffstat (limited to 'textproc/py-sphinx')
-rw-r--r--textproc/py-sphinx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index 6aa86f08d45..12d7d9df242 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2012/04/23 16:53:12 drochner Exp $
+# $NetBSD: Makefile,v 1.17 2012/10/17 22:14:44 wiz Exp $
DISTNAME= Sphinx-1.1.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= http://pypi.python.org/packages/source/S/Sphinx/
@@ -18,10 +19,15 @@ DEPENDS+= ${PYPKGPREFIX}-pygments>=0.8:../../textproc/py-pygments
USE_LANGUAGES= #none
+PYTHON_VERSIONS_INCLUDE_3X= yes
+
+REPLACE_PYTHON+= sphinx/pycode/pgen2/token.py
+
#USE_TOOLS+= makeinfo
# also needs LaTeX with additional packages (tex-mdwtools, tex-parskip)
#do-test:
# cd ${WRKSRC}/tests && ${PYTHONBIN} run.py
+.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"