pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc *: propagate py-unpaddedbase64's python 3.x restriction



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cdd6f7dfa5b6
branches:  trunk
changeset: 372522:cdd6f7dfa5b6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 26 07:19:03 2022 +0000

description:
*: propagate py-unpaddedbase64's python 3.x restriction

diffstat:

 chat/matrix-synapse/Makefile    |   6 +++---
 security/py-signedjson/Makefile |  12 ++++--------
 2 files changed, 7 insertions(+), 11 deletions(-)

diffs (58 lines):

diff -r 94c7476b7399 -r cdd6f7dfa5b6 chat/matrix-synapse/Makefile
--- a/chat/matrix-synapse/Makefile      Wed Jan 26 00:24:47 2022 +0000
+++ b/chat/matrix-synapse/Makefile      Wed Jan 26 07:19:03 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2022/01/05 15:40:57 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2022/01/26 07:19:03 wiz Exp $
 
 DISTNAME=      matrix-synapse-1.48.0
 PKGREVISION=   2
@@ -42,8 +42,9 @@
 DEPENDS+=      ${PYPKGPREFIX}-ijson>=3.0:../../devel/py-ijson
 DEPENDS+=      ${PYPKGPREFIX}-psycopg2>=2.7:../../databases/py-psycopg2
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=3.5.0:../../textproc/py-lxml
+DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
 
-PYTHON_VERSIONED_DEPENDENCIES= Pillow
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-unpaddedbase64
 
 USE_PKG_RESOURCES=     yes
 
@@ -85,5 +86,4 @@
 BUILD_DEFS+=                   SYNAPSE_DEFAULT_CREATOR_PL
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 94c7476b7399 -r cdd6f7dfa5b6 security/py-signedjson/Makefile
--- a/security/py-signedjson/Makefile   Wed Jan 26 00:24:47 2022 +0000
+++ b/security/py-signedjson/Makefile   Wed Jan 26 07:19:03 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/01/25 09:05:11 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/26 07:19:03 wiz Exp $
 
 DISTNAME=      signedjson-1.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,19 +11,15 @@
 LICENSE=       apache-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-canonicaljson>=1.0.0:../../devel/py-canonicaljson
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
 DEPENDS+=      ${PYPKGPREFIX}-nacl>=0.3.0:../../security/py-nacl
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.5:../../devel/py-typing-extensions
 DEPENDS+=      ${PYPKGPREFIX}-unpaddedbase64>=1.0.1:../../devel/py-unpaddedbase64
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
-.endif
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 
-PYTHON_VERSIONED_DEPENDENCIES= setuptools_scm:build
-PYTHON_VERSIONED_DEPENDENCIES+=        importlib-metadata
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-unpaddedbase64
 
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index