Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CC2C284FD1 for ; Sat, 26 Aug 2023 09:30:01 +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 06VTZFKfHqEK for ; Sat, 26 Aug 2023 09:30:01 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1BEF484FC1 for ; Sat, 26 Aug 2023 09:30:01 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 142B2FBDB; Sat, 26 Aug 2023 09:30:01 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1693042201158360" MIME-Version: 1.0 Date: Sat, 26 Aug 2023 09:30:01 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20230826093001.142B2FBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1693042201158360 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Sat Aug 26 09:30:00 UTC 2023 Modified Files: pkgsrc/devel: Makefile Added Files: pkgsrc/devel/py-overrides: DESCR Makefile PLIST distinfo Log Message: py-overrides: added version 7.4.0 A decorator @override that verifies that a method that should override an inherited method actually does it. Copies the docstring of the inherited method to the overridden method. To generate a diff of this commit: cvs rdiff -u -r1.4052 -r1.4053 pkgsrc/devel/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-overrides/DESCR \ pkgsrc/devel/py-overrides/Makefile pkgsrc/devel/py-overrides/PLIST \ pkgsrc/devel/py-overrides/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1693042201158360 Content-Disposition: inline Content-Length: 3662 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/Makefile diff -u pkgsrc/devel/Makefile:1.4052 pkgsrc/devel/Makefile:1.4053 --- pkgsrc/devel/Makefile:1.4052 Sat Aug 19 10:45:30 2023 +++ pkgsrc/devel/Makefile Sat Aug 26 09:30:00 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4052 2023/08/19 10:45:30 pin Exp $ +# $NetBSD: Makefile,v 1.4053 2023/08/26 09:30:00 adam Exp $ # COMMENT= Development utilities @@ -2691,6 +2691,7 @@ SUBDIR+= py-open-vcdiff SUBDIR+= py-ordered-set SUBDIR+= py-oset SUBDIR+= py-outcome +SUBDIR+= py-overrides SUBDIR+= py-packageurl SUBDIR+= py-packaging SUBDIR+= py-packaging2 Added files: Index: pkgsrc/devel/py-overrides/DESCR diff -u /dev/null pkgsrc/devel/py-overrides/DESCR:1.1 --- /dev/null Sat Aug 26 09:30:01 2023 +++ pkgsrc/devel/py-overrides/DESCR Sat Aug 26 09:30:00 2023 @@ -0,0 +1,3 @@ +A decorator @override that verifies that a method that should override an +inherited method actually does it. Copies the docstring of the inherited +method to the overridden method. Index: pkgsrc/devel/py-overrides/Makefile diff -u /dev/null pkgsrc/devel/py-overrides/Makefile:1.1 --- /dev/null Sat Aug 26 09:30:01 2023 +++ pkgsrc/devel/py-overrides/Makefile Sat Aug 26 09:30:00 2023 @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2023/08/26 09:30:00 adam Exp $ + +DISTNAME= overrides-7.4.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=o/overrides/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/mkorpela/overrides +COMMENT= Ddecorator to automatically detect mismatch when overriding a method +LICENSE= apache-2.0 + +TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.3:../../devel/py-test + +USE_LANGUAGES= # none + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-overrides/PLIST diff -u /dev/null pkgsrc/devel/py-overrides/PLIST:1.1 --- /dev/null Sat Aug 26 09:30:01 2023 +++ pkgsrc/devel/py-overrides/PLIST Sat Aug 26 09:30:00 2023 @@ -0,0 +1,25 @@ +@comment $NetBSD: PLIST,v 1.1 2023/08/26 09:30:00 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}/overrides/__init__.py +${PYSITELIB}/overrides/__init__.pyc +${PYSITELIB}/overrides/__init__.pyo +${PYSITELIB}/overrides/enforce.py +${PYSITELIB}/overrides/enforce.pyc +${PYSITELIB}/overrides/enforce.pyo +${PYSITELIB}/overrides/final.py +${PYSITELIB}/overrides/final.pyc +${PYSITELIB}/overrides/final.pyo +${PYSITELIB}/overrides/overrides.py +${PYSITELIB}/overrides/overrides.pyc +${PYSITELIB}/overrides/overrides.pyo +${PYSITELIB}/overrides/py.typed +${PYSITELIB}/overrides/signature.py +${PYSITELIB}/overrides/signature.pyc +${PYSITELIB}/overrides/signature.pyo +${PYSITELIB}/overrides/typing_utils.py +${PYSITELIB}/overrides/typing_utils.pyc +${PYSITELIB}/overrides/typing_utils.pyo Index: pkgsrc/devel/py-overrides/distinfo diff -u /dev/null pkgsrc/devel/py-overrides/distinfo:1.1 --- /dev/null Sat Aug 26 09:30:01 2023 +++ pkgsrc/devel/py-overrides/distinfo Sat Aug 26 09:30:00 2023 @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2023/08/26 09:30:00 adam Exp $ + +BLAKE2s (overrides-7.4.0.tar.gz) = 0040b4bc8c396f071f882a0c3045757006947b3bbfb6ad726e63ec0c99d1e32a +SHA512 (overrides-7.4.0.tar.gz) = 6ffd3b38997fd207d8ef9876ba9c328ef244b39300d22ae8c8bf63862f160b485d82b99d36d24abd1676fdddd39e5324eb0f1cf8629a0e17ac96956d165b6afd +Size (overrides-7.4.0.tar.gz) = 24804 bytes --_----------=_1693042201158360--