| @@ -1,50 +1,50 @@ | | | @@ -1,50 +1,50 @@ |
1 | # $NetBSD: Makefile,v 1.70 2020/02/17 20:25:43 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.71 2020/02/21 09:07:44 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= Sphinx-2.4.1 | | 3 | DISTNAME= Sphinx-2.4.2 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} |
5 | CATEGORIES= textproc python | | 5 | CATEGORIES= textproc python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/} |
7 | | | 7 | |
8 | MAINTAINER= markd@NetBSD.org | | 8 | MAINTAINER= markd@NetBSD.org |
9 | HOMEPAGE= https://www.sphinx-doc.org/ | | 9 | HOMEPAGE= https://www.sphinx-doc.org/ |
10 | COMMENT= Python documentation generator | | 10 | COMMENT= Python documentation generator |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | DEPENDS+= ${PYPKGPREFIX}-alabaster>=0.7:../../textproc/py-alabaster | | 13 | DEPENDS+= ${PYPKGPREFIX}-alabaster>=0.7:../../textproc/py-alabaster |
14 | DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel | | 14 | DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel |
15 | DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils | | 15 | DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils |
16 | DEPENDS+= ${PYPKGPREFIX}-imagesize-[0-9]*:../../graphics/py-imagesize | | 16 | DEPENDS+= ${PYPKGPREFIX}-imagesize-[0-9]*:../../graphics/py-imagesize |
17 | DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.3:../../textproc/py-jinja2 | | 17 | DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.3:../../textproc/py-jinja2 |
18 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging | | 18 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging |
19 | DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments | | 19 | DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments |
20 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | | 20 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz |
21 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests | | 21 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests |
22 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | | 22 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools |
23 | DEPENDS+= ${PYPKGPREFIX}-snowballstemmer>=1.1:../../textproc/py-snowballstemmer | | 23 | DEPENDS+= ${PYPKGPREFIX}-snowballstemmer>=1.1:../../textproc/py-snowballstemmer |
24 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp | | 24 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp |
25 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp | | 25 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp |
26 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath | | 26 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath |
27 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-htmlhelp-[0-9]*:../../textproc/py-sphinxcontrib-htmlhelp | | 27 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-htmlhelp-[0-9]*:../../textproc/py-sphinxcontrib-htmlhelp |
28 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml-[0-9]*:../../textproc/py-sphinxcontrib-serializinghtml | | 28 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml-[0-9]*:../../textproc/py-sphinxcontrib-serializinghtml |
29 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp | | 29 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp |
30 | TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib | | 30 | TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib |
31 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | | 31 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test |
32 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | | 32 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov |
33 | | | 33 | |
34 | USE_LANGUAGES= # none | | 34 | USE_LANGUAGES= # none |
35 | USE_TOOLS+= makeinfo | | 35 | USE_TOOLS+= makeinfo |
36 | | | 36 | |
37 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 37 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
38 | | | 38 | |
39 | do-test: | | 39 | do-test: |
40 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests | | 40 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests |
41 | | | 41 | |
42 | post-install: | | 42 | post-install: |
43 | cd ${DESTDIR}${PREFIX}/bin && \ | | 43 | cd ${DESTDIR}${PREFIX}/bin && \ |
44 | ${MV} sphinx-apidoc sphinx-apidoc-${PYVERSSUFFIX} && \ | | 44 | ${MV} sphinx-apidoc sphinx-apidoc-${PYVERSSUFFIX} && \ |
45 | ${MV} sphinx-autogen sphinx-autogen-${PYVERSSUFFIX} && \ | | 45 | ${MV} sphinx-autogen sphinx-autogen-${PYVERSSUFFIX} && \ |
46 | ${MV} sphinx-build sphinx-build-${PYVERSSUFFIX} && \ | | 46 | ${MV} sphinx-build sphinx-build-${PYVERSSUFFIX} && \ |
47 | ${MV} sphinx-quickstart sphinx-quickstart-${PYVERSSUFFIX} || ${TRUE} | | 47 | ${MV} sphinx-quickstart sphinx-quickstart-${PYVERSSUFFIX} || ${TRUE} |
48 | | | 48 | |
49 | .include "../../lang/python/egg.mk" | | 49 | .include "../../lang/python/egg.mk" |
50 | .include "../../mk/bsd.pkg.mk" | | 50 | .include "../../mk/bsd.pkg.mk" |