pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python Make sure both the searched package and th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/64662a05db8a
branches: trunk
changeset: 386997:64662a05db8a
user: nia <nia%pkgsrc.org@localhost>
date: Wed Oct 19 13:42:46 2022 +0000
description:
Make sure both the searched package and the found package match.
diffstat:
lang/python/versioned_dependencies.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8a3a54beb82a -r 64662a05db8a lang/python/versioned_dependencies.mk
--- a/lang/python/versioned_dependencies.mk Wed Oct 19 13:37:21 2022 +0000
+++ b/lang/python/versioned_dependencies.mk Wed Oct 19 13:42:46 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: versioned_dependencies.mk,v 1.87 2022/10/19 13:37:21 nia Exp $
+# $NetBSD: versioned_dependencies.mk,v 1.88 2022/10/19 13:42:46 nia Exp $
#
# This file determines which separate distribution of a Python
# package is used as dependency, depending on the Python version
@@ -49,7 +49,7 @@
pkg:= ${pattern:C/:.*//}
type:= ${pattern:C/[^:]*//}
. for name py2dir py3dir in ${_SUPPORTED_PACKAGES}
-. if "${pkg}" == "cryptography"
+. if "${pkg}" == "${name}" && "${pkg}" == "cryptography"
# Special due to Rust handling.
_PKG_MATCHED= yes
. include "../../security/py-cryptography/dependency.mk"
Home |
Main Index |
Thread Index |
Old Index