add: superisoupdater (#6723) (#6731)

This commit is contained in:
Raboneko
2025-10-08 22:29:06 -07:00
committed by GitHub
parent 8e54b1b1d3
commit cfd08bdfbc
4 changed files with 103 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "superisoupdater.spec"
}
}
@@ -0,0 +1,33 @@
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": [""],
@@ -0,0 +1,63 @@
%global pypi_name sisou
%global _desc A powerful tool to conveniently update all of your ISOs!
Name: python-%{pypi_name}
Version: 1.4.1
Release: 1%?dist
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
BuildRequires: python3-build
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%{_desc}
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: sisou
Provides: SuperISOUpdater
Provides: superisoupdater
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%{_desc}
%prep
%autosetup -p1 -n SuperISOUpdater-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files sisou
%files -n python3-%{pypi_name} -f %{pyproject_files}
%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}/modules/__pycache__/*.pyc
%{python3_sitelib}/modules/updaters/*.py
%{python3_sitelib}/modules/updaters/__pycache__/*.pyc
%changelog
* Wed Oct 08 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(gh("JoshuaVandaele/SuperISOUpdater"));