Received: by mail.netbsd.org (Postfix, from userid 605) id B532384EA7; Wed, 19 Oct 2022 13:42:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E489D84D2C for ; Wed, 19 Oct 2022 13:42:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Pv4C5U4LDNaL for ; Wed, 19 Oct 2022 13:42:46 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 3ECEA84CF9 for ; Wed, 19 Oct 2022 13:42:46 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 32E41FA90; Wed, 19 Oct 2022 13:42:46 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1666186966202220" MIME-Version: 1.0 Date: Wed, 19 Oct 2022 13:42:46 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/lang/python To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20221019134246.32E41FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1666186966202220 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1666186966202220 Content-Disposition: inline Content-Length: 985 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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" --_----------=_1666186966202220--