pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/python



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Oct 19 13:42:46 UTC 2022

Modified Files:
        pkgsrc/lang/python: versioned_dependencies.mk

Log Message:
Make sure both the searched package and the found package match.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/lang/python/versioned_dependencies.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python/versioned_dependencies.mk
diff -u pkgsrc/lang/python/versioned_dependencies.mk:1.87 pkgsrc/lang/python/versioned_dependencies.mk:1.88
--- pkgsrc/lang/python/versioned_dependencies.mk:1.87   Wed Oct 19 13:37:21 2022
+++ pkgsrc/lang/python/versioned_dependencies.mk        Wed Oct 19 13:42:46 2022
@@ -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_MATCHED= no
 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