kdePackages.spectacle: 6.3.1 -> 6.3.1.2 (#383311)

authored by

K900 and committed by
GitHub
d01fd8aa ee407ef7

+11 -4
+8 -1
maintainers/scripts/kde/generate-sources.py
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.beautifulsoup4 ps.click ps.httpx ps.jinja2 ps.pyyaml ])" 2 + #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.beautifulsoup4 ps.click ps.httpx ps.jinja2 ps.packaging ps.pyyaml ])" 3 3 import base64 4 4 import binascii 5 5 import json ··· 11 11 import click 12 12 import httpx 13 13 import jinja2 14 + import packaging.version as v 14 15 15 16 import utils 16 17 ··· 103 104 104 105 hash = client.get(url + ".sha256").text.split(" ", maxsplit=1)[0] 105 106 assert hash 107 + 108 + if existing := results.get(project_name): 109 + old_version = existing["version"] 110 + if v.parse(old_version) > v.parse(version): 111 + print(f"{project_name} {old_version} is newer than {version}, skipping...") 112 + continue 106 113 107 114 results[project_name] = { 108 115 "version": version,
+3 -3
pkgs/kde/generated/sources/plasma.json
··· 315 315 "hash": "sha256-vy5JcIKk5bYpa4NZKYkNI9qbobPbSU+GEjfWlvbEmb8=" 316 316 }, 317 317 "spectacle": { 318 - "version": "6.3.1", 319 - "url": "mirror://kde/stable/plasma/6.3.1/spectacle-6.3.1.tar.xz", 320 - "hash": "sha256-DzZLBd/MDGPB62luWTGPg6nIPUFi9WVrT6X+KdrMgU4=" 318 + "version": "6.3.1.2", 319 + "url": "mirror://kde/stable/plasma/6.3.1/spectacle-6.3.1.2.tar.xz", 320 + "hash": "sha256-g35ejQ745SL01qN9pInk+G2DZJkfz3lsWP0FJvgc+go=" 321 321 }, 322 322 "systemsettings": { 323 323 "version": "6.3.1",