Switch sphinx to versioned deps.diff -r1.7 -r1.8 pkgsrc/devel/py-requests-mock/Makefile
(adam)
@@ -1,30 +1,32 @@ | @@ -1,30 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2019/09/02 07:34:54 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2019/10/21 21:45:40 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= requests-mock-1.7.0 | 3 | DISTNAME= requests-mock-1.7.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= devel www python | 5 | CATEGORIES= devel www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-mock/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests-mock/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://requests-mock.readthedocs.org/ | 9 | HOMEPAGE= https://requests-mock.readthedocs.org/ | |
10 | COMMENT= Mock out responses from the requests package | 10 | COMMENT= Mock out responses from the requests package | |
11 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.3:../../devel/py-requests | 13 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.3:../../devel/py-requests | |
14 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | 14 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | |
15 | BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr | 15 | BUILD_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr | |
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-purl-[0-9]*:../../www/py-purl | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-purl-[0-9]*:../../www/py-purl | |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.1.2:../../textproc/py-sphinx | |||
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | 19 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |
21 | TEST_DEPENDS+= ${PYPKGPREFIX}-testrepository>=0.0.18:../../devel/py-testrepository | 20 | TEST_DEPENDS+= ${PYPKGPREFIX}-testrepository>=0.0.18:../../devel/py-testrepository | |
22 | TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools | 21 | TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools | |
23 | 22 | |||
24 | USE_LANGUAGES= # none | 23 | USE_LANGUAGES= # none | |
25 | 24 | |||
25 | PYTHON_VERSIONED_DEPENDENCIES= sphinx:test | |||
26 | ||||
26 | do-test: | 27 | do-test: | |
27 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests | 28 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests | |
28 | 29 | |||
29 | .include "../../lang/python/egg.mk" | 30 | .include "../../lang/python/egg.mk" | |
31 | .include "../../lang/python/versioned_dependencies.mk" | |||
30 | .include "../../mk/bsd.pkg.mk" | 32 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: options.mk,v 1.15 2019/09/02 13:19:37 adam Exp $ | 1 | # $NetBSD: options.mk,v 1.16 2019/10/21 21:45:40 adam Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.py-trytond | |
4 | PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx | 4 | PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx | |
5 | PKG_SUGGESTED_OPTIONS+= psycopg pytz simplejson sphinx | 5 | PKG_SUGGESTED_OPTIONS+= psycopg pytz simplejson sphinx | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | # XXX: Supports unoconv http://dag.wieers.com/home-made/unoconv/) option and | 9 | # XXX: Supports unoconv http://dag.wieers.com/home-made/unoconv/) option and | |
10 | # XXX: python-Levenshtein (http://github.com/miohtama/python-Levenshtein) option | 10 | # XXX: python-Levenshtein (http://github.com/miohtama/python-Levenshtein) option | |
11 | 11 | |||
12 | .if !empty(PKG_OPTIONS:Mcdecimal) | 12 | .if !empty(PKG_OPTIONS:Mcdecimal) | |
13 | PYTHON_VERSIONS_ACCEPTED= 27 # py-cdecimal is obsolete for that version and thus not available | 13 | PYTHON_VERSIONS_ACCEPTED= 27 # py-cdecimal is obsolete for that version and thus not available | |
14 | DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal | 14 | DEPENDS+= ${PYPKGPREFIX}-cdecimal-[0-9]*:../../math/py-cdecimal | |
@@ -26,15 +26,16 @@ DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../ | @@ -26,15 +26,16 @@ DEPENDS+= ${PYPKGPREFIX}-dot-[0-9]*:../ | |||
26 | .if !empty(PKG_OPTIONS:Mpsycopg) | 26 | .if !empty(PKG_OPTIONS:Mpsycopg) | |
27 | DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2:../../databases/py-psycopg2 | 27 | DEPENDS+= ${PYPKGPREFIX}-psycopg2>=2:../../databases/py-psycopg2 | |
28 | .endif | 28 | .endif | |
29 | 29 | |||
30 | .if !empty(PKG_OPTIONS:Mpytz) | 30 | .if !empty(PKG_OPTIONS:Mpytz) | |
31 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | 31 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | |
32 | .endif | 32 | .endif | |
33 | 33 | |||
34 | .if !empty(PKG_OPTIONS:Msimplejson) | 34 | .if !empty(PKG_OPTIONS:Msimplejson) | |
35 | DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson | 35 | DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson | |
36 | .endif | 36 | .endif | |
37 | 37 | |||
38 | .if !empty(PKG_OPTIONS:Msphinx) | 38 | .if !empty(PKG_OPTIONS:Msphinx) | |
39 | DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | 39 | PYTHON_VERSIONED_DEPENDENCIES= sphinx | |
40 | .include "../../lang/python/versioned_dependencies.mk" | |||
40 | .endif | 41 | .endif |
@@ -1,49 +1,50 @@ | @@ -1,49 +1,50 @@ | |||
1 | # $NetBSD: Makefile,v 1.217 2019/08/22 12:23:05 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.218 2019/10/21 21:45:39 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= qemu-4.1.0 | 3 | DISTNAME= qemu-4.1.0 | |
4 | PKGREVISION= 1 | 4 | PKGREVISION= 1 | |
5 | CATEGORIES= emulators | 5 | CATEGORIES= emulators | |
6 | MASTER_SITES= https://download.qemu.org/ | 6 | MASTER_SITES= https://download.qemu.org/ | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.qemu-project.org/ | 10 | HOMEPAGE= http://www.qemu-project.org/ | |
11 | COMMENT= CPU emulator using dynamic translation | 11 | COMMENT= CPU emulator using dynamic translation | |
12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd | 12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd | |
13 | 13 | |||
14 | USE_CURSES= resize_term wide | 14 | USE_CURSES= resize_term wide | |
15 | USE_LANGUAGES+= c c++ | 15 | USE_LANGUAGES+= c c++ | |
16 | USE_TOOLS+= bison flex gmake makeinfo perl:build pod2man pkg-config | 16 | USE_TOOLS+= bison flex gmake makeinfo perl:build pod2man pkg-config | |
17 | FAKE_NCURSES= yes | 17 | FAKE_NCURSES= yes | |
18 | UNLIMIT_RESOURCES= datasize | 18 | UNLIMIT_RESOURCES= datasize | |
19 | HAS_CONFIGURE= yes | 19 | HAS_CONFIGURE= yes | |
20 | 20 | |||
21 | GMAKE_REQD= 4.1 # needed for docs | 21 | GMAKE_REQD= 4.1 # needed for docs | |
22 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | 22 | ||
23 | PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool | |||
23 | 24 | |||
24 | SUBST_CLASSES+= prefix | 25 | SUBST_CLASSES+= prefix | |
25 | SUBST_STAGE.prefix= pre-configure | 26 | SUBST_STAGE.prefix= pre-configure | |
26 | SUBST_MESSAGE.prefix= Setting PREFIX | 27 | SUBST_MESSAGE.prefix= Setting PREFIX | |
27 | SUBST_FILES.prefix+= configure | 28 | SUBST_FILES.prefix+= configure | |
28 | SUBST_VARS.prefix+= PREFIX | 29 | SUBST_VARS.prefix+= PREFIX | |
29 | 30 | |||
30 | SUBST_CLASSES+= sphinx-build | 31 | SUBST_CLASSES+= sphinx-build | |
31 | SUBST_STAGE.sphinx-build= pre-configure | 32 | SUBST_STAGE.sphinx-build= pre-configure | |
32 | SUBST_MESSAGE.sphinx-build= Fix hardcoded sphinx-build | 33 | SUBST_MESSAGE.sphinx-build= Fix hardcoded sphinx-build | |
33 | SUBST_FILES.sphinx-build+= Makefile configure | 34 | SUBST_FILES.sphinx-build+= Makefile configure | |
34 | SUBST_FILES.sphinx-build+= roms/skiboot/doc/Makefile | 35 | SUBST_FILES.sphinx-build+= roms/skiboot/doc/Makefile | |
35 | SUBST_FILES.sphinx-build+= roms/u-boot/Documentation/Makefile | 36 | SUBST_FILES.sphinx-build+= roms/u-boot/Documentation/Makefile | |
36 | SUBST_SED.sphinx-build+= -e 's/sphinx-build/sphinx-build${PYVERSSUFFIX}/g' | 37 | SUBST_SED.sphinx-build+= -e 's/sphinx-build/sphinx-build-${PYVERSSUFFIX}/g' | |
37 | 38 | |||
38 | .include "options.mk" | 39 | .include "options.mk" | |
39 | 40 | |||
40 | .include "../../mk/bsd.prefs.mk" | 41 | .include "../../mk/bsd.prefs.mk" | |
41 | 42 | |||
42 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 43 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
43 | CONFIGURE_ARGS+= --interp-prefix=${PREFIX}/share/qemu | 44 | CONFIGURE_ARGS+= --interp-prefix=${PREFIX}/share/qemu | |
44 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | 45 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |
45 | CONFIGURE_ARGS+= --python=${PYTHONBIN} | 46 | CONFIGURE_ARGS+= --python=${PYTHONBIN} | |
46 | CONFIGURE_ARGS+= --smbd=${PREFIX}/sbin/smbd | 47 | CONFIGURE_ARGS+= --smbd=${PREFIX}/sbin/smbd | |
47 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | 48 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | |
48 | CONFIGURE_ARGS+= --enable-curses | 49 | CONFIGURE_ARGS+= --enable-curses | |
49 | CONFIGURE_ARGS+= --enable-docs | 50 | CONFIGURE_ARGS+= --enable-docs | |
@@ -144,20 +145,21 @@ post-install: | @@ -144,20 +145,21 @@ post-install: | |||
144 | 145 | |||
145 | # On Darwin, qemu uses Cocoa and CoreAudio | 146 | # On Darwin, qemu uses Cocoa and CoreAudio | |
146 | .if ${OPSYS} != "Darwin" | 147 | .if ${OPSYS} != "Darwin" | |
147 | .include "../../mk/oss.buildlink3.mk" | 148 | .include "../../mk/oss.buildlink3.mk" | |
148 | .endif | 149 | .endif | |
149 | .include "../../archivers/lzo/buildlink3.mk" | 150 | .include "../../archivers/lzo/buildlink3.mk" | |
150 | .include "../../devel/glib2/buildlink3.mk" | 151 | .include "../../devel/glib2/buildlink3.mk" | |
151 | .include "../../devel/jemalloc/buildlink3.mk" | 152 | .include "../../devel/jemalloc/buildlink3.mk" | |
152 | .include "../../devel/snappy/buildlink3.mk" | 153 | .include "../../devel/snappy/buildlink3.mk" | |
153 | .include "../../devel/zlib/buildlink3.mk" | 154 | .include "../../devel/zlib/buildlink3.mk" | |
154 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 155 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
155 | .include "../../graphics/png/buildlink3.mk" | 156 | .include "../../graphics/png/buildlink3.mk" | |
156 | .include "../../lang/python/extension.mk" | 157 | .include "../../lang/python/extension.mk" | |
158 | .include "../../lang/python/versioned_dependencies.mk" | |||
157 | .include "../../security/libgcrypt/buildlink3.mk" | 159 | .include "../../security/libgcrypt/buildlink3.mk" | |
158 | .include "../../www/curl/buildlink3.mk" | 160 | .include "../../www/curl/buildlink3.mk" | |
159 | .include "../../x11/pixman/buildlink3.mk" | 161 | .include "../../x11/pixman/buildlink3.mk" | |
160 | .include "../../mk/curses.buildlink3.mk" | 162 | .include "../../mk/curses.buildlink3.mk" | |
161 | .include "../../mk/jpeg.buildlink3.mk" | 163 | .include "../../mk/jpeg.buildlink3.mk" | |
162 | .include "../../mk/pthread.buildlink3.mk" | 164 | .include "../../mk/pthread.buildlink3.mk" | |
163 | .include "../../mk/bsd.pkg.mk" | 165 | .include "../../mk/bsd.pkg.mk" |