pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-looseversion



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.

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@localhost
+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



Home | Main Index | Thread Index | Old Index