14
0
forked from pool/python-Routes

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Routes?expand=0&rev=37
This commit is contained in:
2025-06-24 02:24:20 +00:00
committed by Git OBS Bridge
parent d3cc8a3fb6
commit 93e6f6159e
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 24 02:21:54 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Fri Jun 7 12:54:57 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Routes
#
# 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
@@ -28,9 +28,11 @@ Patch: remove-six.patch
# for testing
BuildRequires: %{python_module WebOb}
BuildRequires: %{python_module WebTest}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module repoze.lru}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-repoze.lru >= 0.3
@@ -46,10 +48,10 @@ A Routing package for Python that matches URL's to dicts and vice versa.
%autosetup -p1 -n Routes-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,6 +61,6 @@ A Routing package for Python that matches URL's to dicts and vice versa.
%license LICENSE.txt
%doc CHANGELOG.rst README.rst
%{python_sitelib}/routes
%{python_sitelib}/Routes-%{version}*-info
%{python_sitelib}/[Rr]outes-%{version}.dist-info
%changelog