forked from pool/python-ftputil
Accepting request 1270571 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1270571 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftputil?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:374b01e174079e91babe2a462fbd6f6c00dbfbfa299dec04239ca4229fbf8762
|
||||
size 141472
|
||||
3
ftputil-5.1.0.tar.gz
Normal file
3
ftputil-5.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9e62d3fd307ef9c52e43b33fd92759fc94c04d8b5178f85f641b183906d4353
|
||||
size 86403
|
||||
@@ -1,3 +1,19 @@
|
||||
Wed Apr 16 14:05:01 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||
|
||||
- Update to 5.1.0
|
||||
* When the path encoding is specified as UTF-8, send `OPTS UTF8 ON` if
|
||||
the server supports it
|
||||
* ftputil uses `ftplib.FTP` as default session factory, but explicitly
|
||||
sets the path encoding to latin-1 (regardless of the Python
|
||||
version). This is the same behavior as in ftputil 4.0.0 or earlier
|
||||
if running under Python 3.8 or earlier.
|
||||
* If client code uses a custom session factory (i. e. the
|
||||
`session_factory` argument of the `FTPHost` constructor), ftputil
|
||||
will take the path encoding to use for `bytes` paths from the
|
||||
`encoding` attribute of an FTP session from this factory. If there's
|
||||
no such attribute, an exception is raised.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 14:20:00 UTC 2024 - Christian Keil <keil@dfn-cert.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ftputil
|
||||
#
|
||||
# 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,15 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15allpythons}
|
||||
Name: python-ftputil
|
||||
Version: 3.4
|
||||
Version: 5.1.0
|
||||
Release: 0
|
||||
Summary: High-level FTP client library (virtual file system and more) for Python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://ftputil.sschwarzer.net/
|
||||
URL: http://ftputil.sschwarzer.net/
|
||||
Source: https://files.pythonhosted.org/packages/source/f/ftputil/ftputil-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -54,13 +53,11 @@ servers in different timezones.
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
mkdir -p %{buildroot}%{_docdir}
|
||||
%python_expand cp -r %{buildroot}%{_prefix}/doc/ftputil %{buildroot}%{_docdir}/%{$python_prefix}-ftputil
|
||||
rm -rf %{buildroot}%{_prefix}/doc/ftputil
|
||||
|
||||
%files %{python_files}
|
||||
%{_docdir}/%{python_prefix}-ftputil
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%doc README.md
|
||||
%{python_sitelib}/ftputil
|
||||
%{python_sitelib}/ftputil-%{version}*.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user