summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"