Wed Jan 25 05:26:18 2023 UTC ()
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.


(gutteridge)
diff -r0 -r1.1 pkgsrc/devel/py-looseversion/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-looseversion/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-looseversion/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-looseversion/distinfo

File Added: pkgsrc/devel/py-looseversion/DESCR
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.

File Added: pkgsrc/devel/py-looseversion/Makefile
# $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"

File Added: pkgsrc/devel/py-looseversion/PLIST
@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

File Added: pkgsrc/devel/py-looseversion/distinfo
$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