mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit 52f9838c49)
Co-authored-by: J. <105894089+Its-J@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "wget.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(pypi("wget"));
|
||||
@@ -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 <jonah@fyralabs.com>
|
||||
|
||||
%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 <jonah@fyralabs.com>
|
||||
- Initial commit
|
||||
Reference in New Issue
Block a user