15
0
forked from pool/python-path

- update to 16.9.0:

* Features - Added Path.iterdir() and deprecated
    Path.listdir().
  * Use '.' as the default path.
  * Set stacklevel=2 in deprecation warning for .text.
  * Added .permissions attribute.
  * Require Python 3.8 or later.
- Update to version 16.6.0
- Update to version 16.5.0
  * Removed path.path. Clients must now refer to the canonical
  * Added support for resolving certain directories on a system to
  * In order to support "multipath" results, where multiple paths

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-path?expand=0&rev=15
This commit is contained in:
2024-01-02 19:10:49 +00:00
committed by Git OBS Bridge
parent 4523b1aa73
commit ceb383c65c
4 changed files with 24 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -25,17 +24,17 @@
%define psuffix %{nil}
%bcond_with test
%endif
%define skip_python2 1
%define modname path
%{?sle15_python_module_pythons}
Name: python-path%{psuffix}
Version: 16.6.0
Version: 16.9.0
Release: 0
Summary: A module wrapper for os.path
License: MIT
URL: https://github.com/jaraco/path
Source: https://files.pythonhosted.org/packages/source/p/path/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
@@ -83,7 +82,7 @@ export LANG=en_US.UTF-8
%if !%{with test}
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%doc NEWS.rst README.rst
%{python_sitelib}/path
%{python_sitelib}/path-%{version}*-info
%endif