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 212B71A9239 for ; Mon, 8 Nov 2021 12:00:21 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 3010489F51; Mon, 8 Nov 2021 12:00:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3E76A89F4F for ; Mon, 8 Nov 2021 12:00:19 +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 uyAgmIWY9WEz for ; Mon, 8 Nov 2021 12:00:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 463BA84D44 for ; Mon, 8 Nov 2021 12:00:18 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2F3CAFAEC; Mon, 8 Nov 2021 12:00:18 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1636372818212960" MIME-Version: 1.0 Date: Mon, 8 Nov 2021 12:00:18 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-backports To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20211108120018.2F3CAFAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1636372818212960 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Mon Nov 8 12:00:18 UTC 2021 Modified Files: pkgsrc/devel/py-backports: Makefile Log Message: py-backports: allow newer Python versions; bump revision To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-backports/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1636372818212960 Content-Disposition: inline Content-Length: 1220 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-backports/Makefile diff -u pkgsrc/devel/py-backports/Makefile:1.3 pkgsrc/devel/py-backports/Makefile:1.4 --- pkgsrc/devel/py-backports/Makefile:1.3 Fri Dec 13 09:08:01 2019 +++ pkgsrc/devel/py-backports/Makefile Mon Nov 8 12:00:18 2021 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2019/12/13 09:08:01 adam Exp $ +# $NetBSD: Makefile,v 1.4 2021/11/08 12:00:18 adam Exp $ PKGNAME= ${PYPKGPREFIX}-backports-1.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= # empty @@ -12,9 +12,12 @@ LICENSE= python-software-foundation PY_PATCHPLIST= yes -PYTHON_VERSIONS_ACCEPTED= 27 +.include "../../lang/python/pyversion.mk" INSTALLATION_DIRS+= ${PYSITELIB}/backports +.if ${_PYTHON_VERSION} != 27 +INSTALLATION_DIRS+= ${PYSITELIB}/backports/__pycache__ +.endif do-extract: ${MKDIR} ${WRKSRC} @@ -25,6 +28,10 @@ do-build: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/__init__.* ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/ +.if ${_PYTHON_VERSION} != 27 + ${INSTALL_SCRIPT} ${WRKSRC}/__pycache__/__init__.* \ + ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__pycache__/ +.endif .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" --_----------=_1636372818212960--