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

This commit is contained in:
K900
2025-02-19 13:03:22 +03:00
committed by GitHub
2 changed files with 11 additions and 4 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.beautifulsoup4 ps.click ps.httpx ps.jinja2 ps.pyyaml ])"
#!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.beautifulsoup4 ps.click ps.httpx ps.jinja2 ps.packaging ps.pyyaml ])"
import base64
import binascii
import json
@@ -11,6 +11,7 @@ import bs4
import click
import httpx
import jinja2
import packaging.version as v
import utils
@@ -104,6 +105,12 @@ def main(set: str, version: str, nixpkgs: pathlib.Path, sources_url: Optional[st
hash = client.get(url + ".sha256").text.split(" ", maxsplit=1)[0]
assert hash
if existing := results.get(project_name):
old_version = existing["version"]
if v.parse(old_version) > v.parse(version):
print(f"{project_name} {old_version} is newer than {version}, skipping...")
continue
results[project_name] = {
"version": version,
"url": "mirror://kde" + urlparse(url).path,
+3 -3
View File
@@ -315,9 +315,9 @@
"hash": "sha256-vy5JcIKk5bYpa4NZKYkNI9qbobPbSU+GEjfWlvbEmb8="
},
"spectacle": {
"version": "6.3.1",
"url": "mirror://kde/stable/plasma/6.3.1/spectacle-6.3.1.tar.xz",
"hash": "sha256-DzZLBd/MDGPB62luWTGPg6nIPUFi9WVrT6X+KdrMgU4="
"version": "6.3.1.2",
"url": "mirror://kde/stable/plasma/6.3.1/spectacle-6.3.1.2.tar.xz",
"hash": "sha256-g35ejQ745SL01qN9pInk+G2DZJkfz3lsWP0FJvgc+go="
},
"systemsettings": {
"version": "6.3.1",