Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 22e86b5e58 | |||
| b958013ede | |||
| 2c5deb33aa | |||
| fcf8c15744 | |||
| 19b946d243 | |||
| 0c3f97348d |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5e8378cf6712bff67fbe7a8307d99fa8c1a0cb28aa477056f8fc374f0dff24ad
|
|
||||||
size 31246
|
|
||||||
3
pathvalidate-3.2.3.tar.gz
Normal file
3
pathvalidate-3.2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:59b5b9278e30382d6d213497623043ebe63f10e29055be4419a9c04c721739cb
|
||||||
|
size 61717
|
||||||
@@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 05:50:32 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- Specify files and directories explicitly in %files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 14 11:12:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.2.3
|
||||||
|
* Fix dot-files validation
|
||||||
|
- from version 3.2.2
|
||||||
|
* Fix the detection logic of the reservation
|
||||||
|
words for the file name on Windows
|
||||||
|
* Drop support for Python 3.7/3.8
|
||||||
|
* Refactor type annotations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 31 12:18:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.2.1:
|
||||||
|
* Test Python 3.12 in CIs
|
||||||
|
* Fix coverage report
|
||||||
|
* Fix `sanitize_filename` truncation
|
||||||
|
* Fix validation functions of filepaths
|
||||||
|
* If `platform` argument is `windows` or `universal`, filepaths
|
||||||
|
ending with a space or a period should be detected as an
|
||||||
|
error
|
||||||
|
* Fix POSIX-style absolute paths were not detected as errors
|
||||||
|
with `platform="windows"` or `platform="universal"` on Python
|
||||||
|
3.12 and below
|
||||||
|
* Add support for Python 3.13
|
||||||
|
* Improve type annotations
|
||||||
|
* Add a build and publish workflow
|
||||||
|
* Add Sigstore signatures to release assets
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 9 10:06:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sat Dec 9 10:06:13 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pathvalidate
|
# spec file for package python-pathvalidate
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# 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
|
||||||
@@ -18,14 +18,16 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pathvalidate
|
Name: python-pathvalidate
|
||||||
Version: 3.2.0
|
Version: 3.2.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library to sanitize/validate a string such as filenames
|
Summary: Python library to sanitize/validate a string such as filenames
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/thombashi/pathvalidate
|
URL: https://github.com/thombashi/pathvalidate
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pathvalidate/pathvalidate-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pathvalidate/pathvalidate-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools >= 38.3.0}
|
BuildRequires: %{python_module setuptools >= 38.3.0}
|
||||||
|
BuildRequires: %{python_module setuptools_scm >= 8}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@@ -35,7 +37,6 @@ BuildRequires: %{python_module click}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tcolorpy}
|
BuildRequires: %{python_module tcolorpy}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-setuptools >= 38.3.0
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -47,10 +48,10 @@ filenames/file-paths/etc.
|
|||||||
%setup -q -n pathvalidate-%{version}
|
%setup -q -n pathvalidate-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -59,6 +60,7 @@ filenames/file-paths/etc.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/pathvalidate*
|
%{python_sitelib}/pathvalidate
|
||||||
|
%{python_sitelib}/pathvalidate-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user