17
0

2 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
2 changed files with 13 additions and 5 deletions

View File

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

View File

@@ -22,10 +22,12 @@ 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