Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id A86EB1A923B for ; Tue, 26 Jan 2021 20:27:32 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id B6BD78519D; Tue, 26 Jan 2021 20:27:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EECE585195 for ; Tue, 26 Jan 2021 20:27:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id vGgXIG_aBu5O for ; Tue, 26 Jan 2021 20:27:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4EEAF8518C for ; Tue, 26 Jan 2021 20:27:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 41B22FA9D; Tue, 26 Jan 2021 20:27:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1611692850154160" MIME-Version: 1.0 Date: Tue, 26 Jan 2021 20:27:30 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-codespell To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20210126202730.41B22FA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1611692850154160 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Tue Jan 26 20:27:30 UTC 2021 Modified Files: pkgsrc/devel/py-codespell: Makefile Log Message: py-codespell: add missing dependency for python 2.7 package Add missing test dependency. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-codespell/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1611692850154160 Content-Disposition: inline Content-Length: 985 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-codespell/Makefile diff -u pkgsrc/devel/py-codespell/Makefile:1.3 pkgsrc/devel/py-codespell/Makefile:1.4 --- pkgsrc/devel/py-codespell/Makefile:1.3 Mon Jan 25 10:56:05 2021 +++ pkgsrc/devel/py-codespell/Makefile Tue Jan 26 20:27:30 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2021/01/25 10:56:05 fcambus Exp $ +# $NetBSD: Makefile,v 1.4 2021/01/26 20:27:30 wiz Exp $ DISTNAME= codespell-2.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -12,9 +12,17 @@ LICENSE= gnu-gpl-v2 USE_LANGUAGES= # none +.include "../../lang/python/pyversion.mk" + +.if ${PYPKGPREFIX} == "py27" +DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser +.endif +PYTHON_VERSIONED_DEPENDENCIES+= test:test + post-install: ${MV} ${DESTDIR}${PREFIX}/bin/codespell \ ${DESTDIR}${PREFIX}/bin/codespell-${PYVERSSUFFIX} .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" --_----------=_1611692850154160--