git: a964c81c2959 - main - x11/py-waypaper: Update to 2.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Sep 2025 12:06:23 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=a964c81c295989e7f1f2d6d9c6416d570d5c6584 commit a964c81c295989e7f1f2d6d9c6416d570d5c6584 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2025-09-29 12:04:52 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2025-09-29 12:04:52 +0000 x11/py-waypaper: Update to 2.7 - Remove files/patch-waypaper_changer.py (included upstream) Release changes: https://github.com/anufrievroman/waypaper/releases/tag/2.7 Reported by: portscout! --- x11/py-waypaper/Makefile | 5 +++-- x11/py-waypaper/distinfo | 6 +++--- x11/py-waypaper/files/patch-waypaper_changer.py | 19 ------------------- 3 files changed, 6 insertions(+), 24 deletions(-) diff --git a/x11/py-waypaper/Makefile b/x11/py-waypaper/Makefile index c5c875a31314..de3f9ab6ba1a 100644 --- a/x11/py-waypaper/Makefile +++ b/x11/py-waypaper/Makefile @@ -1,6 +1,6 @@ PORTNAME= waypaper -DISTVERSION= 2.6 -PORTREVISION= 2 +DISTVERSION= 2.7 +PORTREVISION= 0 CATEGORIES= x11 python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,6 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=10.4.0:graphics/py-pillow@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}imageio>=2.36.0:graphics/py-imageio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0.5.1:graphics/py-imageio-ffmpeg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}screeninfo>=0.8.1:x11/py-screeninfo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>=4.4.0:devel/py-platformdirs@${PY_FLAVOR} \ feh:graphics/feh \ swaybg:x11/swaybg diff --git a/x11/py-waypaper/distinfo b/x11/py-waypaper/distinfo index d6d052550c50..424be2a24a18 100644 --- a/x11/py-waypaper/distinfo +++ b/x11/py-waypaper/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748189559 -SHA256 (waypaper-2.6.tar.gz) = fdbf92200606026bf6f42ffff13ea608c0e5621f611a19be062466f96658ba85 -SIZE (waypaper-2.6.tar.gz) = 48645 +TIMESTAMP = 1759052386 +SHA256 (waypaper-2.7.tar.gz) = 2fcc539999ce40efc8442b880aaca2f815cf947c002b9686edd19734601edfc5 +SIZE (waypaper-2.7.tar.gz) = 50829 diff --git a/x11/py-waypaper/files/patch-waypaper_changer.py b/x11/py-waypaper/files/patch-waypaper_changer.py deleted file mode 100644 index c6994c8df161..000000000000 --- a/x11/py-waypaper/files/patch-waypaper_changer.py +++ /dev/null @@ -1,19 +0,0 @@ ---- waypaper/changer.py.orig 2025-02-28 01:09:43 UTC -+++ waypaper/changer.py -@@ -138,9 +138,15 @@ def change_with_swww(image_path: Path, cf: Config, mon - subprocess.Popen(["swww-daemon"]) - print("Launched swww-daemon") - -+ version_p = subprocess.run(["swww", "-V"], capture_output=True, text=True) -+ swww_version = [int(x) for x in version_p.stdout.strip().split(" ")[1].split(".")] -+ - command = ["swww", "img", image_path] - command.extend(["--resize", fill]) -- command.extend(["--fill-color", cf.color]) -+ if swww_version >= [0, 11, 0]: -+ command.extend(["--fill-color", cf.color.lstrip("#")]) -+ else: -+ command.extend(["--fill-color", cf.color]) - command.extend(["--transition-type", cf.swww_transition_type]) - command.extend(["--transition-step", str(cf.swww_transition_step)]) - command.extend(["--transition-angle", str(cf.swww_transition_angle)])