forked from pool/python-requests-download
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-download?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 12:53:23 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 2 11:13:04 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Sun Jul 2 11:13:04 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-requests-download
|
# spec file for package python-requests-download
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,7 +26,9 @@ Group: Development/Languages/Python
|
|||||||
URL: https://www.github.com/takluyver/requests_download
|
URL: https://www.github.com/takluyver/requests_download
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/requests_download/requests_download-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/requests_download/requests_download-%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/takluyver/requests_download/master/LICENSE
|
Source1: https://raw.githubusercontent.com/takluyver/requests_download/master/LICENSE
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-progressbar
|
Requires: python-progressbar
|
||||||
@@ -42,15 +44,17 @@ This module downloads files using requests and saves them to a target path.
|
|||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/requests_download.py
|
||||||
|
%{python_sitelib}/requests[-_]download-%{version}*-info
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/requests_download*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user