Skip to content

Commit

Permalink
py-tempora: update to 5.7.0; add patch to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kurthindenburg committed Oct 18, 2024
1 parent 468b53c commit 0fa61b7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
11 changes: 6 additions & 5 deletions python/py-tempora/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 11 additions & 0 deletions python/py-tempora/files/patch-fix-compat.diff
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 0fa61b7

Please sign in to comment.