1
0

4 Commits

Author SHA256 Message Date
88c794f3b4 Accepting request 1284621 from devel:languages:python
- Switch to pyproject macros.
- Specify files and directories explicitly in %files.

OBS-URL: https://build.opensuse.org/request/show/1284621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=11
2025-06-11 14:25:30 +00:00
8d553b0428 - Switch to pyproject macros.
- Specify files and directories explicitly in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=21
2025-06-11 06:14:03 +00:00
ea8a658009 Accepting request 1237820 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1237820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=10
2025-01-14 17:40:51 +00:00
af499ca70b - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=19
2025-01-14 13:36:41 +00:00
4 changed files with 29 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5d07b1e2374187040612a1fcd2bcb2919f8db180df254c9581bb90bf903377d
size 59263

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59b5b9278e30382d6d213497623043ebe63f10e29055be4419a9c04c721739cb
size 61717

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pathvalidate
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-pathvalidate
Version: 3.2.1
Version: 3.2.3
Release: 0
Summary: Python library to sanitize/validate a string such as filenames
License: MIT
Group: Development/Languages/Python
URL: https://github.com/thombashi/pathvalidate
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_scm >= 8}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
@@ -35,7 +37,6 @@ BuildRequires: %{python_module click}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tcolorpy}
# /SECTION
Requires: python-setuptools >= 38.3.0
BuildArch: noarch
%python_subpackages
@@ -47,10 +48,10 @@ filenames/file-paths/etc.
%setup -q -n pathvalidate-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,6 +60,7 @@ filenames/file-paths/etc.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/pathvalidate*
%{python_sitelib}/pathvalidate
%{python_sitelib}/pathvalidate-%{version}.dist-info
%changelog