pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Switch sphinx to versioned deps.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12432b15e8d6
branches:  trunk
changeset: 416239:12432b15e8d6
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 21 21:45:39 2019 +0000

description:
Switch sphinx to versioned deps.

diffstat:

 devel/py-requests-mock/Makefile |  6 ++++--
 devel/py-trytond/options.mk     |  5 +++--
 emulators/qemu/Makefile         |  8 +++++---
 3 files changed, 12 insertions(+), 7 deletions(-)

diffs (81 lines):

diff -r 35e29f257b77 -r 12432b15e8d6 devel/py-requests-mock/Makefile
--- a/devel/py-requests-mock/Makefile   Mon Oct 21 21:42:22 2019 +0000
+++ b/devel/py-requests-mock/Makefile   Mon Oct 21 21:45:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/09/02 07:34:54 adam Exp $
+# $NetBSD: Makefile,v 1.8 2019/10/21 21:45:40 adam Exp $
 
 DISTNAME=      requests-mock-1.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,15 +16,17 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-purl-[0-9]*:../../www/py-purl
-TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.1.2:../../textproc/py-sphinx
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-testrepository>=0.0.18:../../devel/py-testrepository
 TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONED_DEPENDENCIES= sphinx:test
+
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 35e29f257b77 -r 12432b15e8d6 devel/py-trytond/options.mk
--- a/devel/py-trytond/options.mk       Mon Oct 21 21:42:22 2019 +0000
+++ b/devel/py-trytond/options.mk       Mon Oct 21 21:45:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2019/09/02 13:19:37 adam Exp $
+# $NetBSD: options.mk,v 1.16 2019/10/21 21:45:40 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.py-trytond
 PKG_SUPPORTED_OPTIONS= cdecimal mysql pydot psycopg pytz simplejson sphinx
@@ -36,5 +36,6 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Msphinx)
-DEPENDS+=              ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+PYTHON_VERSIONED_DEPENDENCIES= sphinx
+.include "../../lang/python/versioned_dependencies.mk"
 .endif
diff -r 35e29f257b77 -r 12432b15e8d6 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Mon Oct 21 21:42:22 2019 +0000
+++ b/emulators/qemu/Makefile   Mon Oct 21 21:45:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.217 2019/08/22 12:23:05 ryoon Exp $
+# $NetBSD: Makefile,v 1.218 2019/10/21 21:45:39 adam Exp $
 
 DISTNAME=      qemu-4.1.0
 PKGREVISION=   1
@@ -19,7 +19,8 @@
 HAS_CONFIGURE=         yes
 
 GMAKE_REQD=            4.1 # needed for docs
-TOOL_DEPENDS+=         ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
+PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
 
 SUBST_CLASSES+=                        prefix
 SUBST_STAGE.prefix=            pre-configure
@@ -33,7 +34,7 @@
 SUBST_FILES.sphinx-build+=     Makefile configure
 SUBST_FILES.sphinx-build+=     roms/skiboot/doc/Makefile
 SUBST_FILES.sphinx-build+=     roms/u-boot/Documentation/Makefile
-SUBST_SED.sphinx-build+=       -e 's/sphinx-build/sphinx-build${PYVERSSUFFIX}/g'
+SUBST_SED.sphinx-build+=       -e 's/sphinx-build/sphinx-build-${PYVERSSUFFIX}/g'
 
 .include "options.mk"
 
@@ -154,6 +155,7 @@
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../lang/python/extension.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .include "../../x11/pixman/buildlink3.mk"



Home | Main Index | Thread Index | Old Index