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 2B75E1A923A for ; Mon, 8 Nov 2021 12:27:39 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 59F2D8A9CC; Mon, 8 Nov 2021 12:27:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 888168A9C9 for ; Mon, 8 Nov 2021 12:27:37 +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 6-x3tdnq5s5S for ; Mon, 8 Nov 2021 12:27:36 +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 845B88A9CA for ; Mon, 8 Nov 2021 12:27:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7DF33FAEC; Mon, 8 Nov 2021 12:27:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1636374456118070" MIME-Version: 1.0 Date: Mon, 8 Nov 2021 12:27:36 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20211108122736.7DF33FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1636374456118070 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:27:36 UTC 2021 Modified Files: pkgsrc/devel: Makefile Added Files: pkgsrc/devel/py-backports.cached-property: DESCR Makefile PLIST distinfo Log Message: py-backports.cached-property: added version 1.0.1 Python 3.8 adds great descriptor to functools: cached_property. Technically all required APIs was available since python 3.6, but it is what it is. This package is a backport of this functionality for python 3.6 and 3.7. To generate a diff of this commit: cvs rdiff -u -r1.3504 -r1.3505 pkgsrc/devel/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-backports.cached-property/DESCR \ pkgsrc/devel/py-backports.cached-property/Makefile \ pkgsrc/devel/py-backports.cached-property/PLIST \ pkgsrc/devel/py-backports.cached-property/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1636374456118070 Content-Disposition: inline Content-Length: 3857 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/Makefile diff -u pkgsrc/devel/Makefile:1.3504 pkgsrc/devel/Makefile:1.3505 --- pkgsrc/devel/Makefile:1.3504 Thu Nov 4 17:12:38 2021 +++ pkgsrc/devel/Makefile Mon Nov 8 12:27:36 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3504 2021/11/04 17:12:38 bsiegert Exp $ +# $NetBSD: Makefile,v 1.3505 2021/11/08 12:27:36 adam Exp $ # COMMENT= Development utilities @@ -2181,6 +2181,7 @@ SUBDIR+= py-autopep8 SUBDIR+= py-babel SUBDIR+= py-backcall SUBDIR+= py-backports +SUBDIR+= py-backports.cached-property SUBDIR+= py-backports.functools_lru_cache SUBDIR+= py-backports.os SUBDIR+= py-backports.shutil_get_terminal_size Added files: Index: pkgsrc/devel/py-backports.cached-property/DESCR diff -u /dev/null pkgsrc/devel/py-backports.cached-property/DESCR:1.1 --- /dev/null Mon Nov 8 12:27:36 2021 +++ pkgsrc/devel/py-backports.cached-property/DESCR Mon Nov 8 12:27:36 2021 @@ -0,0 +1,4 @@ +Python 3.8 adds great descriptor to functools: cached_property. Technically all +required APIs was available since python 3.6, but it is what it is. + +This package is a backport of this functionality for python 3.6 and 3.7. Index: pkgsrc/devel/py-backports.cached-property/Makefile diff -u /dev/null pkgsrc/devel/py-backports.cached-property/Makefile:1.1 --- /dev/null Mon Nov 8 12:27:36 2021 +++ pkgsrc/devel/py-backports.cached-property/Makefile Mon Nov 8 12:27:36 2021 @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2021/11/08 12:27:36 adam Exp $ + +DISTNAME= backports.cached-property-1.0.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=b/backports.cached-property/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/penguinolog/backports.cached_property +COMMENT= Backport functools cached_property +LICENSE= mit + +BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm +BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel +DEPENDS+= ${PYPKGPREFIX}-backports>=1.0nb2:../../devel/py-backports + +PYTHON_VERSIONS_ACCEPTED= 37 36 # included in Python 3.8+ + +post-install: + ${RM} -f -r ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.* + ${RM} -f -r ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__pycache__/__init__.* + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-backports.cached-property/PLIST diff -u /dev/null pkgsrc/devel/py-backports.cached-property/PLIST:1.1 --- /dev/null Mon Nov 8 12:27:36 2021 +++ pkgsrc/devel/py-backports.cached-property/PLIST Mon Nov 8 12:27:36 2021 @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1 2021/11/08 12:27:36 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/${EGG_INFODIR}/zip-safe +${PYSITELIB}/backports/cached_property/__init__.py +${PYSITELIB}/backports/cached_property/__init__.pyc +${PYSITELIB}/backports/cached_property/__init__.pyi +${PYSITELIB}/backports/cached_property/__init__.pyo +${PYSITELIB}/backports/cached_property/py.typed Index: pkgsrc/devel/py-backports.cached-property/distinfo diff -u /dev/null pkgsrc/devel/py-backports.cached-property/distinfo:1.1 --- /dev/null Mon Nov 8 12:27:36 2021 +++ pkgsrc/devel/py-backports.cached-property/distinfo Mon Nov 8 12:27:36 2021 @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2021/11/08 12:27:36 adam Exp $ + +BLAKE2s (backports.cached-property-1.0.1.tar.gz) = fec0d19b13cd161ef53433ac44f4f101053ef0473b317b347b8e56708f3f31ba +SHA512 (backports.cached-property-1.0.1.tar.gz) = 2751bed957408a3d27f4b8419dc910f88d4045493886e9561b4e2b8e425b0532da1e142c848b98e4cfc93c99b559fef465fb0b648f5636eb725da5e49d2d9a59 +Size (backports.cached-property-1.0.1.tar.gz) = 7430 bytes --_----------=_1636374456118070--