diff options
author | wiz <wiz@pkgsrc.org> | 2016-01-17 13:47:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-01-17 13:47:01 +0000 |
commit | a32394a3bbd3e18f9fe096d3ecdd87bbac363d9a (patch) | |
tree | 2d9d8ad8c8d584299d1ab3c565a57ebcd143b0d3 /textproc | |
parent | 3481e322a37070d5aed427d2b1cf4e78c926ca2b (diff) | |
download | pkgsrc-a32394a3bbd3e18f9fe096d3ecdd87bbac363d9a.tar.gz |
Add missing dependencies. Enable test target.
All tests now pass for me (python-3.5, NetBSD-7.99.25/amd64).
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-sphinx/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile index 2f138ba5cea..949fcd066ae 100644 --- a/textproc/py-sphinx/Makefile +++ b/textproc/py-sphinx/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.27 2016/01/15 14:24:41 darcy Exp $ +# $NetBSD: Makefile,v 1.28 2016/01/17 13:47:01 wiz Exp $ DISTNAME= Sphinx-1.3.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} +PKGREVISION= 1 CATEGORIES= textproc python MASTER_SITES= http://pypi.python.org/packages/source/S/Sphinx/ @@ -13,6 +14,14 @@ LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-docutils>=0.8.1:../../textproc/py-docutils DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.2:../../textproc/py-jinja2 DEPENDS+= ${PYPKGPREFIX}-pygments>=0.8:../../textproc/py-pygments +DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz +DEPENDS+= ${PYPKGPREFIX}-snowballstemmer-[0-9]*:../../textproc/py-snowballstemmer +DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme-[0-9]*:../../textproc/py-sphinx-rtd-theme +DEPENDS+= ${PYPKGPREFIX}-alabaster>=0.7:../../textproc/py-alabaster +DEPENDS+= ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +# test dependency +BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose USE_LANGUAGES= #none PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} @@ -20,10 +29,9 @@ FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} 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 +USE_TOOLS+= makeinfo +do-test: + cd ${WRKSRC}/tests && ${PYTHONBIN} run.py post-install: ${MV} ${DESTDIR}${PREFIX}/bin/sphinx-apidoc ${DESTDIR}${PREFIX}/bin/sphinx-apidoc${PYVERSSUFFIX} |