Wed Sep 27 09:37:32 2023 UTC ()
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.


(adam)
diff -r1.2 -r1.3 pkgsrc/time/py-time-machine/Makefile
diff -r1.2 -r1.3 pkgsrc/time/py-time-machine/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/time/py-time-machine/Makefile (expand / switch to unified diff)

--- pkgsrc/time/py-time-machine/Makefile 2023/08/31 18:00:08 1.2
+++ pkgsrc/time/py-time-machine/Makefile 2023/09/27 09:37:32 1.3
@@ -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
3DISTNAME= time_machine-2.12.0 3DISTNAME= time_machine-2.13.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
5CATEGORIES= time python 5CATEGORIES= time python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/time-machine/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/time-machine/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/adamchainz/time-machine 9HOMEPAGE= https://github.com/adamchainz/time-machine
10COMMENT= Travel through time in your tests 10COMMENT= Travel through time in your tests
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil 13DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
14 14
15PYTHON_VERSIONS_INCOMPATIBLE= 27 15PYTHON_VERSIONS_INCOMPATIBLE= 27
16 16

cvs diff -r1.2 -r1.3 pkgsrc/time/py-time-machine/distinfo (expand / switch to unified diff)

--- pkgsrc/time/py-time-machine/distinfo 2023/08/31 18:00:08 1.2
+++ pkgsrc/time/py-time-machine/distinfo 2023/09/27 09:37:32 1.3
@@ -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
3BLAKE2s (time_machine-2.12.0.tar.gz) = 98d1e099e694a49452056798a326bd2aa63c32c4eab6c4b33be5e602babe9cef 3BLAKE2s (time_machine-2.13.0.tar.gz) = a2e4555d9f5d78be39a3f86aaa8f9ee1c9117e029befa00ca34d71d603cdb3f8
4SHA512 (time_machine-2.12.0.tar.gz) = 61a146b72c8a05331e718b21c8719a895d60b1acfb5582ebaa4a0e6b5df8b84c7e2ec18c759d2fe90d08346c076b3f01832c1402a02c3e3b2156bf4e2f87d9e7 4SHA512 (time_machine-2.13.0.tar.gz) = 803e941962f95e757f369d445c6c413bd86a1fda5504f76da799bd5ed08378a4736a15737bc4cdc5a5835e1639a80c9c8ed0d47888b7257e52c17917a5a10e72
5Size (time_machine-2.12.0.tar.gz) = 23924 bytes 5Size (time_machine-2.13.0.tar.gz) = 24606 bytes