Sync from SUSE:SLFO:Main python-jaraco.path revision 32c984cc4879ed124491c79039422388

This commit is contained in:
Adrian Schröter 2024-05-03 21:11:13 +02:00
commit 32f78e95cf
4 changed files with 120 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
jaraco.path-3.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,29 @@
-------------------------------------------------------------------
Thu May 4 21:52:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.5.0:
* Introduced ``Recording`` object and ``TreeMaker`` protocol,
with ``build()`` now explicitly accepting any ``TreeMaker``.
* Fixed EncodingWarnings and ResourceWarnings.
-------------------------------------------------------------------
Fri Apr 21 12:27:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Wed Apr 19 01:00:15 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch to single spec version build for PSP
-------------------------------------------------------------------
Mon Aug 29 13:25:07 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 3.4.0
* Require Python 3.7 or later.
- Switch to PEP517 and remove obsolete jaraco.base requirement
-------------------------------------------------------------------
Sat May 1 20:13:31 UTC 2021 - Dirk Müller <dmueller@suse.com>
- Initial package (3.3.1)

65
python-jaraco.path.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package python-jaraco.path
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-jaraco.path
Version: 3.5.0
Release: 0
Summary: Miscellaneous path functions for jaraco packages
License: MIT
URL: https://github.com/jaraco/jaraco.path
Source: https://files.pythonhosted.org/packages/source/j/jaraco.path/jaraco.path-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
jaraco.path provides cross platform hidden file detection
and other miscellaneous path helper functions.
%prep
%setup -q -n jaraco.path-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# work around for gh#pytest-dev/pytest#3396 until gh#pytest-dev/pytest#10088 lands in a pytest release
touch jaraco/__init__.py
%pytest
%files %{python_files}
%license LICENSE
%dir %{python_sitelib}/jaraco/
%{python_sitelib}/jaraco/path.py
%{python_sitelib}/jaraco.path-%{version}*-info
%pycache_only %dir %{python_sitelib}/jaraco/__pycache__
%pycache_only %{python_sitelib}/jaraco/__pycache__/path*.py*
%changelog