diff --git a/anda/langs/python/wget/anda.hcl b/anda/langs/python/wget/anda.hcl new file mode 100644 index 0000000000..34e120a05f --- /dev/null +++ b/anda/langs/python/wget/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "wget.spec" + } +} diff --git a/anda/langs/python/wget/update.rhai b/anda/langs/python/wget/update.rhai new file mode 100644 index 0000000000..e1b4acd9d8 --- /dev/null +++ b/anda/langs/python/wget/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("wget")); diff --git a/anda/langs/python/wget/wget.spec b/anda/langs/python/wget/wget.spec new file mode 100644 index 0000000000..63ae72b24e --- /dev/null +++ b/anda/langs/python/wget/wget.spec @@ -0,0 +1,47 @@ +%global pypi_name wget +%global _desc Pure Python download utility. + +%global commit fdd3a0f8404ccab90f939f9952af139e6c55142a +%global commit_date 20141004 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: python-%{pypi_name} +Version: 3.2^%{commit_date}git%{shortcommit} +Release: 1%{?dist} +Summary: Pure Python download utility +License: LicenseRef-Fedora-Public-Domain +URL: https://pypi.org/project/wget/ +Source0: https://github.com/steveej/python-wget/archive/%commit/python-wget-%commit.zip +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip + +Packager: Its-J + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{name}-%{commit} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files wget + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.txt + +%changelog +* Sun May 24 2026 Its-J +- Initial commit