pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-sphinx Use REPLACE_PYTHON to fix /usr/bin/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/971e7c05d61c
branches:  trunk
changeset: 610083:971e7c05d61c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Oct 17 22:14:44 2012 +0000

description:
Use REPLACE_PYTHON to fix /usr/bin/env usage.
Allow python-3.x.
Bump PKGREVISION.

diffstat:

 textproc/py-sphinx/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 47014caba15d -r 971e7c05d61c textproc/py-sphinx/Makefile
--- a/textproc/py-sphinx/Makefile       Wed Oct 17 18:36:42 2012 +0000
+++ b/textproc/py-sphinx/Makefile       Wed Oct 17 22:14:44 2012 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index