From 6d26b9fb9fff84e1dcf6ac85d4119e532f307ded Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:17:24 -0500 Subject: [PATCH] fix: superisoupdater (#12952) (#12970) --- .../superisoupdater/remove-version-reqs.patch | 33 ------------------- .../superisoupdater/superisoupdater.spec | 11 ++++--- 2 files changed, 6 insertions(+), 38 deletions(-) delete mode 100644 anda/langs/python/superisoupdater/remove-version-reqs.patch diff --git a/anda/langs/python/superisoupdater/remove-version-reqs.patch b/anda/langs/python/superisoupdater/remove-version-reqs.patch deleted file mode 100644 index e367b49cb3..0000000000 --- a/anda/langs/python/superisoupdater/remove-version-reqs.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/requirements.txt b/requirements.txt -index f450174..94ac9b8 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -1,4 +1,4 @@ --beautifulsoup4==4.12.2 --requests==2.31.0 --tqdm==4.65.0 --PGPy13==0.6.1rc1 -\ No newline at end of file -+beautifulsoup4 -+requests -+tqdm -+PGPy13 -diff --git a/setup.py b/setup.py -index aa41242..348b51c 100644 ---- a/setup.py -+++ b/setup.py -@@ -43,10 +43,10 @@ setup( - package_data={"": ["config.toml.default"]}, - python_requires=">=3.10, <4", - install_requires=[ -- "beautifulsoup4==4.12.2", -- "requests==2.31.0", -- "tqdm==4.65.0", -- "PGPy13==0.6.1rc1", -+ "beautifulsoup4", -+ "requests", -+ "tqdm", -+ "PGPy13", - ], # Optional - # extras_require={ - # "dev": [""], diff --git a/anda/langs/python/superisoupdater/superisoupdater.spec b/anda/langs/python/superisoupdater/superisoupdater.spec index 76cd7e7430..9c9bbe9661 100644 --- a/anda/langs/python/superisoupdater/superisoupdater.spec +++ b/anda/langs/python/superisoupdater/superisoupdater.spec @@ -8,7 +8,6 @@ Summary: %{_desc} License: GPLv3 URL: https://github.com/JoshuaVandaele/SuperISOUpdater Source0: %url/archive/refs/tags/%{version}.tar.gz -Patch0: remove-version-reqs.patch BuildArch: noarch BuildRequires: python3-devel @@ -33,7 +32,9 @@ Provides: superisoupdater %{_desc} %prep -%autosetup -p1 -n SuperISOUpdater-%{version} +%autosetup -n SuperISOUpdater-%{version} + +%pyproject_patch_dependency requests-cache:drop_constraints %build %pyproject_wheel @@ -46,17 +47,17 @@ Provides: superisoupdater %doc README.md %license LICENSE %{_bindir}/sisou -%ghost %{python3_sitelib}/__pycache__/*.cpython-*.pyc -%ghost %{python3_sitelib}/%{name}/subcommands/__pycache__/*.cpython-*.pyc %{python3_sitelib}/sisou-%{version}.dist-info/* %{python3_sitelib}/config/*.py %{python3_sitelib}/config/__pycache__/*.cpython-*.pyc %{python3_sitelib}/config/__pycache__/*.cpython-*.*-*.pyc -%{python3_sitelib}/config/config.toml.default %{python3_sitelib}/modules/*.py +%{python3_sitelib}/config/sisou.toml.default +%{python3_sitelib}/modules/mirrors/ %{python3_sitelib}/modules/__pycache__/*.pyc %{python3_sitelib}/modules/updaters/*.py %{python3_sitelib}/modules/updaters/__pycache__/*.pyc +%{_prefix}/sisou/config/sisou.toml.default %changelog * Wed Oct 08 2025 Owen Zimmerman