17
0

6 Commits

Author SHA256 Message Date
22e86b5e58 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
b958013ede - 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
2c5deb33aa 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
fcf8c15744 Accepting request 1237730 from home:glaubitz:branches:devel:languages:python
- 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/request/show/1237730
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
19b946d243 Accepting request 1198062 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1198062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathvalidate?expand=0&rev=9
2024-09-02 11:14:28 +00:00
0c3f97348d - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathvalidate?expand=0&rev=17
2024-08-31 12:19:37 +00:00
4 changed files with 48 additions and 10 deletions

View File

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

View File

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

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-pathvalidate
Version: 3.2.0
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