pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc *: use versioned_dependencies for py-twisted



details:   https://anonhg.NetBSD.org/pkgsrc/rev/febc575e4744
branches:  trunk
changeset: 373812:febc575e4744
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Feb 13 08:53:42 2022 +0000

description:
*: use versioned_dependencies for py-twisted

diffstat:

 audio/py-musique/Makefile          |  4 ++--
 converters/py-zfec/Makefile        |  6 ++++--
 databases/py-carbon/Makefile       |  4 ++--
 devel/py-buildbot-worker/Makefile  |  6 ++++--
 devel/py-doctor/Makefile           |  4 ++--
 devel/py-jersey/Makefile           |  6 +++---
 devel/py-pyutil/Makefile           |  6 ++++--
 devel/py-setuptools_trial/Makefile |  6 ++++--
 devel/py-thrift/Makefile           |  6 ++++--
 devel/py-treq/Makefile             |  6 ++++--
 devel/py-tubes/Makefile            |  6 ++++--
 devel/py-txgithub/Makefile         |  6 ++++--
 devel/py-txrequests/Makefile       |  6 ++++--
 net/coherence/Makefile             |  4 ++--
 net/py-foolscap/Makefile           |  6 ++++--
 net/py-twisted-docs/Makefile       |  4 +++-
 net/py-txamqp/Makefile             |  6 ++++--
 news/hellanzb/Makefile             |  4 ++--
 textproc/py-jsonschema/Makefile    |  4 ++--
 www/py-klein/Makefile              |  6 ++++--
 www/py-nevow/Makefile              |  4 ++--
 21 files changed, 68 insertions(+), 42 deletions(-)

diffs (truncated from 466 to 300 lines):

diff -r e137f3c94a30 -r febc575e4744 audio/py-musique/Makefile
--- a/audio/py-musique/Makefile Sun Feb 13 08:52:06 2022 +0000
+++ b/audio/py-musique/Makefile Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2022/01/22 15:49:05 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2022/02/13 08:53:42 wiz Exp $
 
 DISTNAME=      pymusique-0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -16,7 +16,7 @@
 NO_SRC_ON_CDROM=       ${RESTRICTED}
 NO_BIN_ON_CDROM=       ${RESTRICTED}
 
-DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted19
 DEPENDS+=      ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
 DEPENDS+=      ${PYPKGPREFIX}-mcrypt-[0-9]*:../../security/py-mcrypt
 DEPENDS+=      ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2
diff -r e137f3c94a30 -r febc575e4744 converters/py-zfec/Makefile
--- a/converters/py-zfec/Makefile       Sun Feb 13 08:52:06 2022 +0000
+++ b/converters/py-zfec/Makefile       Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2022/01/05 15:40:59 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2022/02/13 08:53:42 wiz Exp $
 
 DISTNAME=      zfec-1.5.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,7 +14,8 @@
 DEPENDS+=      ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
 DEPENDS+=      ${PYPKGPREFIX}-pyutil>=3.0.0:../../devel/py-pyutil
 TEST_DEPENDS+= ${PYPKGPREFIX}-setuptools_trial-[0-9]*:../../devel/py-setuptools_trial
-TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted:test
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
@@ -34,5 +35,6 @@
 .endfor
 
 .include "../../lang/python/application.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 databases/py-carbon/Makefile
--- a/databases/py-carbon/Makefile      Sun Feb 13 08:52:06 2022 +0000
+++ b/databases/py-carbon/Makefile      Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/01/10 21:56:04 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/02/13 08:53:42 wiz Exp $
 
 DISTNAME=      carbon-0.9.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,7 @@
 COMMENT=       Backend storage application for graphite
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted19
 DEPENDS+=      ${PYPKGPREFIX}-whisper>=${PKGVERSION_NOREV}:../../databases/py-whisper
 
 USE_LANGUAGES= # none
diff -r e137f3c94a30 -r febc575e4744 devel/py-buildbot-worker/Makefile
--- a/devel/py-buildbot-worker/Makefile Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-buildbot-worker/Makefile Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:02 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/02/13 08:53:43 wiz Exp $
 
 DISTNAME=      buildbot-worker-2.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,10 +12,11 @@
 LICENSE=       gnu-gpl-v2
 
 DEPENDS+=      ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
-DEPENDS+=      ${PYPKGPREFIX}-twisted>=17.9.0:../../net/py-twisted
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_trial-[0-9]*:../../devel/py-setuptools_trial
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted
+
 USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
@@ -26,4 +27,5 @@
        ${MV} buildbot_worker_windows_service buildbot_worker_windows_service-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 devel/py-doctor/Makefile
--- a/devel/py-doctor/Makefile  Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-doctor/Makefile  Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2022/01/04 20:53:01 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2022/02/13 08:53:43 wiz Exp $
 
 DISTNAME=      pydoctor-16.3.0
 PKGNAME=       ${DISTNAME:S/py/${PYPKGPREFIX}-/}
@@ -12,7 +12,7 @@
 LICENSE=       mit
 
 DEPENDS+=      epydoc-[0-9]*:../../devel/epydoc
-DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted19
 
 USE_LANGUAGES= # none
 
diff -r e137f3c94a30 -r febc575e4744 devel/py-jersey/Makefile
--- a/devel/py-jersey/Makefile  Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-jersey/Makefile  Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2022/01/04 20:53:13 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2022/02/13 08:53:43 wiz Exp $
 
 DISTNAME=      jersey-0.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,8 +11,8 @@
 COMMENT=       Framework for building Twisted Python command-line interfaces
 LICENSE=       modified-bsd
 
-#BUILD_DEPENDS+=       ${PYPKGPREFIX}-twisted>=10.0.0:../../net/py-twisted
-DEPENDS+=              ${PYPKGPREFIX}-twisted>=10.0.0:../../net/py-twisted
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-twisted>=10.0.0:../../net/py-twisted19
+DEPENDS+=              ${PYPKGPREFIX}-twisted>=10.0.0:../../net/py-twisted19
 DEPENDS+=              ${PYPKGPREFIX}-automat-[0-9]*:../../devel/py-automat
 
 PYTHON_VERSIONS_ACCEPTED=      27 # as of 0.1.5
diff -r e137f3c94a30 -r febc575e4744 devel/py-pyutil/Makefile
--- a/devel/py-pyutil/Makefile  Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-pyutil/Makefile  Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2022/01/05 15:41:07 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2022/02/13 08:53:43 wiz Exp $
 
 DISTNAME=      pyutil-3.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,7 +13,8 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-simplejson>=2.1.0:../../converters/py-simplejson
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=1.3.0:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-twisted>=15.5.0:../../net/py-twisted
+
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted:test
 
 USE_LANGUAGES= # none
 
@@ -25,4 +26,5 @@
        ${FIND} ${WRKSRC} -name __pycache__ -or -name '*.pyc' -exec ${RM} -R {} +
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 devel/py-setuptools_trial/Makefile
--- a/devel/py-setuptools_trial/Makefile        Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-setuptools_trial/Makefile        Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2022/01/04 20:53:39 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2022/02/13 08:53:43 wiz Exp $
 
 DISTNAME=      setuptools_trial-0.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,11 +11,12 @@
 COMMENT=       Setuptools plugin for Twisted-based unit tests
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-twisted>=2.4.0:../../net/py-twisted
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-virtualenv-[0-9]*:../../devel/py-test-virtualenv
 TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
 
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted
+
 USE_LANGUAGES= # none
 
 .include "../../lang/python/pyversion.mk"
@@ -24,4 +25,5 @@
 .endif
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 devel/py-thrift/Makefile
--- a/devel/py-thrift/Makefile  Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-thrift/Makefile  Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:53:44 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/02/13 08:53:43 wiz Exp $
 
 PKGREVISION= 1
 .include "../../devel/thrift/Makefile.version"
@@ -11,10 +11,12 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.7.2:../../lang/py-six
 TEST_DEPENDS+= ${PYPKGPREFIX}-scons-[0-9]*:../../devel/scons
-TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted:test
 
 USE_LANGUAGES= c c++
 PYSETUPSUBDIR= lib/py
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 devel/py-treq/Makefile
--- a/devel/py-treq/Makefile    Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-treq/Makefile    Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/02/05 14:26:37 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/02/13 08:53:43 wiz Exp $
 
 DISTNAME=      treq-22.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,9 +14,11 @@
 DEPENDS+=      ${PYPKGPREFIX}-incremental-[0-9]*:../../devel/py-incremental
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-twisted>=16.4.0:../../net/py-twisted
+
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted
 
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 devel/py-tubes/Makefile
--- a/devel/py-tubes/Makefile   Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-tubes/Makefile   Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:45 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/13 08:53:43 wiz Exp $
 
 GITHUB_PROJECT=        tubes
 GITHUB_TAG=    v0.2.0
@@ -16,10 +16,12 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-characteristic-[0-9]*:../../devel/py-characteristic
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted
 
 WRKSRC=                ${WRKDIR}/tubes-0.2.0
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 devel/py-txgithub/Makefile
--- a/devel/py-txgithub/Makefile        Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-txgithub/Makefile        Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:53:46 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/02/13 08:53:43 wiz Exp $
 
 DISTNAME=      txgithub-15.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,8 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
-DEPENDS+=      ${PYPKGPREFIX}-twisted>=12.3.0:../../net/py-twisted
+
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted
 
 USE_LANGUAGES= # none
 
@@ -22,4 +23,5 @@
                ${MV} gist gist-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 devel/py-txrequests/Makefile
--- a/devel/py-txrequests/Makefile      Sun Feb 13 08:52:06 2022 +0000
+++ b/devel/py-txrequests/Makefile      Sun Feb 13 08:53:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:53:46 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/02/13 08:53:44 wiz Exp $
 
 DISTNAME=      txrequests-0.9.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,9 +12,11 @@
 LICENSE=       apache-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-requests>=1.2.0:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-twisted>=9.0.0:../../net/py-twisted
+
+PYTHON_VERSIONED_DEPENDENCIES+=        twisted
 
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e137f3c94a30 -r febc575e4744 net/coherence/Makefile
--- a/net/coherence/Makefile    Sun Feb 13 08:52:06 2022 +0000
+++ b/net/coherence/Makefile    Sun Feb 13 08:53:42 2022 +0000



Home | Main Index | Thread Index | Old Index