From 0fa61b7451c2cb7341f73bb82a6778096c0484dc Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Fri, 18 Oct 2024 11:29:31 -0400 Subject: [PATCH] py-tempora: update to 5.7.0; add patch to fix test --- python/py-tempora/Portfile | 11 ++++++----- python/py-tempora/files/patch-fix-compat.diff | 11 +++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 python/py-tempora/files/patch-fix-compat.diff diff --git a/python/py-tempora/Portfile b/python/py-tempora/Portfile index e023e6160599..bd61cd9e965c 100644 --- a/python/py-tempora/Portfile +++ b/python/py-tempora/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup python 1.0 name py-tempora -version 5.6.0 +version 5.7.0 revision 0 categories-append devel @@ -19,16 +19,17 @@ long_description {*}${description} homepage https://pypi.python.org/pypi/${python.rootname} -checksums rmd160 16ced817ae1081b46ad71bb49b9fbe8228a0521b \ - sha256 3bfcc12cbdbbbafecaaccb9097fc3754435b9d063dce43338e4fa87d39104aed \ - size 21659 +checksums rmd160 da0c8e335fa2c1f2634b2a0168450bef1f29fccd \ + sha256 888190a2dbe3255ff26dfa9fcecb25f4d38434c0f1943cd61de98bb41c410c50 \ + size 22239 + +patchfiles patch-fix-compat.diff python.versions 38 39 310 311 312 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools_scm depends_lib-append port:py${python.version}-jaraco.functools \ - port:py${python.version}-tz \ port:py${python.version}-setuptools \ port:py${python.version}-six \ port:py${python.version}-toml diff --git a/python/py-tempora/files/patch-fix-compat.diff b/python/py-tempora/files/patch-fix-compat.diff new file mode 100644 index 000000000000..caf527120aef --- /dev/null +++ b/python/py-tempora/files/patch-fix-compat.diff @@ -0,0 +1,11 @@ +--- tests/test_schedule.py 2024-07-25 13:27:27 ++++ tests/test_schedule.py 2024-10-18 11:22:54 +@@ -8,7 +8,7 @@ + + from tempora import schedule + +-from .compat.py38 import zoneinfo ++from compat.py38 import zoneinfo + + + do_nothing = type(None)