py-time-machine: updated to 2.13.0 2.13.0 (2023-09-19) ------------------- * Add support for ``datetime.timedelta`` to ``time_machine.travel()``. * Fix documentation about using local time for naive date(time) strings. * Add ``shift()`` method to the ``time_machine`` pytest fixture. * Mock ``time.monotonic()`` and ``time.monotonic_ns()``. They return the values of ``time.time()`` and ``time.time_ns()`` respectively, rather than real monotonic clocks.diff -r1.2 -r1.3 pkgsrc/time/py-time-machine/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2023/08/31 18:00:08 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2023/09/27 09:37:32 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= time_machine-2.12.0 | 3 | DISTNAME= time_machine-2.13.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} | |
5 | CATEGORIES= time python | 5 | CATEGORIES= time python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=t/time-machine/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=t/time-machine/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/adamchainz/time-machine | 9 | HOMEPAGE= https://github.com/adamchainz/time-machine | |
10 | COMMENT= Travel through time in your tests | 10 | COMMENT= Travel through time in your tests | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil | 13 | DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil | |
14 | 14 | |||
15 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 15 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
16 | 16 |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2023/08/31 18:00:08 adam Exp $ | 1 | $NetBSD: distinfo,v 1.3 2023/09/27 09:37:32 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (time_machine-2.12.0.tar.gz) = 98d1e099e694a49452056798a326bd2aa63c32c4eab6c4b33be5e602babe9cef | 3 | BLAKE2s (time_machine-2.13.0.tar.gz) = a2e4555d9f5d78be39a3f86aaa8f9ee1c9117e029befa00ca34d71d603cdb3f8 | |
4 | SHA512 (time_machine-2.12.0.tar.gz) = 61a146b72c8a05331e718b21c8719a895d60b1acfb5582ebaa4a0e6b5df8b84c7e2ec18c759d2fe90d08346c076b3f01832c1402a02c3e3b2156bf4e2f87d9e7 | 4 | SHA512 (time_machine-2.13.0.tar.gz) = 803e941962f95e757f369d445c6c413bd86a1fda5504f76da799bd5ed08378a4736a15737bc4cdc5a5835e1639a80c9c8ed0d47888b7257e52c17917a5a10e72 | |
5 | Size (time_machine-2.12.0.tar.gz) = 23924 bytes | 5 | Size (time_machine-2.13.0.tar.gz) = 24606 bytes |