pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/py-iso8601 py-iso8601: updated to 1.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efc629c0adce
branches:  trunk
changeset: 769599:efc629c0adce
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 16 19:24:19 2021 +0000

description:
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

diffstat:

 time/py-iso8601/Makefile |  11 ++++++-----
 time/py-iso8601/PLIST    |   4 +---
 time/py-iso8601/distinfo |   8 ++++----
 3 files changed, 11 insertions(+), 12 deletions(-)

diffs (63 lines):

diff -r 4c1e2eb792de -r efc629c0adce time/py-iso8601/Makefile
--- a/time/py-iso8601/Makefile  Tue Nov 16 17:18:05 2021 +0000
+++ b/time/py-iso8601/Makefile  Tue Nov 16 19:24:19 2021 +0000
@@ -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 @@
 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"
diff -r 4c1e2eb792de -r efc629c0adce time/py-iso8601/PLIST
--- a/time/py-iso8601/PLIST     Tue Nov 16 17:18:05 2021 +0000
+++ b/time/py-iso8601/PLIST     Tue Nov 16 19:24:19 2021 +0000
@@ -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
diff -r 4c1e2eb792de -r efc629c0adce time/py-iso8601/distinfo
--- a/time/py-iso8601/distinfo  Tue Nov 16 17:18:05 2021 +0000
+++ b/time/py-iso8601/distinfo  Tue Nov 16 19:24:19 2021 +0000
@@ -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