Received: by mail.netbsd.org (Postfix, from userid 605) id D9DB584E99; Wed, 25 Jan 2023 05:26:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 14B6484CF9 for ; Wed, 25 Jan 2023 05:26:19 +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 ggmGdOvjvq52 for ; Wed, 25 Jan 2023 05:26:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 601A284CE3 for ; Wed, 25 Jan 2023 05:26:18 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 58F1BFA90; Wed, 25 Jan 2023 05:26:18 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1674624378261560" MIME-Version: 1.0 Date: Wed, 25 Jan 2023 05:26:18 +0000 From: "David H. Gutteridge" Subject: CVS commit: pkgsrc/devel/py-looseversion To: pkgsrc-changes@NetBSD.org Reply-To: gutteridge@netbsd.org X-Mailer: log_accum Message-Id: <20230125052618.58F1BFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1674624378261560 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gutteridge Date: Wed Jan 25 05:26:18 UTC 2023 Added Files: pkgsrc/devel/py-looseversion: DESCR Makefile PLIST distinfo Log Message: py-looseversion: add version 1.0.3 A backwards/forwards-compatible fork of `distutils.version.LooseVersion`, for times when PEP-440 isn't what you need. The goal of this package is to be a drop-in replacement for the original `LooseVersion`. It implements an identical interface and comparison logic to `LooseVersion`. The only major change is that a `looseversion.LooseVersion` is comparable to a `distutils.version.LooseVersion`, which means tools should not need to worry whether all dependencies that use LooseVersion have migrated. If you are simply comparing versions of Python packages, consider moving to `packaging.version.Version', which follows PEP-440. `LooseVersion` is better suited to interacting with heterogeneous version schemes that do not follow PEP-440. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-looseversion/DESCR \ pkgsrc/devel/py-looseversion/Makefile pkgsrc/devel/py-looseversion/PLIST \ pkgsrc/devel/py-looseversion/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1674624378261560 Content-Disposition: inline Content-Length: 3058 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-looseversion/DESCR diff -u /dev/null pkgsrc/devel/py-looseversion/DESCR:1.1 --- /dev/null Wed Jan 25 05:26:18 2023 +++ pkgsrc/devel/py-looseversion/DESCR Wed Jan 25 05:26:18 2023 @@ -0,0 +1,13 @@ +A backwards/forwards-compatible fork of `distutils.version.LooseVersion`, +for times when PEP-440 isn't what you need. + +The goal of this package is to be a drop-in replacement for the original +`LooseVersion`. It implements an identical interface and comparison logic to +`LooseVersion`. The only major change is that a `looseversion.LooseVersion` is +comparable to a `distutils.version.LooseVersion`, which means tools should not +need to worry whether all dependencies that use LooseVersion have migrated. + +If you are simply comparing versions of Python packages, consider moving to +`packaging.version.Version', which follows PEP-440. `LooseVersion` is better +suited to interacting with heterogeneous version schemes that do not follow +PEP-440. Index: pkgsrc/devel/py-looseversion/Makefile diff -u /dev/null pkgsrc/devel/py-looseversion/Makefile:1.1 --- /dev/null Wed Jan 25 05:26:18 2023 +++ pkgsrc/devel/py-looseversion/Makefile Wed Jan 25 05:26:18 2023 @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2023/01/25 05:26:18 gutteridge Exp $ + +DISTNAME= looseversion-1.0.3 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=l/looseversion/} + +MAINTAINER= gutteridge@NetBSD.org +HOMEPAGE= https://github.com/effigies/looseversion +COMMENT= Python extension for comparing version strings +LICENSE= python-software-foundation + +USE_LANGUAGES= # none + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core + +.include "../../lang/python/wheel.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-looseversion/PLIST diff -u /dev/null pkgsrc/devel/py-looseversion/PLIST:1.1 --- /dev/null Wed Jan 25 05:26:18 2023 +++ pkgsrc/devel/py-looseversion/PLIST Wed Jan 25 05:26:18 2023 @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1 2023/01/25 05:26:18 gutteridge Exp $ +${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER +${PYSITELIB}/${WHEEL_INFODIR}/LICENSE +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json +${PYSITELIB}/looseversion.py +${PYSITELIB}/looseversion.pyc Index: pkgsrc/devel/py-looseversion/distinfo diff -u /dev/null pkgsrc/devel/py-looseversion/distinfo:1.1 --- /dev/null Wed Jan 25 05:26:18 2023 +++ pkgsrc/devel/py-looseversion/distinfo Wed Jan 25 05:26:18 2023 @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2023/01/25 05:26:18 gutteridge Exp $ + +BLAKE2s (looseversion-1.0.3.tar.gz) = 9f87d205bf17432730cb1d4df06cd099270573dab23a2b455966e188762cd9dc +SHA512 (looseversion-1.0.3.tar.gz) = 262f6b33516020bf38878cdf0dfcd3e51507d20f40a348a8fcd8ba66c2eaef564738c275297c3efe8daf9ff5efc5b7dffa8d76f77626c3eefdac7b097db27f78 +Size (looseversion-1.0.3.tar.gz) = 6874 bytes --_----------=_1674624378261560--