From 6d876ae3545604f2e10a3b8613ac797e207a31ac Mon Sep 17 00:00:00 2001
From: mcalabkova <>
Date: Jun 11 2025 17:03:01 +0000
Subject: Update python-requests-ftp to version 0.3.1 / rev 4 via SR 1284837
https://build.opensuse.org/request/show/1284837
by user mcalabkova + anag_factory
- Convert to pip-based build
---
diff --git a/packages/p/python-requests-ftp/.files b/packages/p/python-requests-ftp/.files
index 1c70d99..419f686 100644
Binary files a/packages/p/python-requests-ftp/.files and b/packages/p/python-requests-ftp/.files differ
diff --git a/packages/p/python-requests-ftp/.meta b/packages/p/python-requests-ftp/.meta
index bd2161e..75e89aa 100644
--- a/packages/p/python-requests-ftp/.meta
+++ b/packages/p/python-requests-ftp/.meta
@@ -1,5 +1,5 @@
-
+
diff --git a/packages/p/python-requests-ftp/.rev b/packages/p/python-requests-ftp/.rev
index 5ad4a12..fa9f272 100644
--- a/packages/p/python-requests-ftp/.rev
+++ b/packages/p/python-requests-ftp/.rev
@@ -23,4 +23,12 @@
Remove superfluous devel dependency for noarch package
659643
+
+ c05bb16e3bd632c6fe5867b903b20f56
+ 0.3.1
+
+ anag_factory
+ - Convert to pip-based build
+ 1284837
+
diff --git a/packages/p/python-requests-ftp/python-requests-ftp.changes b/packages/p/python-requests-ftp/python-requests-ftp.changes
index 627011c..12e56da 100644
--- a/packages/p/python-requests-ftp/python-requests-ftp.changes
+++ b/packages/p/python-requests-ftp/python-requests-ftp.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Jun 11 13:01:02 UTC 2025 - Markéta Machová
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
Tue Dec 4 12:53:44 UTC 2018 - Matej Cepl
- Remove superfluous devel dependency for noarch package
diff --git a/packages/p/python-requests-ftp/python-requests-ftp.spec b/packages/p/python-requests-ftp/python-requests-ftp.spec
index 25889d8..b3397a0 100644
--- a/packages/p/python-requests-ftp/python-requests-ftp.spec
+++ b/packages/p/python-requests-ftp/python-requests-ftp.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-requests-ftp
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,21 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-requests-ftp
Version: 0.3.1
Release: 0
Summary: FTP Transport Adapter for Requests
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://github.com/Lukasa/requests-ftp
+URL: https://github.com/Lukasa/requests-ftp
Source: https://files.pythonhosted.org/packages/source/r/requests-ftp/requests-ftp-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
-
%python_subpackages
%description
@@ -48,16 +47,16 @@ implement transport adapters.
%setup -q -n requests-ftp-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
-%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/requests[-_]ftp
+%{python_sitelib}/requests[-_]ftp-%{version}*-info
%changelog