pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-iso8601



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 16 19:24:19 UTC 2021

Modified Files:
        pkgsrc/time/py-iso8601: Makefile PLIST distinfo

Log Message:
py-iso8601: updated to 1.0.0

1.0.0
Drop python < 3.6 support
Add type annotations to code
Remove external type annotations in pyi
Switch to poetry for packaging
Simplify internals and remove old compatability code
Switch to nox for testing
Lots of small project development changes


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/time/py-iso8601/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/time/py-iso8601/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/time/py-iso8601/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-iso8601/Makefile
diff -u pkgsrc/time/py-iso8601/Makefile:1.7 pkgsrc/time/py-iso8601/Makefile:1.8
--- pkgsrc/time/py-iso8601/Makefile:1.7 Mon Jul 19 19:56:00 2021
+++ pkgsrc/time/py-iso8601/Makefile     Tue Nov 16 19:24:19 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2021/07/19 19:56:00 adam Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/16 19:24:19 adam Exp $
 
-DISTNAME=      iso8601-0.1.16
+DISTNAME=      iso8601-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/iso8601/}
@@ -10,13 +10,14 @@ HOMEPAGE=   https://github.com/micktwomey/
 COMMENT=       Simple Python module to parse ISO 8601 dates
 LICENSE=       mit
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} iso8601/test_iso8601.py
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} iso8601/test_iso8601.py
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/time/py-iso8601/PLIST
diff -u pkgsrc/time/py-iso8601/PLIST:1.2 pkgsrc/time/py-iso8601/PLIST:1.3
--- pkgsrc/time/py-iso8601/PLIST:1.2    Mon Jul 19 19:56:00 2021
+++ pkgsrc/time/py-iso8601/PLIST        Tue Nov 16 19:24:19 2021
@@ -1,15 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2021/07/19 19:56:00 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/11/16 19:24:19 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/iso8601/__init__.py
 ${PYSITELIB}/iso8601/__init__.pyc
-${PYSITELIB}/iso8601/__init__.pyi
 ${PYSITELIB}/iso8601/__init__.pyo
 ${PYSITELIB}/iso8601/iso8601.py
 ${PYSITELIB}/iso8601/iso8601.pyc
-${PYSITELIB}/iso8601/iso8601.pyi
 ${PYSITELIB}/iso8601/iso8601.pyo
 ${PYSITELIB}/iso8601/test_iso8601.py
 ${PYSITELIB}/iso8601/test_iso8601.pyc

Index: pkgsrc/time/py-iso8601/distinfo
diff -u pkgsrc/time/py-iso8601/distinfo:1.10 pkgsrc/time/py-iso8601/distinfo:1.11
--- pkgsrc/time/py-iso8601/distinfo:1.10        Tue Oct 26 11:24:33 2021
+++ pkgsrc/time/py-iso8601/distinfo     Tue Nov 16 19:24:19 2021
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 11:24:33 nia Exp $
+$NetBSD: distinfo,v 1.11 2021/11/16 19:24:19 adam Exp $
 
-BLAKE2s (iso8601-0.1.16.tar.gz) = 4eec49e62b5fa459d76a6795ae0bb3cdc6878164f95cf91a73c28e48af1cb442
-SHA512 (iso8601-0.1.16.tar.gz) = b049de4c5fb21bca2e3183e82c86149ac7cab684ad8c7281cb8ffc2c0e53a86b00f68f260cff659c19f8814a35970462d2dbd06b21bbc42ed1507b583df7e25e
-Size (iso8601-0.1.16.tar.gz) = 19599 bytes
+BLAKE2s (iso8601-1.0.0.tar.gz) = ef24d9a290547387e3638a60962f435032a331266dadc4a6547ee6145ac505f9
+SHA512 (iso8601-1.0.0.tar.gz) = 137fdbe891889428331883c745fc341b7b066e681d7ffa339bd3484663974f35ac0d9f25eaa438603c8d982821832f8f2fddb2a3906889e62affda6d8cfb38e6
+Size (iso8601-1.0.0.tar.gz) = 12294 bytes



Home | Main Index | Thread Index | Old Index