pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-lexid



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jun 11 08:55:01 UTC 2023

Added Files:
        pkgsrc/devel/py-lexid: DESCR Makefile PLIST distinfo

Log Message:
devel/py-lexid: import py-lexid-2021.1006

lexid is a micro library to increment lexically ordered numerical
ids.

Throughout the sequence of ids, this expression will always be
true, whether you are dealing with integers or strings:

    older_id < newer_id

The left most character/digit is only used to maintain lexical
order, so that the position in the sequence is maintained in the
remaining digits.

Such ids can be useful as build or version numbers, which are often
displayed by tooling which does not understand their correct
ordering.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-lexid/DESCR \
    pkgsrc/devel/py-lexid/Makefile pkgsrc/devel/py-lexid/PLIST \
    pkgsrc/devel/py-lexid/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-lexid/DESCR
diff -u /dev/null pkgsrc/devel/py-lexid/DESCR:1.1
--- /dev/null   Sun Jun 11 08:55:01 2023
+++ pkgsrc/devel/py-lexid/DESCR Sun Jun 11 08:55:01 2023
@@ -0,0 +1,15 @@
+lexid is a micro library to increment lexically ordered numerical
+ids.
+
+Throughout the sequence of ids, this expression will always be
+true, whether you are dealing with integers or strings:
+
+    older_id < newer_id
+
+The left most character/digit is only used to maintain lexical
+order, so that the position in the sequence is maintained in the
+remaining digits.
+
+Such ids can be useful as build or version numbers, which are often
+displayed by tooling which does not understand their correct
+ordering.
Index: pkgsrc/devel/py-lexid/Makefile
diff -u /dev/null pkgsrc/devel/py-lexid/Makefile:1.1
--- /dev/null   Sun Jun 11 08:55:01 2023
+++ pkgsrc/devel/py-lexid/Makefile      Sun Jun 11 08:55:01 2023
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2023/06/11 08:55:01 wiz Exp $
+
+DISTNAME=      lexid-2021.1006
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lexid/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mbarkhau/lexid
+COMMENT=       Variable width build numbers with lexical ordering
+LICENSE=       mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-lexid/PLIST
diff -u /dev/null pkgsrc/devel/py-lexid/PLIST:1.1
--- /dev/null   Sun Jun 11 08:55:01 2023
+++ pkgsrc/devel/py-lexid/PLIST Sun Jun 11 08:55:01 2023
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2023/06/11 08:55:01 wiz Exp $
+bin/lexid_incr
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/lexid/__init__.py
+${PYSITELIB}/lexid/__init__.pyc
+${PYSITELIB}/lexid/__init__.pyo
+${PYSITELIB}/lexid/__main__.py
+${PYSITELIB}/lexid/__main__.pyc
+${PYSITELIB}/lexid/__main__.pyo
Index: pkgsrc/devel/py-lexid/distinfo
diff -u /dev/null pkgsrc/devel/py-lexid/distinfo:1.1
--- /dev/null   Sun Jun 11 08:55:01 2023
+++ pkgsrc/devel/py-lexid/distinfo      Sun Jun 11 08:55:01 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/06/11 08:55:01 wiz Exp $
+
+BLAKE2s (lexid-2021.1006.tar.gz) = 806118334074f8213664e4b55bae2a93d85f17f38184e0b466bd2bcf4a769864
+SHA512 (lexid-2021.1006.tar.gz) = 00bc45e86b362d37995eabcceab82018eb598e5ba2d472922004793db613964e5fb3519ab137b15f0693be2fb7425cb9ab7e15fbd5b117873ceea3a9dbb6dc04
+Size (lexid-2021.1006.tar.gz) = 11525 bytes



Home | Main Index | Thread Index | Old Index