pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/py-tzlocal



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct  4 21:06:09 UTC 2023

Modified Files:
        pkgsrc/time/py-tzlocal: Makefile distinfo

Log Message:
py-tzlocal: updated to 5.1

5.1 (2023-10-04)
----------------
- The Unicode data doesn't change tz names when IANA does, so what is current
  in IANA is treated as an alias in Unicode data. This version handles that.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/time/py-tzlocal/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/time/py-tzlocal/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-tzlocal/Makefile
diff -u pkgsrc/time/py-tzlocal/Makefile:1.9 pkgsrc/time/py-tzlocal/Makefile:1.10
--- pkgsrc/time/py-tzlocal/Makefile:1.9 Sun May 21 18:57:15 2023
+++ pkgsrc/time/py-tzlocal/Makefile     Wed Oct  4 21:06:09 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2023/05/21 18:57:15 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2023/10/04 21:06:09 adam Exp $
 
-DISTNAME=      tzlocal-5.0.1
+DISTNAME=      tzlocal-5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tzlocal/}
@@ -10,18 +10,23 @@ HOMEPAGE=   https://github.com/regebro/tzl
 COMMENT=       Python tzinfo object for the local timezone
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-pytz_deprecation_shim-[0-9]*:../../time/py-pytz_deprecation_shim
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.3:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.3:../../devel/py-test-mock
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 309
+DEPENDS+=      ${PYPKGPREFIX}-backports.zoneinfo-[0-9]*:../../time/py-backports.zoneinfo
+.endif
+
 # needs 'make install'
 # 3 failed, 17 passed
 do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/time/py-tzlocal/distinfo
diff -u pkgsrc/time/py-tzlocal/distinfo:1.10 pkgsrc/time/py-tzlocal/distinfo:1.11
--- pkgsrc/time/py-tzlocal/distinfo:1.10        Sun May 21 18:57:15 2023
+++ pkgsrc/time/py-tzlocal/distinfo     Wed Oct  4 21:06:09 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2023/05/21 18:57:15 wiz Exp $
+$NetBSD: distinfo,v 1.11 2023/10/04 21:06:09 adam Exp $
 
-BLAKE2s (tzlocal-5.0.1.tar.gz) = a9744e62bd68102a478b21205830a4f8c6b0e8095491ecb8882817ae5c81f74c
-SHA512 (tzlocal-5.0.1.tar.gz) = 1b996dbb5782af5ee75b172a16905887e2bbb4f695a5731a09ff358bba01f4bc63961f6e2cac4d12443b3499fdbb01c38cfbec274c0e0806b9247a93951b4213
-Size (tzlocal-5.0.1.tar.gz) = 32614 bytes
+BLAKE2s (tzlocal-5.1.tar.gz) = d913dcf5d4c6d4bada62a8e5bfc4371848ae1155455bbdf97d1303249a1c6edd
+SHA512 (tzlocal-5.1.tar.gz) = 7cff3572c85a635ea4a8aed8b74f53f92ab5c59c87955bf1009ddc4f68d4270f311190f43c809d930d7859e770d925dc8986caf0313f095546572c21ccf15470
+Size (tzlocal-5.1.tar.gz) = 33180 bytes



Home | Main Index | Thread Index | Old Index